public class DefaultAuthenticator extends Object implements Authenticator
Authenticator.| Constructor and Description |
|---|
DefaultAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
char[] credentials)
Authenticate given user based on defined authentication strategy.
|
void |
initialize(org.wso2.broker.common.StartupContext startupContext)
Initiate authenticator with startup context.
|
public void initialize(org.wso2.broker.common.StartupContext startupContext)
throws Exception
Authenticatorinitialize in interface AuthenticatorstartupContext - the startup context provides registered services for authenticator functionality.Exceptionpublic boolean authenticate(String username, char[] credentials)
Authenticatorauthenticate in interface Authenticatorusername - an usernamecredentials - the credentials of the userCopyright © 2018 WSO2. All rights reserved.