public final class SimpleServerAuthenticationProvider extends Object implements ServerAuthenticationProvider
Constructor and Description |
---|
SimpleServerAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addUser(String userName,
String userRealm,
char[] password,
String... groups)
Add a user to the authentication table.
|
AuthorizingCallbackHandler |
getCallbackHandler(String mechanismName,
Map<String,String> mechanismProperties)
Get a callback handler for the given mechanism name.
|
public AuthorizingCallbackHandler getCallbackHandler(String mechanismName, Map<String,String> mechanismProperties)
getCallbackHandler
in interface ServerAuthenticationProvider
mechanismName
- mechanismProperties
- the mechanism properties that might need to be adjusted to support the specific mechanism / callbackhandler combinationnull
if the mechanism is not supportedCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.