The following files enable CSF to work with the Credential Store.
OPSS Initializer
Class |
|
---|---|
Component |
|
This class is responsible for starting JPS Services by loading the JPSConfigurationLocation
property and calling JPSStartup
. It also calls the Credential Store. The JPSConfiguration
points to the jps-config.xml
file, which contains all of the OPSS configuration information.
Credential Store Manager
Class |
|
---|---|
Component |
|
This class makes the calls that store and retrieve credentials from the credential store. Uses the map, key and credential properties parameters. It initiates JPS, retrieves the credential store and stores credentials in the store. Also used to delete credentials from the credential store.
Credential Store Manager Admin Servlet
Class |
|
This Java Bean servlet creates the UI that allows a user to work with credentials. It also stores or deletes credentials in the credential store.
Credential Framework Constants
Class |
|
Defines valid startup and credential types, which are generic
, login
, or database
. Also identifies JPS system properties.
Credential Broker
Class |
|
Retrieves credentials from the Credential Store and populates the connection properties for the implementing class. Any class that needs credentials from the credential store should use this class.
Credential Map Properties
Class |
|
This class sets the properties of the credential map, and associates values and credential properties with the specified key.
Credential Properties
The following credential type classes are used:
Class |
|
These classes set the properties for each of the credential types. They identify if the credential type is valid, and then return the associated values.
The CredentialProperties
class validates the credential type to be valid. If the credential is valid, it shows the first letter of the value and masks the rest of the value. It sets or returns the following parameters:
expirationTime
– The time that the credential expires.credentialType
– Validates if the credential matches a valid credential type (generic
,login
ordatabase
).value
– The value of the credential, which is masked.
The GenericCredentialProperties
class sets properties for the generic
credential type. It uses the following parameter:
singleCredential
– Indicates that a single line or string is used as a credential.
The LoginCredentialProperties
class sets properties for the login
credential type. It sets or returns the following parameters:
username
– The user’s account name.password
– The user’s password.
The DatabaseCredentialProperties
class sets properties for the database
credential type. It sets or returns the following parameters:
username
– The user’s account name.password
– The user’s password.resourceLocation
– The URL or resource location of the database.port
– The port used to access the database.
For an example of using OPSS, refer to the CIM Developer's Guide.
For detailed information on working with Oracle Platform Security Services and Credential Store Framework, refer to the Oracle documentation located at: http://www.oracle.com/technetwork/middleware/id-mgmt/index-100381.html.