Package com.sun.identity.idm
Class IdOperation
java.lang.Object
com.sun.identity.idm.IdOperation
The class
IdOperation
defines the types of operations
supported on managed identities, and provides static constants for these
operation. Currently defined operations on objects are
IdOperation.READ
,
IdOperation.EDIT
,
IdOperation.CREATE
,
IdOperation.DELETE
and IdOperation.SERVICE
.
The usage of the respective operations are defined along with their
declaration.-
Field Summary
Modifier and TypeFieldDescriptionstatic final IdOperation
TheCREATE
operation is supported only for the plugins configured for creating identities.static final IdOperation
TheDELETE
operation is supported only for the plugins configured for creating identities.static final IdOperation
TheEDIT
operation is supported only for the plugins configured for modifying and deleting attributes from the supported identities.static final IdOperation
TheREAD
operation is supported by default for all supported identities for all the plugins.static final IdOperation
TheSERVICE
operation is supported only for service related functions on an identity. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Theequals
method compares the current IdOperation with the IdOperation passed in and returns true if the operations are same.getName()
ThegetName
method returns the name of the IdOperation in string representaion.int
hashCode()
Returns the hash code of the objecttoString()
ThetoString
method returns the same representation of the current IdOperation.
-
Field Details
-
READ
TheREAD
operation is supported by default for all supported identities for all the plugins. This operation means that theIdRepo SPI
for the configured plugins related to reading identity attributes will be invoked. -
EDIT
TheEDIT
operation is supported only for the plugins configured for modifying and deleting attributes from the supported identities. This means that theIdRepo SPI
for the configured plugins will be called for all modify attribute operations. -
CREATE
TheCREATE
operation is supported only for the plugins configured for creating identities. Not all the configured identities for a givenIdRepo plugin
might be supported. It is possible that a plugin might support read operations on allIdType
but create operations only on theIdType.USER
. In this case the create operation for that plugin is only called for user identities. -
DELETE
TheDELETE
operation is supported only for the plugins configured for creating identities. Not all the configured identities for a givenIdRepo plugin
might be supported. It is possible that a plugin might support read operations on allIdType
but create or delete operations only on theIdType.USER
. In this case the delete operation for that plugin is only called for user identities. -
SERVICE
TheSERVICE
operation is supported only for service related functions on an identity. Not all the configured identities for a plugin might support services for all identities. It is possible that service operations are supported only for one identity type for a plugin, sayIdType.USER
. In this case, all service related operations like assignService, unassignService, modifyService etc. are only called for user objects for that plugin.
-
-
Constructor Details
-
IdOperation
Constructs an IdOperation of type string
-
-
Method Details
-
equals
Theequals
method compares the current IdOperation with the IdOperation passed in and returns true if the operations are same. it will return false if the operations are different. -
toString
ThetoString
method returns the same representation of the current IdOperation. The string returned is preceeded by the the substring "Operation: ". For example: if the current IdOperation is "CREATE" toString will return "Operation: create". -
hashCode
public int hashCode()Returns the hash code of the object -
getName
ThegetName
method returns the name of the IdOperation in string representaion. For example if the current IdOperation is "CREATE" getName will return "create".- Returns:
- String name of IdOperation.
-