public class CredentialLeaseMO
extends java.lang.Object
implements java.io.Serializable
CredentialLease,
CredentialLeaseManager,
Serialized Form| Constructor and Description |
|---|
CredentialLeaseMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name)
This API constructs the the managed object with a platform context, a subject,
and the distinguished name of the object to manage.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
checkin()
This API provides the credential checkin function.
|
CredentialMO |
getCredential()
This API returns the credential that this lease presents.
|
CredentialLease |
getData()
This API returns a current snapshot of the credential lease.
|
DistinguishedName |
getDistinguishedName()
This API returns the distinguished name of the managed object
|
PersonMO |
getLessee()
This API returns the person who holds this lease.
|
public CredentialLeaseMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name)
platform - This parameter specifies the PlatformContext that holds platform connection information.subject - This parameter specifies the Subject that represents the authenticated caller.name - This parameter specifies the DistinguishedName of the credential lease.public DistinguishedName getDistinguishedName()
public CredentialLease getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException - This exception is thrown if the API cannot communicate with the platform.ApplicationException - This exception is thrown if the API cannot retrieve data.public CredentialMO getCredential() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException - This exception is thrown if the API is unable to communicate with platform.ApplicationException - This exception is thrown if the API is unable to retrieve the credential.
The exception can possibly be caused by
the credential being removed by another client
before this call.public PersonMO getLessee() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException - This exception is thrown if the API is unable to communicate with platform.ApplicationException - This exception is thrown if the API is unable to retrieve the person.
The exception can possibly be caused by
the person being removed by another client
before this call.public Request checkin() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException - This Exception is thrown if the API is unable to communicate with platform.ApplicationException - This Exception is thrown if the system is unable to submit the request.
The problem can be caused by the fact that the authenticated user is not
the person who checked out the credential, or the credential being checked in is removed by another client before this call.IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.