|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.solutions.identity.UserStore
public class UserStore
Interface to the user store.
This is a wrapper around the
WSO2 Usermanager
library. The UserStore will maintain a singleton instance of a
org.wso2.usermanager.Realm implementation.
| Method Summary | |
|---|---|
boolean |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate the given user credentials. |
void |
changeRalm(java.lang.String realmConfigName)
Update the realm used to the given instance |
java.util.List |
getAllUserNames()
Access the names of all users in the store. |
java.util.Map |
getClaimValues(java.lang.String username,
java.util.List propertyNames)
Return the list of claim values of the given user. |
static UserStore |
getInstance()
|
java.util.List<java.lang.String> |
getPropertyNames()
Access the name of user properties in the store. |
org.wso2.usermanager.Realm |
getRealm()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UserStore getInstance()
throws IdentityProviderException
IdentityProviderException
public void changeRalm(java.lang.String realmConfigName)
throws IdentityProviderException
realmConfigName -
IdentityProviderException
public boolean authenticate(java.lang.String username,
java.lang.String password)
username - password -
public java.util.Map getClaimValues(java.lang.String username,
java.util.List propertyNames)
throws IdentityProviderException
username - Name of the userpropertyNames - Names of the claims required.
IdentityProviderException
public java.util.List<java.lang.String> getPropertyNames()
throws IdentityProviderException
java.util.List of all user property names.
IdentityProviderException
public java.util.List getAllUserNames()
throws IdentityProviderException
java.util.List of all user names.
IdentityProviderExceptionpublic org.wso2.usermanager.Realm getRealm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||