@Deprecated public class RegistryUserStoreManager extends Object implements org.wso2.carbon.user.core.UserStoreManager
| Constructor and Description |
|---|
RegistryUserStoreManager(org.wso2.carbon.user.core.UserRealm coreRealm)
Deprecated.
Constructs the Registry User Store Admin
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRememberMe(String userName,
String token)
Deprecated.
|
void |
addRole(String roleName,
String[] userList,
org.wso2.carbon.user.api.Permission[] permissions)
Deprecated.
|
void |
addRole(String roleName,
String[] userList,
org.wso2.carbon.user.api.Permission[] permissions,
boolean isSharedRole)
Deprecated.
|
void |
addSecondaryUserStoreManager(String s,
org.wso2.carbon.user.core.UserStoreManager userStoreManager)
Deprecated.
|
void |
addUser(String userName,
Object credential,
String[] roleList,
Map<String,String> claims,
String profileName)
Deprecated.
Method to add user.
|
void |
addUser(String userName,
Object credential,
String[] roleList,
Map<String,String> claims,
String profileName,
boolean requirePasswordChange)
Deprecated.
Method to add user.
|
boolean |
authenticate(String userName,
Object credential)
Deprecated.
Authenticate the user
|
void |
deleteRole(String roleName)
Deprecated.
Delete role.
|
void |
deleteUser(String userName)
Deprecated.
Delete user.
|
void |
deleteUserClaimValue(String userName,
String claimURI,
String profileName)
Deprecated.
Delete the user claim value.
|
void |
deleteUserClaimValues(String userName,
String[] claims,
String profileName)
Deprecated.
Delete the user claim values
|
String[] |
getAllProfileNames()
Deprecated.
Get all profile names.
|
String[] |
getAllSecondaryRoles()
Deprecated.
|
org.wso2.carbon.user.api.ClaimManager |
getClaimManager()
Deprecated.
|
org.wso2.carbon.user.api.Properties |
getDefaultUserStoreProperties()
Deprecated.
|
String[] |
getHybridRoles()
Deprecated.
Method to return the the hybrid roles.
|
Date |
getPasswordExpirationTime(String userName)
Deprecated.
Method to get the password expiration time.
|
String[] |
getProfileNames(String userName)
Deprecated.
Get profile names.
|
Map<String,String> |
getProperties(org.wso2.carbon.user.api.Tenant tenant)
Deprecated.
|
Map<String,String> |
getProperties(org.wso2.carbon.user.core.tenant.Tenant tenant)
Deprecated.
|
org.wso2.carbon.user.api.RealmConfiguration |
getRealmConfiguration()
Deprecated.
|
String[] |
getRoleListOfUser(String userName)
Deprecated.
Method to get the role list of user.
|
String[] |
getRoleNames()
Deprecated.
Get the role names.
|
String[] |
getRoleNames(boolean b)
Deprecated.
|
org.wso2.carbon.user.core.UserStoreManager |
getSecondaryUserStoreManager()
Deprecated.
|
org.wso2.carbon.user.core.UserStoreManager |
getSecondaryUserStoreManager(String s)
Deprecated.
|
int |
getTenantId()
Deprecated.
Method to get the tenant id of the current user store manager instance.
|
int |
getTenantId(String userName)
Deprecated.
Method to get the tenant id from a given user name.
|
String |
getUserClaimValue(String userName,
String claim,
String profileName)
Deprecated.
Get the claim value of a user.
|
org.wso2.carbon.user.core.claim.Claim[] |
getUserClaimValues(String userName,
String profileName)
Deprecated.
Method to get the user claim values.
|
Map<String,String> |
getUserClaimValues(String userName,
String[] claims,
String profileName)
Deprecated.
Method to get the user claim values.
|
int |
getUserId(String userName)
Deprecated.
Method to get the user id.
|
String[] |
getUserList(String claim,
String claimValue,
String profileName)
Deprecated.
|
String[] |
getUserListOfRole(String roleName)
Deprecated.
Method to return the user list of a role.
|
boolean |
isBulkImportSupported()
Deprecated.
|
boolean |
isExistingRole(String roleName)
Deprecated.
Method to check whether the role exist or not.
|
boolean |
isExistingRole(String roleName,
boolean isShared)
Deprecated.
|
boolean |
isExistingUser(String userName)
Deprecated.
Method to check whether the user exist or not.
|
boolean |
isMultipleProfilesAllowed()
Deprecated.
This method is to check whether multiple profiles are allowed with a particular user-store.
|
boolean |
isReadOnly()
Deprecated.
Method to check whether the registry is readonly or not.
|
boolean |
isSCIMEnabled()
Deprecated.
|
boolean |
isValidRememberMeToken(String userName,
String token)
Deprecated.
|
String[] |
listUsers(String filter,
int maxItemLimit)
Deprecated.
Method to list the
|
void |
setSecondaryUserStoreManager(org.wso2.carbon.user.core.UserStoreManager userStoreManager)
Deprecated.
|
void |
setUserClaimValue(String userName,
String claimURI,
String claimValue,
String profileName)
Deprecated.
Set a claim value
|
void |
setUserClaimValues(String userName,
Map<String,String> claims,
String profileName)
Deprecated.
Set the user claim values.
|
void |
updateCredential(String userName,
Object newCredential,
Object oldCredential)
Deprecated.
Update the credential.
|
void |
updateCredentialByAdmin(String userName,
Object newCredential)
Deprecated.
Update the credential by an admin
|
void |
updateRoleListOfUser(String userName,
String[] deletedRoles,
String[] newRoles)
Deprecated.
Update the role list of a user.
|
void |
updateRoleName(String roleName,
String newRoleName)
Deprecated.
Update Role Name.
|
void |
updateUserListOfRole(String roleName,
String[] deletedUsers,
String[] newUsers)
Deprecated.
Update the user list of a role
|
public RegistryUserStoreManager(org.wso2.carbon.user.core.UserRealm coreRealm)
coreRealm - the realm which got wrapped by the registry realm.public boolean authenticate(String userName, Object credential) throws org.wso2.carbon.user.core.UserStoreException
authenticate in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.credential - the credential to authenticate.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void addUser(String userName, Object credential, String[] roleList, Map<String,String> claims, String profileName) throws org.wso2.carbon.user.core.UserStoreException
addUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.credential - the credential to authenticate.roleList - the role list.claims - the claims list corresponding to the roles list.profileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void addUser(String userName, Object credential, String[] roleList, Map<String,String> claims, String profileName, boolean requirePasswordChange) throws org.wso2.carbon.user.core.UserStoreException
addUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.credential - the credential of the user.roleList - the roles list the users belong toclaims - associated with of the userprofileName - the name of the profilerequirePasswordChange - whether the password change required.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void deleteRole(String roleName) throws org.wso2.carbon.user.core.UserStoreException
deleteRole in interface org.wso2.carbon.user.api.UserStoreManagerroleName - the role name to deleted.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void updateRoleName(String roleName, String newRoleName) throws org.wso2.carbon.user.core.UserStoreException
updateRoleName in interface org.wso2.carbon.user.api.UserStoreManagerroleName - the role name to updatenewRoleName - the new role nameorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public boolean isMultipleProfilesAllowed()
isMultipleProfilesAllowed in interface org.wso2.carbon.user.api.UserStoreManagerpublic void deleteUser(String userName) throws org.wso2.carbon.user.core.UserStoreException
deleteUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user nameorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void addRole(String roleName, String[] userList, org.wso2.carbon.user.api.Permission[] permissions) throws org.wso2.carbon.user.api.UserStoreException
addRole in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic void deleteUserClaimValue(String userName, String claimURI, String profileName) throws org.wso2.carbon.user.core.UserStoreException
deleteUserClaimValue in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.claimURI - the claim uri string.profileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void deleteUserClaimValues(String userName, String[] claims, String profileName) throws org.wso2.carbon.user.core.UserStoreException
deleteUserClaimValues in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user nameclaims - the claims to delete.profileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void setUserClaimValue(String userName, String claimURI, String claimValue, String profileName) throws org.wso2.carbon.user.core.UserStoreException
setUserClaimValue in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.claimURI - the claim uri.claimValue - the claim value.profileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void setUserClaimValues(String userName, Map<String,String> claims, String profileName) throws org.wso2.carbon.user.core.UserStoreException
setUserClaimValues in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.claims - the claimsprofileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void updateCredential(String userName, Object newCredential, Object oldCredential) throws org.wso2.carbon.user.core.UserStoreException
updateCredential in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.newCredential - the new credential.oldCredential - the old credential.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void updateCredentialByAdmin(String userName, Object newCredential) throws org.wso2.carbon.user.core.UserStoreException
updateCredentialByAdmin in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user namenewCredential - the credentialorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public void updateRoleListOfUser(String userName, String[] deletedRoles, String[] newRoles) throws org.wso2.carbon.user.core.UserStoreException
updateRoleListOfUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.deletedRoles - the deleted roles.newRoles - the new role listorg.wso2.carbon.user.core.UserStoreException - if the operation failed.public void updateUserListOfRole(String roleName, String[] deletedUsers, String[] newUsers) throws org.wso2.carbon.user.core.UserStoreException
updateUserListOfRole in interface org.wso2.carbon.user.api.UserStoreManagerroleName - the role name.deletedUsers - the deleted users.newUsers - the new users.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getHybridRoles() throws org.wso2.carbon.user.core.UserStoreException
getHybridRoles in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getAllSecondaryRoles() throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreExceptionpublic String[] getUserListOfRole(String roleName) throws org.wso2.carbon.user.core.UserStoreException
getUserListOfRole in interface org.wso2.carbon.user.api.UserStoreManagerroleName - the role name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getAllProfileNames() throws org.wso2.carbon.user.core.UserStoreException
getAllProfileNames in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getRoleNames() throws org.wso2.carbon.user.core.UserStoreException
getRoleNames in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getRoleNames(boolean b) throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreExceptionpublic String[] getProfileNames(String userName) throws org.wso2.carbon.user.core.UserStoreException
getProfileNames in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String getUserClaimValue(String userName, String claim, String profileName) throws org.wso2.carbon.user.core.UserStoreException
getUserClaimValue in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.claim - the claimprofileName - the profile nameorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public Map<String,String> getUserClaimValues(String userName, String[] claims, String profileName) throws org.wso2.carbon.user.core.UserStoreException
getUserClaimValues in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.claims - the claimsprofileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] getRoleListOfUser(String userName) throws org.wso2.carbon.user.core.UserStoreException
getRoleListOfUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - user name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public boolean isExistingRole(String roleName) throws org.wso2.carbon.user.core.UserStoreException
isExistingRole in interface org.wso2.carbon.user.api.UserStoreManagerroleName - the role name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public boolean isExistingUser(String userName) throws org.wso2.carbon.user.core.UserStoreException
isExistingUser in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public String[] listUsers(String filter, int maxItemLimit) throws org.wso2.carbon.user.core.UserStoreException
listUsers in interface org.wso2.carbon.user.api.UserStoreManagerfilter - the filter to list the users.maxItemLimit - maximum item limitorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public int getUserId(String userName) throws org.wso2.carbon.user.core.UserStoreException
getUserId in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public int getTenantId()
throws org.wso2.carbon.user.core.UserStoreException
getTenantId in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public Map<String,String> getProperties(org.wso2.carbon.user.api.Tenant tenant) throws org.wso2.carbon.user.api.UserStoreException
getProperties in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic int getTenantId(String userName) throws org.wso2.carbon.user.core.UserStoreException
getTenantId in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.org.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public boolean isReadOnly()
throws org.wso2.carbon.user.core.UserStoreException
isReadOnly in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.core.UserStoreException - throws if the operation failed.public org.wso2.carbon.user.core.claim.Claim[] getUserClaimValues(String userName, String profileName) throws org.wso2.carbon.user.core.UserStoreException
getUserClaimValues in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.profileName - the profile name.org.wso2.carbon.user.core.UserStoreException - throw if the operation failed.public Date getPasswordExpirationTime(String userName) throws org.wso2.carbon.user.core.UserStoreException
getPasswordExpirationTime in interface org.wso2.carbon.user.api.UserStoreManageruserName - the user name.org.wso2.carbon.user.core.UserStoreException - throw if the operation failed.public Map<String,String> getProperties(org.wso2.carbon.user.core.tenant.Tenant tenant) throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreExceptionpublic void addRememberMe(String userName, String token) throws org.wso2.carbon.user.api.UserStoreException
addRememberMe in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic boolean isValidRememberMeToken(String userName, String token) throws org.wso2.carbon.user.api.UserStoreException
isValidRememberMeToken in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic org.wso2.carbon.user.api.ClaimManager getClaimManager()
throws org.wso2.carbon.user.api.UserStoreException
getClaimManager in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic boolean isSCIMEnabled()
throws org.wso2.carbon.user.api.UserStoreException
isSCIMEnabled in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic boolean isBulkImportSupported()
throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreExceptionpublic String[] getUserList(String claim, String claimValue, String profileName) throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreExceptionpublic org.wso2.carbon.user.core.UserStoreManager getSecondaryUserStoreManager()
public org.wso2.carbon.user.core.UserStoreManager getSecondaryUserStoreManager(String s)
public void addSecondaryUserStoreManager(String s, org.wso2.carbon.user.core.UserStoreManager userStoreManager)
public void setSecondaryUserStoreManager(org.wso2.carbon.user.core.UserStoreManager userStoreManager)
public org.wso2.carbon.user.api.RealmConfiguration getRealmConfiguration()
public org.wso2.carbon.user.api.Properties getDefaultUserStoreProperties()
getDefaultUserStoreProperties in interface org.wso2.carbon.user.api.UserStoreManagerpublic void addRole(String roleName, String[] userList, org.wso2.carbon.user.api.Permission[] permissions, boolean isSharedRole) throws org.wso2.carbon.user.api.UserStoreException
addRole in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionpublic boolean isExistingRole(String roleName, boolean isShared) throws org.wso2.carbon.user.api.UserStoreException
isExistingRole in interface org.wso2.carbon.user.api.UserStoreManagerorg.wso2.carbon.user.api.UserStoreExceptionCopyright © 2016 WSO2 Inc. All Rights Reserved.