
public final class SimpleServerAuthenticationProvider extends java.lang.Object implements ServerAuthenticationProvider
| Constructor and Description |
|---|
SimpleServerAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(java.lang.String userName,
java.lang.String userRealm,
char[] password,
java.security.KeyPair... keyPairs)
Add a user to the authentication table.
|
AuthorizingCallbackHandler |
getCallbackHandler(java.lang.String mechanismName)
Get a callback handler for the given mechanism name.
|
public AuthorizingCallbackHandler getCallbackHandler(java.lang.String mechanismName)
getCallbackHandler in interface ServerAuthenticationProvidermechanismName - null if the mechanism is not supportedpublic void addUser(java.lang.String userName,
java.lang.String userRealm,
char[] password,
java.security.KeyPair... keyPairs)
userName - the user nameuserRealm - the user realmpassword - the passwordkeyPairs - the key pairs for this identityCopyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.