|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Account
Defines an eTrust Admin provisioning account to Identity Manager.
A provisioning account represents the identity of a user in a particular endpoint type (such as Active Directory or LDAP). TheAccountType
object
indicates the endpoint type that the account is associated with. User
object.
ProvisioningPolicy
,
ProvisioningRole
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_DELIMETER
|
static java.lang.String |
PROPERTY_ACCOUNT_TEMPLATES
|
static java.lang.String |
PROPERTY_CONTAINER
Attribute identifier for the account object's container. |
static java.lang.String |
PROPERTY_CONTAINER_HANDLE
Attribute identifier for the account object's container handle. |
static java.lang.String |
PROPERTY_ENDPOINT
Attribute identifier for the account object's endpoint. |
static java.lang.String |
PROPERTY_ENDPOINT_DESCRIPTION
Attribute identifier for the endpoint's description. |
static java.lang.String |
PROPERTY_ENDPOINT_HANDLE
Attribute identifier for the account object's endpoint handle. |
static java.lang.String |
PROPERTY_ENDPOINT_TYPE
Attribute identifier for the account object's endpoint type. |
static java.lang.String |
PROPERTY_EXCEPTION_ACCOUNT
|
static java.lang.String |
PROPERTY_EXCEPTION_ACCOUNT_JIAM
|
static java.lang.String |
PROPERTY_FRIENDLY_NAME
Attribute identifier for the account object's name. |
static java.lang.String |
PROPERTY_LOCKED
|
static java.lang.String |
PROPERTY_LOCKED_STATE
Attribute identifier for the account object's locked state. |
static java.lang.String |
PROPERTY_PASSWORD
Attribute identifier for the account object's password. |
static java.lang.String |
PROPERTY_SOURCE
Attribute identifier for the account object's source |
static java.lang.String |
PROPERTY_SUSPENDED_STATE
Attribute identifier for the account object's suspended state. |
static java.lang.String |
PROPERTY_USER_FRIENDLY_NAME
Attribute identifier for the account object's user. |
Method Summary | |
---|---|
java.util.Vector |
assign(java.lang.String opId,
User targetUser)
Associate an account from one user to another |
java.util.Vector |
delete(java.lang.String operationId)
Delete an account |
java.util.Vector |
getAccountReasons(User user,
java.util.Hashtable userRoles)
Returns the reasons which caused this eTrust Admin provisioning Account to be created. |
AccountType |
getAccountType()
Retrieves the type of this account. |
java.lang.String |
getDefaultAccountTemplateAttributeValue(java.lang.String attributeName)
|
java.lang.String |
getEndpointAttributeValue(java.lang.String attributeName)
|
java.lang.String |
getEndPointName()
Retrieves the name of the endpoint on which this eTrust Admin provisioning Account resieds. |
IAMHandle |
getIAMHandle()
Retuns the JIAM Handle of the eTrust Admin provisioning Account. |
AccountReturnType |
getLockedState()
Retrieves the account's locked state. |
java.lang.String |
getPassword()
Retuns a string containing the password that has been assinged to the eTrust Admin provisioning Account. |
void |
getSecondaryAttributes(IAMSession jiamSession)
Retrieves the "secondary attributes" associated with this eTrust Admin provisioning account. |
AccountReturnType |
getSuspendedState()
Retrieves the eTrust Admin provisioning Account's suspended state. |
User |
getUser()
Retrieves the user associated with the account. |
java.lang.String |
getUserAccountName()
Retrieves the name of this eTrust Admin provisioning account. |
boolean |
isEqualTo(Account accIn)
This method compares the specified account, accIn, to the this account and returns true if the two are equal and false if they are not. |
AccountReturnType |
isExceptionAccount()
Returns true if this account is an "exception account" that should be excluded from being deleted when the user is synchronized with his roles. |
boolean |
isLockedModified()
Indicates whether or not the Locked attribute for this eTrust Admin provisioning Account has been modified. |
boolean |
isPasswordModified()
Indicates whether or not the the password for this eTrust Admin provisioning Account has been modified. |
boolean |
isSuspendedModified()
Indicates whether or not the the suspended attribute for this eTrust Admin provisioning Account has been modified. |
void |
relocate(Container container)
Relocate an account to another container |
void |
setExceptionAccount(boolean exceptionAccount)
Set if this is an exception account |
void |
setLockedState(boolean locked)
Sets the account's locked state. |
void |
setPassword(java.lang.String password)
Specifies the password to be set for the eTrust Admin provisioning Account. |
void |
setSuspendedState(boolean suspended)
Sets the account's suspended state. |
void |
unassign()
Deprecated. in Im r12 |
java.util.Vector |
unassign(java.lang.String opId)
Disassociates an account from this user. |
boolean |
validateNewPassword(java.lang.String password,
PasswordCondition cond,
User user)
Determines if a given string is aceptable as a new password for this account. |
Methods inherited from interface com.netegrity.llsdk6.imsapi.managedobject.ManagedObject |
---|
directAddAttributeValue, directRemoveAttributeValue, equals, fixUniqueNames, getImsDirectory, getImsEnvironment, getObjectType, getOrg, getOrg, getProvider, hashCode, move, persisted |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.NamedObject |
---|
getFriendlyName, getUniqueName, toString |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.ModifiableObject |
---|
modifyObject, modifyObject |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_DELIMETER
static final java.lang.String PROPERTY_FRIENDLY_NAME
static final java.lang.String PROPERTY_ENDPOINT_DESCRIPTION
static final java.lang.String PROPERTY_ENDPOINT_TYPE
static final java.lang.String PROPERTY_ENDPOINT
static final java.lang.String PROPERTY_ENDPOINT_HANDLE
static final java.lang.String PROPERTY_CONTAINER
static final java.lang.String PROPERTY_CONTAINER_HANDLE
static final java.lang.String PROPERTY_PASSWORD
static final java.lang.String PROPERTY_SUSPENDED_STATE
static final java.lang.String PROPERTY_LOCKED_STATE
static final java.lang.String PROPERTY_SOURCE
static final java.lang.String PROPERTY_USER_FRIENDLY_NAME
static final java.lang.String PROPERTY_EXCEPTION_ACCOUNT
static final java.lang.String PROPERTY_ACCOUNT_TEMPLATES
static final java.lang.String PROPERTY_EXCEPTION_ACCOUNT_JIAM
static final java.lang.String PROPERTY_LOCKED
Method Detail |
---|
AccountReturnType isExceptionAccount() throws SmApiException
SmApiException
void setExceptionAccount(boolean exceptionAccount) throws SmApiException
exceptionAccount
-
SmApiException
void getSecondaryAttributes(IAMSession jiamSession) throws SmApiException
Retrieves the "secondary attributes" associated with this eTrust Admin provisioning account.
The "secondary attributes" of an account are those attribues that require accessing the endpoint on which the account exists to be retreived. This operation may require some time to complete, as accessing the account endpoint is an opoeration that may be constrainted by network topology. It should be noted that it is not necessary to retrieve the account secondary attributes in order to modify them. For example, it is not necessary to retrieve the "suspended" state of an account in order to make a request to "resume" that account.
JIAMOperationException
- This exception indicates that there was a error encounted
while tring to access the account secondary attributes,
andthat this error was reported from the JIAM API layer.
SmApiException
User getUser() throws SmApiException
SmApiException
java.lang.String getUserAccountName() throws SmApiException
SmApiException
AccountType getAccountType() throws SmApiException
SmApiException
java.lang.String getEndPointName() throws SmApiException
SmApiException
boolean isSuspendedModified() throws SmApiException
SmApiException
void setSuspendedState(boolean suspended) throws SmApiException
Sets the account's suspended state.
This method allows the "suspended" state of the eTrust Admin provisioning Account to be set to boolean "true" or "false". This method is used to indicate that the suspend state for the account is to be modified to the specific state. The suspend state can be set regardless of its current state, as returned bygetSuspendedState()
.
If setting the Suspended state of the account will not change the current
Suspended state, then no net action will be taken (this account will not
be modified.
SmApiException
AccountReturnType getSuspendedState() throws SmApiException
AccountReturnType
: AccountReturnType.TRUE |
       The account IS suspended. |
AccountReturnType.FALSE |
       The account is NOT suspended. |
AccountReturnType.UNKNOWN |
       The suspended state is not known; no Secondary Access Attributes have been retrieved for |
       this account. |
AccountReturnType.UNAVAILABLE |
       The attempt to retrieve the suspended state of this account failed. This represents a condition |
       where the endpoint associated with this account could not be accessed. |
SmApiException
AccountReturnType getLockedState() throws SmApiException
AccountReturnType
: AccountReturnType.TRUE |
       The account IS locked. |
AccountReturnType.FALSE |
       The account is NOT locked. |
AccountReturnType.UNKNOWN |
       The locked state is not known; no Secondary Access Attributes have been retrieved for |
       this account. |
AccountReturnType.UNAVAILABLE |
       The attempt to retrieve the locked state of this account failed. This represents a condition |
       where the endpoint associated with this account could not be accessed. |
SmApiException
void setLockedState(boolean locked) throws SmApiException
Sets the account's locked state.
This method allows the "locked" state of the eTrust Admin provisioning Account to be set to boolean "true" or "false". This method is used to indicate that the locked state for the account is to be modified to the specific state. The locked state can be set regardless of its current state, as returned bygetLockedState()
.
If setting the Locked state of the account will not change the current
Locked state, then no net action will be taken (this account will not be
modified.
SmApiException
boolean isLockedModified() throws SmApiException
SmApiException
boolean isPasswordModified() throws SmApiException
SmApiException
java.lang.String getPassword() throws SmApiException
setPassword
method during the current
task session.
SmApiException
void setPassword(java.lang.String password) throws SmApiException
password
- a string containing the password to be associated with the
account.
SmApiException
boolean validateNewPassword(java.lang.String password, PasswordCondition cond, User user)
Determines if a given string is aceptable as a new password for this account.
password
- The proposed password that is to be validatedcond
- A PasswordCondition
object that is
populated with information on why a proposed password could
not be validated.
true
if the password is validated, or
false
otherwise. If false
, Identity Manager provides
the reasons in the output parameter cond
.java.util.Vector getAccountReasons(User user, java.util.Hashtable userRoles) throws SmApiException
initReasons()
, then an empty vector will
be returned.
The "reasons" is a list of eTrust Admin Roles and the contained eTrust
Admin Policies from which the account was provisioned. The Roles are
those that have been assigned to the User with which the account is
associated.
SmApiException
void unassign() throws SmApiException
SmApiException
java.util.Vector unassign(java.lang.String opId) throws SmApiException
operationID
- Operation ID to be used for the JIAM commit operation. Ideally this should be derived from the IM
eventID using ProvisioningDefinitionImpl.getIMOperationId()
.
SmApiException
java.util.Vector assign(java.lang.String opId, User targetUser) throws SmApiException
opId
- Operation ID to be used for the JIAM commit operation. Ideally this should be derived from the IM
eventID using ProvisioningDefinitionImpl.getIMOperationId()
.
SmApiException
IAMHandle getIAMHandle()
boolean isEqualTo(Account accIn) throws SmApiException
accIn
- an account which is being compared to this account.
SmApiException
java.util.Vector delete(java.lang.String operationId) throws SmApiException
operationId
- - Operation Id to use for the JIAM session.
SmApiException
java.lang.String getEndpointAttributeValue(java.lang.String attributeName) throws java.lang.Exception
java.lang.Exception
java.lang.String getDefaultAccountTemplateAttributeValue(java.lang.String attributeName)
void relocate(Container container) throws SmApiException
container
- - The destination container to relocate to
SmApiException
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |