public interface Authenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldAllow(StatelessClientContext context,
String user,
char[] password)
Checks whether the given credentials can be used to initiate a
new session on behalf of the client with the given context.
|
boolean shouldAllow(StatelessClientContext context, String user, char[] password) throws I18NException
context - The context.user - The user name.password - The password.I18NException - Thrown if the authenticator encounters an
error while checking the credentials.Copyright © 2015. All Rights Reserved.