com.sun.identity.idm
Class IdOperation

java.lang.Object
  extended bycom.sun.identity.idm.IdOperation

public class IdOperation
extends java.lang.Object

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
static IdOperation CREATE
          The CREATE operation is supported only for the plugins configured for creating identities.
static IdOperation DELETE
          The DELETE operation is supported only for the plugins configured for creating identities.
static IdOperation EDIT
          The EDIT operation is supported only for the plugins configured for modifying and deleting attributes from the supported identities.
static IdOperation READ
          The READ operation is supported by default for all supported identities for all the plugins.
static IdOperation SERVICE
          The SERVICE operation is supported only for service related functions on an identity.
 
Constructor Summary
IdOperation(java.lang.String operation)
           
 
Method Summary
 boolean equals(java.lang.Object opObject)
           
 java.lang.String getName()
           
 int hashCode()
          Returns the hash code of the object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

READ

public static final IdOperation READ
The READ operation is supported by default for all supported identities for all the plugins. This operation means that the IdRepo SPI for the configured plugins related to reading identity attributes will be invoked.


EDIT

public static final IdOperation EDIT
The EDIT operation is supported only for the plugins configured for modifying and deleting attributes from the supported identities. This means that the IdRepo SPI for the configured plugins will be called for all modify attribute operations.


CREATE

public static final IdOperation CREATE
The CREATE operation is supported only for the plugins configured for creating identities. Not all the configured identities for a given IdRepo plugin might be supported. It is possible that a plugin might support read operations on all IdType but create operations only on the IdType.USER . In this case the create operation for that plugin is only called for user identities.


DELETE

public static final IdOperation DELETE
The DELETE operation is supported only for the plugins configured for creating identities. Not all the configured identities for a given IdRepo plugin might be supported. It is possible that a plugin might support read operations on all IdType but create or delete operations only on the IdType.USER . In this case the delete operation for that plugin is only called for user identities.


SERVICE

public static final IdOperation SERVICE
The SERVICE 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, say IdType.USER . In this case, all service related operations like assignService, unassignService, modifyService etc. are only called for user objects for that plugin.

Constructor Detail

IdOperation

public IdOperation(java.lang.String operation)
Method Detail

equals

public boolean equals(java.lang.Object opObject)

toString

public java.lang.String toString()

hashCode

public int hashCode()
Returns the hash code of the object


getName

public java.lang.String getName()


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.