|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.identity.PersonMO
Managed object representing a person, or identity.
Constructor Summary | |
---|---|
PersonMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name)
Constructs the the managed object with a platform context, a subject, and the distinguished name of the object to manage. |
Method Summary | |
---|---|
OrganizationalContainerMO |
getContainer()
Returns the current parent container in the tree. |
Person |
getData()
Returns a current snapshot of the data defining the provisionng object. |
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the managed object |
java.util.Collection |
getRoles()
Returns the person's roles. |
PersonMO |
getSponsor()
Returns the person's sponsor (if any). |
PersonMO |
getSupervisor()
Returns the person's supervisor (if any). |
Request |
remove(java.util.Date scheduledTime)
Removes the person object and associated managed objects from the provisioning platform. |
Request |
restore(java.util.Date scheduledTime)
Restores the person ONLY. |
Request |
suspend(java.util.Date scheduledTime)
Suspends the person and associated managed objects from the provisioning platform |
Request |
transfer(OrganizationalContainerMO newContainer,
java.util.Date scheduledTime)
Transfers (moves) the person to another container. |
Request |
unManage(java.util.Date scheduledTime)
Removes the person object ONLY from the provisioning platform. |
Request |
update(Person p,
java.util.Date scheduledTime)
Updates the managed object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersonMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name)
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.name
- DistinguishedName identifying the container.Method Detail |
public DistinguishedName getDistinguishedName()
public Person getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
ApplicationException
- Thrown if unable to retrieve data.public OrganizationalContainerMO getContainer() throws java.rmi.RemoteException, ApplicationException, AuthorizationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
view the container of the person.
ApplicationException
- Thrown if unable to retrieve the person's
container. This may possibly be caused by
the person being removed by another client
previous to this call.public Request unManage(java.util.Date scheduledTime) throws java.rmi.RemoteException, ApplicationException, AuthorizationException
scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
remove the person.
ApplicationException
- Thrown if unable to submit the request.public Request remove(java.util.Date scheduledTime) throws java.rmi.RemoteException, ApplicationException, AuthorizationException
scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
remove the person.
ApplicationException
- Thrown if unable to submit the request.public Request update(Person p, java.util.Date scheduledTime) throws java.rmi.RemoteException, AuthorizationException, SchemaViolationException, ApplicationException
p
- Person value object with changes to make.scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
change the person. Note, even if only
one of the attributes being changed
is not writeable for the client, the
entire request will fail and this
exception will be thrown.
SchemaViolationException
- Thrown if any of the attributes
in the value object violate the
managed object's schema.
ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by the
person being removed by another client
previous to this call.public Request suspend(java.util.Date scheduledTime) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
suspend the person or their accounts
(if requested).
ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by the
person being removed by another client
previous to this call.public Request restore(java.util.Date scheduledTime) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
restore the person or their accounts
(if requested).
ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by the
person being removed by another client
previous to this call.public Request transfer(OrganizationalContainerMO newContainer, java.util.Date scheduledTime) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
newContainer
- OrganizationalContainerMO representing the new parent
container of the person.scheduledTime
- The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
data/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
transfer the person.
ApplicationException
- Thrown if unable to submit the request.
This may possibly be caused by the
person or container being removed by
another client previous to this call.public java.util.Collection getRoles() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
view the roles of the user or none of
the roles of the user are searchable by
the client.
ApplicationException
- Thrown if unable to retrieve the person's
roles. This may possibly be caused by
the person being removed by another client
previous to this call.public PersonMO getSupervisor() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
view the supervisor of the person.
ApplicationException
- Thrown if unable to retrieve the person's
supervisor. This may possibly be caused by
the person being removed by another client
previous to this call.public PersonMO getSponsor() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.
AuthorizationException
- Thrown if client is unauthorized to
view the sponsor of the user.
ApplicationException
- Thrown if unable to retrieve the person's
sponsor. This may possibly be caused by
the person being removed by another client
previous to this call.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |