Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.idm.user
Class OIDContext

java.lang.Object
  extended by oracle.idm.user.OIDContext

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class OIDContext
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

This class represents the information required for an application to access identity management infrastructure in OID.

See Also:
Serialized Form

Field Summary
static java.lang.String ACCESS_INTERFACE
          This property specifies the interface for interacting with OID.
static java.lang.String ACCESS_JNDI
          Value of property ACCESS_INTERFACE.
static java.lang.String ACCESS_WEBSERVICE
          Value of property ACCESS_INTERFACE.
static java.lang.String APP_IDENTIFIER
          This property specifies the application identifer
static java.lang.String ENDUSER_NAME
          This property specifies the Enduser name
static java.lang.String INITIAL_LDAP_CONTEXT
          This property specifies the InitialLdapContext object.
static java.lang.String REALM_NAME
          This property specifies the Realm dn

 

Constructor Summary
OIDContext(java.util.Hashtable properties)
          Constructs an new instance of this class.

 

Method Summary
 java.lang.Object addToEnvironment(java.lang.String propName, java.lang.String propVal)
           
 java.lang.Object clone()
           
static OIDContext getInstance(javax.naming.ldap.LdapContext lCtx)
           
 java.lang.Object getProperty(java.lang.String prop)
          Get value of specified property
 void setProperty(java.lang.String prop, java.lang.String propval)
          Set value of specified property

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

APP_IDENTIFIER

public static final java.lang.String APP_IDENTIFIER
This property specifies the application identifer
See Also:
Constant Field Values

ACCESS_INTERFACE

public static final java.lang.String ACCESS_INTERFACE
This property specifies the interface for interacting with OID.
See Also:
ACCESS_JNDI, ACCESS_WEBSERVICE, Constant Field Values

REALM_NAME

public static final java.lang.String REALM_NAME
This property specifies the Realm dn
See Also:
Constant Field Values

ENDUSER_NAME

public static final java.lang.String ENDUSER_NAME
This property specifies the Enduser name
See Also:
Constant Field Values

INITIAL_LDAP_CONTEXT

public static final java.lang.String INITIAL_LDAP_CONTEXT
This property specifies the InitialLdapContext object. This is required when jndi is used for interacting with OID.
See Also:
ACCESS_INTERFACE, Constant Field Values

ACCESS_JNDI

public static final java.lang.String ACCESS_JNDI
Value of property ACCESS_INTERFACE. It specifies that JNDI should be used for interacting with OID
See Also:
Constant Field Values

ACCESS_WEBSERVICE

public static final java.lang.String ACCESS_WEBSERVICE
Value of property ACCESS_INTERFACE. It specifies that web services should be used for interacting with OID
See Also:
Constant Field Values

Constructor Detail

OIDContext

public OIDContext(java.util.Hashtable properties)
           throws java.lang.Exception
Constructs an new instance of this class.
Parameters:
properties - all the information required for accessing identiity infrastructure in OID
Throws:
java.lang.Exception - if some property values are missing.

Method Detail

getInstance

public static OIDContext getInstance(javax.naming.ldap.LdapContext lCtx)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getProperty

public java.lang.Object getProperty(java.lang.String prop)
Get value of specified property
Parameters:
prop - property whose value is required
Returns:
property value

setProperty

public void setProperty(java.lang.String prop,
                        java.lang.String propval)
Set value of specified property
Parameters:
prop - property name
propval - property value

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

addToEnvironment

public java.lang.Object addToEnvironment(java.lang.String propName,
                                         java.lang.String propVal)

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.