public class RecertificationPolicyMO
extends java.lang.Object
| Constructor and Description |
|---|
RecertificationPolicyMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name)
Constructs the managed object with a platform context, a subject, and the
distinguished name of the object to manage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Runs or executes the recertification policy manually.
|
OrganizationalContainerMO |
getContainer()
Returns the current parent container of this policy.
|
RecertificationPolicy |
getData()
Returns a current snapshot of the recertification policy.
|
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the recertification policy.
|
OrganizationalContainerMO |
getOrganization()
Returns the organization that the policy is contained within.
|
boolean |
isDeletable()
Returns true if this object can be deleted by the authenticated subject,
false otherwise.
|
boolean |
isExecutable()
Returns true if the authenticated subject has permission to
execute or modify this recertification policy.
|
boolean |
isUpdatable()
Returns true if this object can be modified or updated by the authenticated
subject, false otherwise.
|
void |
remove()
Removes the recertification policy object from the provisioning platform.
|
void |
update(RecertificationPolicy newPolicy)
Updates the recertification policy object.
|
public RecertificationPolicyMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name)
platform - PlatformContext holding the platform connection information.subject - Subject representing the authenticated caller.name - DistinguishedName of the policy.public DistinguishedName getDistinguishedName()
public RecertificationPolicy getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.ApplicationException - Thrown if it is unable to retrieve data.public void update(RecertificationPolicy newPolicy) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
policy - Policy value object with changes to make.java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.AuthorizationException - Thrown if the client is unauthorized to change the policy.ApplicationException - Thrown if it is unable to submit the request. This might
occur if another client removes the policy prior to the
call. This exception is also thrown when
RecertificatioPolicyMO contains a null DistinguishedName.public void remove()
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.AuthorizationException - Thrown if the client is unauthorized to remove the policy.ApplicationException - Thrown if it is unable to submit the request. This might occur
if another client removes the policy prior to the call.
This exception is also thrown when RecertificationPolicyMO
contains a null DistinguishedName.public void execute()
throws java.rmi.RemoteException,
AuthorizationException,
ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.AuthorizationException - Thrown if the client is unauthorized to execute the
policy.ApplicationException - Thrown if it is unable to retrieve this object.public OrganizationalContainerMO getContainer() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.AuthorizationException - Thrown if the client is unauthorized to view the container
of the policy.ApplicationException - Thrown if it is unable to retrieve the container of the policy.public OrganizationalContainerMO getOrganization() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.AuthorizationException - Thrown if the client is unauthorized to view the container
of the policy.com.ibm.itim.apps.exception.AppProcessingException - Thrown if it is unable to retrieve the organization.ApplicationExceptionpublic boolean isDeletable()
throws java.rmi.RemoteException,
ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.ApplicationException - Thrown if it is unable to retrieve this object.public boolean isUpdatable()
throws java.rmi.RemoteException,
ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.ApplicationException - Thrown if it is unable to update this object.public boolean isExecutable()
throws java.rmi.RemoteException,
ApplicationException
java.rmi.RemoteException - Thrown if it is unable to communicate with the platform.ApplicationException - Thrown if it is unable to execute the policy.