public class UserStoreManagerImpl extends Object implements UserStoreManager
UserStoreManager to provide file based user store manager.| Constructor and Description |
|---|
UserStoreManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String userName,
char... credentials)
Authenticate given user with credentials.
|
Set<String> |
getUserRoleList(String userName)
Retrieve the list of userRegistry for given username.
|
public UserStoreManagerImpl()
throws org.wso2.carbon.config.ConfigurationException
org.wso2.carbon.config.ConfigurationExceptionpublic boolean authenticate(String userName, char... credentials) throws BrokerAuthException
authenticate in interface UserStoreManageruserName - userNamecredentials - CredentialsBrokerAuthException - Exception throws when authentication failed.public Set<String> getUserRoleList(String userName)
getUserRoleList in interface UserStoreManageruserName - user nameCopyright © 2018 WSO2. All rights reserved.