public class AuthManager extends Object
| Constructor and Description |
|---|
AuthManager(org.wso2.broker.common.StartupContext startupContext) |
| Modifier and Type | Method and Description |
|---|---|
SaslServer |
createSaslServer(String hostName,
String mechanism)
Create sasl server for given mechanism
|
Authenticator |
getAuthenticator()
Provides authenticator which will be used to authenticate users.
|
boolean |
isAuthenticationEnabled()
Provides broker authentication enabled.
|
void |
start() |
void |
stop() |
public void start()
public void stop()
public SaslServer createSaslServer(String hostName, String mechanism) throws SaslException
hostName - Hostname of the servermechanism - Sasl mechanismSaslException - Throws if server does not support for given mechanismpublic boolean isAuthenticationEnabled()
public Authenticator getAuthenticator()
Copyright © 2018 WSO2. All rights reserved.