public class JpsIdentityManagementProvider extends java.lang.Object implements IdentityManagement
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
WILD_CARD  | 
| Constructor and Description | 
|---|
JpsIdentityManagementProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.security.Principal | 
addRole(Role roleDef)
Internal: Applications should not use this method.
 This method should add the specified Role to the identity
 management system and return a Principal that can subsequently
 be used to reference the Role. 
 | 
void | 
addToRole(java.security.Principal roleRef,
         java.security.Principal member)
Internal: Applications should not use this method.
 This method adds the specified member Principal to the Role referenced
 by the specified role Principal. 
 | 
java.security.Principal | 
addUser(User user,
       Credential credential)
Internal: Applications should not use this method.
 This method instructs the provider to create a user in the implemented
 identity management system with the attributes specified in the user
 object. 
 | 
Role | 
createRole()
Internal: Applications should not use this method.
 This method should return a Role object or subclass that 
 the caller can use to build up a Role definition to submit
 to the UserManager for adding to the identity management
 system. 
 | 
User | 
createUser()
Internal: Applications should not use this method.
 This method should return a User object or subclass of it that is able to
 represent a user as expected by the identity management system 
 implemented by this provider. 
 | 
void | 
deleteFromRole(java.security.Principal roleRef,
              java.security.Principal member)
Internal: Applications should not use this method.
 This method deletes the member specified by the corresponding Principal, 
 from the Role represented by the roleRef Principal, from the identity
 management system. 
 | 
void | 
deleteRole(java.security.Principal roleRef)
Internal: Applications should not use this method.
 This method deletes the role referenced by the specified Principal
 in the identity management system. 
 | 
void | 
deleteUser(java.security.Principal principal)
Internal: Applications should not use this method.
 This method deletes the specified user entry referenced by the 
 user principal. 
 | 
java.security.Principal | 
getAnonymousRole()
Internal: Applications should not use this method.
 This method returns a Principal corresponding to the specified Role name. 
 | 
java.lang.String | 
getAnonymousRoleName()
Internal: Applications should not use this method.
 This method returns a Principal corresponding to the specified Role name. 
 | 
java.security.Principal | 
getAnonymousUser()
Internal: Applications should not use this method.
 This method returns a Principal corresponding to the specified Role name. 
 | 
java.lang.String | 
getAnonymousUserName()
Internal: Applications should not use this method.
 This method returns a Principal corresponding to the specified Role name. 
 | 
Role | 
getRole(java.security.Principal roleRef)
Internal: Applications should not use this method.
 This method returns a Role object corresponding to the Principal 
 specified as an argument. 
 | 
java.util.ArrayList | 
getRoleList(int sizeLimit,
           AttributeFilter[] filters)
Internal: Applications should not use this method.
 This method provides a list of roles from the
 underlying repository, based on the specified attribute filters. 
 | 
java.security.Principal | 
getRolePrincipal(java.lang.String roleName)
Internal: Applications should not use this method.
 This method returns a Principal corresponding to the specified Role name. 
 | 
User | 
getUser(java.security.Principal principal)
Internal: Applications should not use this method.
 This method obtains a User object from the provider for the 
 user corresponding to the specified principal. 
 | 
java.util.ArrayList | 
getUserList(int sizeLimit,
           AttributeFilter[] filters)
Internal: Applications should not use this method.
 This method provides a list of users from the
 underlying repository, based on the specified attribute filters. 
 | 
java.util.ArrayList | 
getUserList(int sizeLimit,
           AttributeFilter[] filters,
           java.security.Principal roleRef)
Internal: Applications should not use this method.
 This method provides a user list of users in a specified role. 
 | 
java.security.Principal | 
getUserPrincipal(java.lang.String username)
Internal: Applications should not use this method.
 This method get the user principal for the given username. 
 | 
java.util.ArrayList | 
getUserProfileList(int sizeLimit,
                  AttributeFilter[] filters)  | 
java.lang.Object | 
getUserProfilePropertyVal(java.lang.String name,
                         java.lang.String propName)
Internal: Applications should not use this method.
 This method retrieve the property value of the UserProfile of the specified property name. 
 | 
void | 
initialize()  | 
boolean | 
isAddRoleSupported()
Internal: Applications should not use this method.
 This method indicates whether or not the addRole method is supported
 by the underlying provider. 
 | 
boolean | 
isAddUserSupported()
Internal: Applications should not use this method.
 This method provides a hint to the calling application as to whether or not
 the provider supports the addUser method. 
 | 
boolean | 
isDeleteRoleSupported()
Internal: Applications should not use this method.
 This method indicates whether or not the deleteRole method is supported
 by the underlying provider. 
 | 
boolean | 
isDeleteUserSupported()
Internal: Applications should not use this method.
 This method provides a hint to the calling application as to whether or
 not the provider supports the deleteUser method. 
 | 
boolean | 
isModifyRoleSupported()
Internal: Applications should not use this method.
 This method indicates whether or not the modifyRole method is supported
 by the underlying provider. 
 | 
boolean | 
isModifyUserSupported()
Internal: Applications should not use this method.
 This method provides a hint to the calling application as to whether or
 not the provider supports the modifyUser method. 
 | 
void | 
modifyRole(java.security.Principal roleRef,
          Role roleDef)
Internal: Applications should not use this method.
 This method takes a Principal that references a Role in the
 identity management system, and a Role object, and modifies
 the definition of the Role in the identity management system
 in accordance with the definition of the Role specified in the 
 argument. 
 | 
void | 
modifyUser(java.security.Principal principal,
          User user)
Internal: Applications should not use this method.
 This method instructs the provider to update the user entry referenced
 by the specified user principal in the identity management system. 
 | 
void | 
saveUserProfile(java.lang.String userName,
               java.util.HashMap values)
Internal: Applications should not use this method.
 This method persist the property values of the UserProfile of the specified user name. 
 | 
public static final java.lang.String WILD_CARD
public void initialize()
public User createUser()
IdentityManagementThe subclass is encouraged to implement the UserProfileCapable interface, which defines the contract for a user profile for a standard Oracle Identity Management user entry.
createUser in interface IdentityManagementpublic java.security.Principal addUser(User user, Credential credential)
IdentityManagementaddUser in interface IdentityManagementpublic User getUser(java.security.Principal principal)
IdentityManagementgetUser in interface IdentityManagementpublic void modifyUser(java.security.Principal principal,
                       User user)
IdentityManagementmodifyUser in interface IdentityManagementprincipal - A user principal that corresponds to what the associated
 authenticator for the identity management system would associate with the 
 Subject when the user authenticates.  This provides the unique identifier
 for the user in the identity management system.user - A User object or subclass of it that provides the complete
 set of attributes that should be committed to the identity management 
 system.public void deleteUser(java.security.Principal principal)
IdentityManagementdeleteUser in interface IdentityManagementprincipal - A user principal that corresponds to what the associated
 authenticator for the identity management system would associate with the 
 Subject when the user authenticates.  This provides the unique identifier
 for the user in the identity management system.public java.security.Principal getUserPrincipal(java.lang.String username)
IdentityManagementgetUserPrincipal in interface IdentityManagementusername - The username of the user as used to log on to the system.public boolean isAddUserSupported()
IdentityManagementisAddUserSupported in interface IdentityManagementpublic boolean isModifyUserSupported()
IdentityManagementisModifyUserSupported in interface IdentityManagementpublic boolean isDeleteUserSupported()
IdentityManagementisDeleteUserSupported in interface IdentityManagementpublic java.util.ArrayList getUserList(int sizeLimit,
                                       AttributeFilter[] filters)
IdentityManagementgetUserList in interface IdentityManagementsizeLimit - The limit of the number of entries that should be 
 retrieved into the collection.filters - An array of AttributeFilter to specify the search
 criteria for the list.  The attributes specified should be supported
 by the underlying provider in the user object.public java.util.ArrayList getUserProfileList(int sizeLimit,
                                              AttributeFilter[] filters)
getUserProfileList in interface IdentityManagementpublic java.lang.Object getUserProfilePropertyVal(java.lang.String name,
                                                  java.lang.String propName)
IdentityManagementgetUserProfilePropertyVal in interface IdentityManagementpublic void saveUserProfile(java.lang.String userName,
                            java.util.HashMap values)
IdentityManagementsaveUserProfile in interface IdentityManagementpublic java.util.ArrayList getUserList(int sizeLimit,
                                       AttributeFilter[] filters,
                                       java.security.Principal roleRef)
IdentityManagementgetUserList in interface IdentityManagementpublic Role createRole()
IdentityManagementcreateRole in interface IdentityManagementpublic java.security.Principal addRole(Role roleDef)
IdentityManagementaddRole in interface IdentityManagementpublic void modifyRole(java.security.Principal roleRef,
                       Role roleDef)
IdentityManagementmodifyRole in interface IdentityManagementpublic void deleteRole(java.security.Principal roleRef)
IdentityManagementdeleteRole in interface IdentityManagementpublic Role getRole(java.security.Principal roleRef)
IdentityManagementgetRole in interface IdentityManagementpublic java.security.Principal getRolePrincipal(java.lang.String roleName)
IdentityManagementgetRolePrincipal in interface IdentityManagementpublic void addToRole(java.security.Principal roleRef,
                      java.security.Principal member)
IdentityManagementaddToRole in interface IdentityManagementpublic void deleteFromRole(java.security.Principal roleRef,
                           java.security.Principal member)
IdentityManagementdeleteFromRole in interface IdentityManagementpublic java.util.ArrayList getRoleList(int sizeLimit,
                                       AttributeFilter[] filters)
IdentityManagementgetRoleList in interface IdentityManagementsizeLimit - The limit of the number of entries that should be 
 retrieved into the collection.filters - An array of AttributeFilter to specify the search
 criteria for the list.  The attributes specified should be supported
 by the underlying provider in the role object.public boolean isAddRoleSupported()
IdentityManagementisAddRoleSupported in interface IdentityManagementpublic boolean isModifyRoleSupported()
IdentityManagementisModifyRoleSupported in interface IdentityManagementpublic boolean isDeleteRoleSupported()
IdentityManagementisDeleteRoleSupported in interface IdentityManagementpublic java.lang.String getAnonymousRoleName()
IdentityManagementgetAnonymousRoleName in interface IdentityManagementpublic java.security.Principal getAnonymousRole()
IdentityManagementgetAnonymousRole in interface IdentityManagementpublic java.lang.String getAnonymousUserName()
IdentityManagementgetAnonymousUserName in interface IdentityManagementpublic java.security.Principal getAnonymousUser()
IdentityManagementgetAnonymousUser in interface IdentityManagement