Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-05


oracle.security.jps.service.credstore
Interface PasswordCredential

All Superinterfaces:
Credential, java.io.Serializable

public interface PasswordCredential
extends Credential

A PasswordCredential instance encapsulates a username-password pair.


Method Summary
 java.util.Calendar getExpiryTime()
          Returns the expiration time if credential is created with expiration time.
 java.lang.String getName()
          Returns the name of the user
 char[] getPassword()
          Returns the password of the user
 void setExpiryTime(java.util.Calendar expiryTime)
          Sets the expiration time for this credential.

 

Methods inherited from interface oracle.security.jps.service.credstore.Credential
getDescription, setDescription

 

Method Detail

getName

java.lang.String getName()
Returns the name of the user
Returns:
String
Since:
CSF 0.1

getPassword

char[] getPassword()
Returns the password of the user
Returns:
char[]
Since:
CSF 0.1

getExpiryTime

java.util.Calendar getExpiryTime()
Returns the expiration time if credential is created with expiration time. If credential is created without expiration time, this method returns null.
Returns:
Expiration time of this credential if created with expiration time.
Since:
CSF 0.1

setExpiryTime

void setExpiryTime(java.util.Calendar expiryTime)
Sets the expiration time for this credential.
Parameters:
expiryTime - Expiry time of this credential. Must be non-null and after current time.
Throws:
CredStoreRuntimeException - if invalid value is provided
Since:
CSF 0.1

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-05


Copyright © 2011, Oracle. All rights reserved.