Skip navigation links

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

E14650-04


oracle.security.jps.service.credstore
Interface DataSourceCredential

All Superinterfaces:
Credential, java.io.Serializable

public interface DataSourceCredential
extends Credential

A DataSourceCredential instance encapsulates access information for a data provider.


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
 int getPort()
          Returns the port for this Data Source
 java.lang.String getURL()
          Returns the url for this Data Source
 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

getURL

java.lang.String getURL()
Returns the url for this Data Source
Returns:
String
Since:
CSF 0.1

getPort

int getPort()
Returns the port for this Data Source
Returns:
int
Since:
CSF 0.1

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 Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.