oracle.security.sso.enabler
Class SSOEnablerConfigMgr

java.lang.Object
  |
  +--oracle.security.sso.enabler.SSOEnablerConfigMgr

public class SSOEnablerConfigMgr
extends java.lang.Object

This class implements the enabler stack of Oracle Single Sign-On service for partner application development.

Since:
1.0
See Also:
SSOEnablerConfig

Constructor Summary
SSOEnablerConfigMgr()
          Creates a Oracle Single Sign-On enabler object, with no database connection
SSOEnablerConfigMgr(java.sql.Connection p_db_conn)
          Creates a Oracle Single Sign-On enabler object, with database connection
 
Method Summary
 void createEnablerConfig(SSOEnablerConfig p_configuration)
          Creates configuration parameters of the SSO enabler specified by the listner token.
 void deleteEnablerConfig(java.lang.String p_listenerToken)
          Deletes the configuration parameters of the SSO enabler specified by the listner token.
 SSOEnablerConfig getEnablerConfig(java.lang.String p_listenerToken)
          Returns the configuration parameters of the SSO enabler specified by the listner token.
 void setDbConnection(java.sql.Connection p_db_conn)
          Initializes Oracle Single Sign-On enabler object, with a database connection
 void setEnablerConfig(java.lang.String p_listenerToken, SSOEnablerConfig p_configuration)
          Updates the configuration parameters of the SSO enabler specified by the listner token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSOEnablerConfigMgr

public SSOEnablerConfigMgr()
Creates a Oracle Single Sign-On enabler object, with no database connection

SSOEnablerConfigMgr

public SSOEnablerConfigMgr(java.sql.Connection p_db_conn)
Creates a Oracle Single Sign-On enabler object, with database connection
See Also:
Connection
Method Detail

setDbConnection

public void setDbConnection(java.sql.Connection p_db_conn)
                     throws SSOEnablerException
Initializes Oracle Single Sign-On enabler object, with a database connection
Throws:
SSOEnablerException - if the database connection lost
See Also:
Connection

getEnablerConfig

public SSOEnablerConfig getEnablerConfig(java.lang.String p_listenerToken)
                                  throws SSOEnablerException
Returns the configuration parameters of the SSO enabler specified by the listner token.
Parameters:
p_listenerToken - The listner token of the SSO enabler p_configuration that is to be selected.
Returns:
An instance of SSOEnablerConfig containing the p_configuration of the SSO enabler specified by the listner token.
Throws:
SSOEnablerException - Raised if database connection is lost, the database is not configured properly, or the listner token is invalid.
See Also:
SSOEnablerConfig

createEnablerConfig

public void createEnablerConfig(SSOEnablerConfig p_configuration)
                         throws SSOEnablerException
Creates configuration parameters of the SSO enabler specified by the listner token.
Parameters:
p_configuration - The configuration for the SSO enabler to be added. All the members of this class must be filled in except for encryptionMaskPre and encryptionMaskPost which must be empty strings ("").
Throws:
SSOEnablerException - Raised if database connection is lost, the database is not configured properly, or invalid data is passed into this procedure.
See Also:
SSOEnablerConfig

setEnablerConfig

public void setEnablerConfig(java.lang.String p_listenerToken,
                             SSOEnablerConfig p_configuration)
                      throws SSOEnablerException
Updates the configuration parameters of the SSO enabler specified by the listner token.
Parameters:
p_listenerToken - The listner token of the SSO enabler p_configuration that is to be updated.
p_configuration - The configuration for the SSO enabler to be updated. All the members of this class must be filled in.
Throws:
SSOEnablerException - Raised if database connection is lost, the database is not configured properly, or invalid data is passed into this procedure.
See Also:
SSOEnablerConfig

deleteEnablerConfig

public void deleteEnablerConfig(java.lang.String p_listenerToken)
                         throws SSOEnablerException
Deletes the configuration parameters of the SSO enabler specified by the listner token.
Parameters:
p_listenerToken - The listner token of the SSO enabler p_configuration that is to be deleted.
Throws:
SSOEnablerException - Raised if database connection is lost, the database is not configured properly, or invalid data is passed into this procedure.