public class SimpleAuthenticationProviderImpl extends Object implements AuthenticationProvider
AuthenticationProvider.Factory| Constructor and Description |
|---|
SimpleAuthenticationProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(String user,
String password)
The authenticate method is called by the PlainServerCallbackHandler in the PlainSaslServer
layer to authenticate users for their requests.
|
public void authenticate(String user, String password) throws AuthenticationException
AuthenticationProviderAuthenticationException.authenticate in interface AuthenticationProvideruser - The username received over the connection requestpassword - The password received over the connection requestAuthenticationException - When a user is found to be invalid by the implementationCopyright © 2015. All Rights Reserved.