Issued credentials are valid for the period that is specified at the time they are created. The CredentialIssuance interface provides resetValidity() method, which helps to reset the validity period of the credential before it expires. This method is used to either extend or reduce the validity period of the credential, but it does not reset the password or any other credential attributes.
To reset the validity of the credential:
The input required for each credential is different. For example, password is needed for password as well as ArcotID PKI credential, while questions and corresponding answers are required for QnA credentials.
Note: See "Credential Operations Summary" for the input details required by different credentials.
This class provides the additional information that is set as a name-value pair. See "Preparing Additional Input" for more information.
This method returns an instance of the CredentialResponse interface, which specifies the details of all credentials and the transaction.
Exceptions are returned for any errors that occurred while executing any of the Issuance API methods. The com.arcot.webfort.issuance.api.exception and com.arcot.webfort.common.api.exception packages contain these exceptions. See "Issuance Exceptions" and "Common Exceptions" for more information on exception classes.
Note that if no exception is thrown, then processing was successful and the return object can be referenced for processing results. The lack of an error does not necessarily mean that the request was successful.
|
Copyright © 2013 CA.
All rights reserved.
|
|