public class CarbonAuthenticationHandler extends Object implements AuthenticationHandler
| Constructor and Description |
|---|
CarbonAuthenticationHandler(org.wso2.carbon.identity.authentication.AuthenticationService authenticationService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String userName,
String password) |
void |
destroyContext(AgentSession agentSession) |
String |
getTenantDomain(String userName) |
int |
getTenantId(String tenantDomain) |
void |
initContext(AgentSession agentSession) |
public CarbonAuthenticationHandler(org.wso2.carbon.identity.authentication.AuthenticationService authenticationService)
public boolean authenticate(String userName, String password)
authenticate in interface AuthenticationHandlerpublic String getTenantDomain(String userName)
getTenantDomain in interface AuthenticationHandlerpublic int getTenantId(String tenantDomain) throws org.wso2.carbon.user.api.UserStoreException
getTenantId in interface AuthenticationHandlerorg.wso2.carbon.user.api.UserStoreExceptionpublic void initContext(AgentSession agentSession)
initContext in interface AuthenticationHandlerpublic void destroyContext(AgentSession agentSession)
destroyContext in interface AuthenticationHandlerCopyright © 2015 WSO2. All rights reserved.