|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.realm.RegistryUserStoreManager
@Deprecated public class RegistryUserStoreManager
Registry wrapper of the user store admin. This will provide registry level validation for some of the functions in user store management.
Constructor Summary | |
---|---|
RegistryUserStoreManager(org.wso2.carbon.user.core.UserRealm coreRealm)
Deprecated. Constructs the Registry User Store Admin |
Method Summary | |
---|---|
void |
addRememberMe(String userName,
String token)
Deprecated. |
void |
addRole(String roleName,
String[] userList,
org.wso2.carbon.user.core.Permission[] permissions)
Deprecated. Method to add role. |
void |
addRole(String roleName,
String[] userList,
org.wso2.carbon.user.api.Permission[] permissions)
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. |
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.dto.RoleDTO[] |
getRoleNamesWithDomain()
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 |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryUserStoreManager(org.wso2.carbon.user.core.UserRealm coreRealm)
coreRealm
- the realm which got wrapped by the registry realm.Method Detail |
---|
public boolean authenticate(String userName, Object credential) throws org.wso2.carbon.user.core.UserStoreException
authenticate
in interface org.wso2.carbon.user.api.UserStoreManager
userName
- the user name.credential
- the credential to authenticate.
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public void addRole(String roleName, String[] userList, org.wso2.carbon.user.core.Permission[] permissions) throws org.wso2.carbon.user.core.UserStoreException
roleName
- the role name.userList
- the users list to add to the role.permissions
- the permission list corresponding to the users list
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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
roleName
- 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.UserStoreManager
roleName
- the role name to updatenewRoleName
- the new role name
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public boolean isMultipleProfilesAllowed()
isMultipleProfilesAllowed
in interface org.wso2.carbon.user.api.UserStoreManager
public void deleteUser(String userName) throws org.wso2.carbon.user.core.UserStoreException
deleteUser
in interface org.wso2.carbon.user.api.UserStoreManager
userName
- the user name
org.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.UserStoreManager
org.wso2.carbon.user.api.UserStoreException
public void deleteUserClaimValue(String userName, String claimURI, String profileName) throws org.wso2.carbon.user.core.UserStoreException
deleteUserClaimValue
in interface org.wso2.carbon.user.api.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
userName
- the user namenewCredential
- the credential
org.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.UserStoreManager
userName
- the user name.deletedRoles
- the deleted roles.newRoles
- the new role list
org.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.UserStoreManager
roleName
- 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.UserStoreManager
org.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.UserStoreException
public String[] getUserListOfRole(String roleName) throws org.wso2.carbon.user.core.UserStoreException
getUserListOfRole
in interface org.wso2.carbon.user.api.UserStoreManager
roleName
- 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.UserStoreManager
org.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.UserStoreManager
org.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.UserStoreException
public String[] getProfileNames(String userName) throws org.wso2.carbon.user.core.UserStoreException
getProfileNames
in interface org.wso2.carbon.user.api.UserStoreManager
userName
- 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.UserStoreManager
userName
- the user name.claim
- the claimprofileName
- the profile name
org.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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreManager
roleName
- 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.UserStoreManager
userName
- 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.UserStoreManager
filter
- the filter to list the users.maxItemLimit
- maximum item limit
org.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.UserStoreManager
userName
- 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.UserStoreManager
org.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.UserStoreManager
org.wso2.carbon.user.api.UserStoreException
public int getTenantId(String userName) throws org.wso2.carbon.user.core.UserStoreException
getTenantId
in interface org.wso2.carbon.user.api.UserStoreManager
userName
- 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.UserStoreManager
org.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.UserStoreManager
userName
- 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.UserStoreManager
userName
- 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.UserStoreException
public void addRememberMe(String userName, String token) throws org.wso2.carbon.user.api.UserStoreException
addRememberMe
in interface org.wso2.carbon.user.api.UserStoreManager
org.wso2.carbon.user.api.UserStoreException
public boolean isValidRememberMeToken(String userName, String token) throws org.wso2.carbon.user.api.UserStoreException
isValidRememberMeToken
in interface org.wso2.carbon.user.api.UserStoreManager
org.wso2.carbon.user.api.UserStoreException
public boolean isBulkImportSupported() throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
public String[] getUserList(String claim, String claimValue, String profileName) throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
public 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.core.dto.RoleDTO[] getRoleNamesWithDomain() throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
public org.wso2.carbon.user.api.RealmConfiguration getRealmConfiguration()
public boolean isSCIMEnabled() throws org.wso2.carbon.user.core.UserStoreException
isSCIMEnabled
in interface org.wso2.carbon.user.api.UserStoreManager
org.wso2.carbon.user.core.UserStoreException
public org.wso2.carbon.user.api.ClaimManager getClaimManager() throws org.wso2.carbon.user.core.UserStoreException
getClaimManager
in interface org.wso2.carbon.user.api.UserStoreManager
org.wso2.carbon.user.core.UserStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |