void |
TenantManager.activateTenant(int tenantId) |
Activates a tenant
|
void |
ClaimManager.addNewClaimMapping(ClaimMapping mapping) |
Adds a new claim mapping
|
void |
ProfileConfigurationManager.addProfileConfig(ProfileConfiguration profileConfig) |
Adds a profile configuration
|
void |
UserStoreManager.addRememberMe(String userName,
String token) |
Adding a remember me token
|
void |
UserStoreManager.addRole(String roleName,
String[] userList,
Permission[] permissions) |
Adds a role to the system.
|
void |
UserStoreManager.addRole(String roleName,
String[] userList,
Permission[] permissions,
boolean isSharedRole) |
Adds a role to the system.
|
int |
TenantManager.addTenant(Tenant tenant) |
Adds a tenant to the system
|
void |
UserStoreManager.addUser(String userName,
Object credential,
String[] roleList,
Map<String,String> claims,
String profileName) |
Add a user to the user store
|
void |
UserStoreManager.addUser(String userName,
Object credential,
String[] roleList,
Map<String,String> claims,
String profileName,
boolean requirePasswordChange) |
Add a user to the user store
|
boolean |
UserStoreManager.authenticate(String userName,
Object credential) |
Given the user name and a credential object, the implementation code must
validate whether the user is authenticated.
|
void |
AuthorizationManager.authorizeRole(String roleName,
String resourceId,
String action) |
Grants authorizes to a role to perform an action on a resource.
|
void |
AuthorizationManager.authorizeUser(String userName,
String resourceId,
String action) |
Deprecated.
|
void |
AuthorizationManager.clearResourceAuthorizations(String resourceId) |
Deletes all granted authorization on a resource.
|
void |
AuthorizationManager.clearRoleActionOnAllResources(String roleName,
String action) |
Deletes the role's right to perform the action on all resources.
|
void |
AuthorizationManager.clearRoleAuthorization(String roleName) |
Used when deleting roles.
|
void |
AuthorizationManager.clearRoleAuthorization(String roleName,
String resourceId,
String action) |
Deletes an already granted authorization of a role.
|
void |
AuthorizationManager.clearUserAuthorization(String userName) |
Deprecated.
|
void |
AuthorizationManager.clearUserAuthorization(String userName,
String resourceId,
String action) |
Deprecated.
|
void |
TenantManager.deactivateTenant(int tenantId) |
De-activates a tenant
|
void |
ClaimManager.deleteClaimMapping(ClaimMapping mapping) |
Deletes a claim mapping
|
void |
ProfileConfigurationManager.deleteProfileConfig(ProfileConfiguration profileConfig) |
Deletes a profile configuration
|
void |
UserStoreManager.deleteRole(String roleName) |
Delete the role with the given role name
|
void |
TenantManager.deleteTenant(int tenantId) |
Deletes a tenant from the system
|
void |
TenantManager.deleteTenant(int tenantId,
boolean removeFromPersistentStorage) |
Deletes a tenant from the system which use to delete the cache in each worker nodes
using clustered message and delete the persistence storage in management node
|
void |
UserStoreManager.deleteUser(String userName) |
Delete the user with the given user name
|
void |
UserStoreManager.deleteUserClaimValue(String userName,
String claimURI,
String profileName) |
Delete a single user claim value
|
void |
UserStoreManager.deleteUserClaimValues(String userName,
String[] claims,
String profileName) |
Delete many user claim values.
|
void |
AuthorizationManager.denyRole(String roleName,
String resourceId,
String action) |
Deny authorizations to a role to perform an action on a resource.
|
void |
AuthorizationManager.denyUser(String userName,
String resourceId,
String action) |
Deprecated.
|
ClaimMapping[] |
ClaimManager.getAllClaimMappings() |
Gets all claim objects
|
ClaimMapping[] |
ClaimManager.getAllClaimMappings(String dialectUri) |
Gets all claims in the dialect
|
String[] |
ClaimManager.getAllClaimUris() |
Gets all claim URIs
|
String[] |
AuthorizationManager.getAllowedRolesForResource(String resourceId,
String action) |
Retrieves a list of roles allowed to perform the given action on the
resource
|
default String[] |
AuthorizationManager.getAllowedUIResourcesForRole(String roleName,
String permissionRootPath) |
Returns the complete set of resources allowed for Role.
|
String[] |
AuthorizationManager.getAllowedUIResourcesForUser(String userName,
String permissionRootPath) |
Returns the complete set of UI resources allowed for User.
|
String[] |
UserStoreManager.getAllProfileNames() |
Get all the profile names in the system
|
ProfileConfiguration[] |
ProfileConfigurationManager.getAllProfiles() |
Retrieves all profiles
|
ClaimMapping[] |
ClaimManager.getAllRequiredClaimMappings() |
Gets all mandatory claims
|
ClaimMapping[] |
ClaimManager.getAllSupportClaimMappingsByDefault() |
Gets all supported claims by default in the system.
|
Tenant[] |
TenantManager.getAllTenants() |
Gets all tenants in the system.
|
Tenant[] |
TenantManager.getAllTenantsForTenantDomainStr(String domain) |
Gets tenants in the system which matches the given domain String(which can be used for partial searches).
|
String |
ClaimManager.getAttributeName(String claimURI) |
Retrieves the attribute name of the claim URI.
|
String |
ClaimManager.getAttributeName(String domainName,
String claimURI) |
|
AuthorizationManager |
UserRealm.getAuthorizationManager() |
Get the AuthorizationReader of the system
|
UserRealm |
UserRealmService.getBootstrapRealm() |
Get the bootstrap realm
|
Claim |
ClaimManager.getClaim(String claimURI) |
The Claim object of the claim URI
|
ClaimManager |
UserRealm.getClaimManager() |
Get the ClaimManager of the system
|
ClaimManager |
UserStoreManager.getClaimManager() |
Provides the handler to ClaimManager implementation.
|
ClaimMapping |
ClaimManager.getClaimMapping(String claimURI) |
Gets the claim mapping.
|
String[] |
AuthorizationManager.getDeniedRolesForResource(String resourceId,
String action) |
Retrieves a list of roles that are not allowed to perform the given
action on the resource
|
String |
TenantManager.getDomain(int tenantId) |
Retrieves the domain given a tenant Id
|
String[] |
AuthorizationManager.getExplicitlyAllowedUsersForResource(String resourceId,
String action) |
Deprecated.
|
String[] |
AuthorizationManager.getExplicitlyDeniedUsersForResource(String resourceId,
String action) |
Deprecated.
|
String[] |
UserStoreManager.getHybridRoles() |
Gets a list of hybrid roles
Hybrid role contains a set of user names in a read only user store.
|
Date |
UserStoreManager.getPasswordExpirationTime(String username) |
Gets the password expiration time of a given user
|
ProfileConfiguration |
ProfileConfigurationManager.getProfileConfig(String profileName) |
Gets the profile configuration given the profile name.
|
ProfileConfigurationManager |
UserRealm.getProfileConfigurationManager() |
Get the ProfileConfigurationManager of the system
|
String[] |
UserStoreManager.getProfileNames(String userName) |
Get all profile names
|
Map<String,String> |
UserStoreManager.getProperties(Tenant tenant) |
Gets the properties of the Tenant.
|
RealmConfiguration |
UserRealm.getRealmConfiguration() |
Get the realm configuration
|
String[] |
UserStoreManager.getRoleListOfUser(String userName) |
Get roles of a user.
|
String[] |
UserStoreManager.getRoleNames() |
Get all role names
|
String |
TenantManager.getSuperTenantDomain() |
Checks whether the super tenant.
|
Tenant |
TenantManager.getTenant(int tenantId) |
Gets a Tenant object
|
int |
AuthorizationManager.getTenantId() |
This will get the tenant id associated with the user authorization
manager
|
int |
TenantManager.getTenantId(String domain) |
Retrieves the tenant Id given the domain
|
int |
UserStoreManager.getTenantId() |
This will get the tenant id associated with the user store manager
|
int |
UserStoreManager.getTenantId(String username) |
This method works only if the tenant is super tenant.
|
UserRealm |
UserRealmService.getTenantUserRealm(int tenantId) |
Only returns if available in cache.
|
String |
UserStoreManager.getUserClaimValue(String userName,
String claim,
String profileName) |
Get user claim value in the profile.
|
Claim[] |
UserStoreManager.getUserClaimValues(String userName,
String profileName) |
Get all claim values of the user in the profile.
|
Map<String,String> |
UserStoreManager.getUserClaimValues(String userName,
String[] claims,
String profileName) |
Get user claim values in the profile.
|
int |
UserStoreManager.getUserId(String username) |
Deprecated.
|
String[] |
UserStoreManager.getUserListOfRole(String roleName) |
|
UserStoreManager |
UserRealm.getUserStoreManager() |
Get the UserStoreManager of the system
|
boolean |
UserStoreManager.isExistingRole(String roleName) |
Checks whether the role name is in the user store
|
boolean |
UserStoreManager.isExistingRole(String roleName,
boolean isShared) |
Checks whether the role name is in the user store
|
boolean |
UserStoreManager.isExistingUser(String userName) |
Checks whether the user is in the user store
|
boolean |
UserStoreManager.isReadOnly() |
Checks whether this realm connects to a read only user store
|
boolean |
AuthorizationManager.isRoleAuthorized(String roleName,
String resourceId,
String action) |
Checks for role authorization.
|
boolean |
UserStoreManager.isSCIMEnabled() |
To signal whether underlying user store supports SCIM attributes.
|
boolean |
TenantManager.isTenantActive(int tenantId) |
Checks whether a tenant is active
|
boolean |
AuthorizationManager.isUserAuthorized(String userName,
String resourceId,
String action) |
Checks for user authorization.
|
boolean |
UserStoreManager.isValidRememberMeToken(String userName,
String token) |
Checking the validity of the remember me token
|
String[] |
UserStoreManager.listUsers(String filter,
int maxItemLimit) |
Retrieves a list of user names upto a maximum limit
|
void |
AuthorizationManager.refreshAllowedRolesForResource(String resourceId) |
This method used to refresh the existing resource permissions which cached in the memory
|
void |
AuthorizationManager.resetPermissionOnUpdateRole(String roleName,
String newRoleName) |
This will reset the permission of the renamed role
|
void |
UserRealmService.setTenantManager(TenantManager tenantManager) |
|
void |
UserStoreManager.setUserClaimValue(String userName,
String claimURI,
String claimValue,
String profileName) |
Set a single user claim value
|
void |
UserStoreManager.setUserClaimValues(String userName,
Map<String,String> claims,
String profileName) |
Set many user claim values
|
void |
ClaimManager.updateClaimMapping(ClaimMapping mapping) |
Updates a claim mapping
|
void |
UserStoreManager.updateCredential(String userName,
Object newCredential,
Object oldCredential) |
Update the credential/password of the user
|
void |
UserStoreManager.updateCredentialByAdmin(String userName,
Object newCredential) |
Update credential/password by the admin of another user
|
void |
ProfileConfigurationManager.updateProfileConfig(ProfileConfiguration profileConfig) |
Updates a profile configuration
|
void |
UserStoreManager.updateRoleListOfUser(String userName,
String[] deletedRoles,
String[] newRoles) |
Updates roles of a user
|
void |
UserStoreManager.updateRoleName(String roleName,
String newRoleName) |
Update the role name of given role
|
void |
TenantManager.updateTenant(Tenant tenant) |
Updates a tenant in the system
|
void |
UserStoreManager.updateUserListOfRole(String roleName,
String[] deletedUsers,
String[] newUsers) |
Updates users in a Role
|