public interface PasswordAuthenticator
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password,
ServerSession session)
Check the validity of a password.
|
boolean authenticate(String username, String password, ServerSession session) throws PasswordChangeRequiredException
username
- The username credentialpassword
- The provided passwordsession
- The ServerSession
attempting the authenticationtrue
indicating if authentication succeededPasswordChangeRequiredException
- If the password is expired or
not strong enough to suit the server's policyCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.