1
내 노드 응용 프로그램 중 하나에서 npmjs의 activedirectory module을 사용하여 Active Directory에 대한 인증을 받았습니다. 내 질문 - AD로 인증하는 동안 일반 문자열 암호를 보내야합니까? 내 생각에 광고가 사용자 암호를 저장하면 다른 암호로 암호화해야합니다. 인증을 위해 암호화 된 암호를 보낼 수 있습니까?NPM - ActiveDirectory 모듈 인증
ad.authenticate(username, password, function(err, auth) {
// instead of plain password can it be encrypted password?
if (err) {
console.log('ERROR: '+JSON.stringify(err));
return;
}
if (auth) {
console.log('Authenticated!');
}
else {
console.log('Authentication failed!');
}
})