public class FixedAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
FixedAuthenticator() |
| 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.
|
public boolean shouldAllow(StatelessClientContext context, String user, char[] password)
AuthenticatorshouldAllow in interface Authenticatorcontext - The context.user - The user name.password - The password.Copyright © 2015. All Rights Reserved.