public class OIDContext
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OIDContext(java.util.Hashtable properties)
Constructs an new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final java.lang.String APP_IDENTIFIER
public static final java.lang.String ACCESS_INTERFACE
ACCESS_JNDI
, ACCESS_WEBSERVICE
, Constant Field Valuespublic static final java.lang.String REALM_NAME
public static final java.lang.String ENDUSER_NAME
public static final java.lang.String INITIAL_LDAP_CONTEXT
ACCESS_INTERFACE
, Constant Field Valuespublic static final java.lang.String ACCESS_JNDI
public static final java.lang.String ACCESS_WEBSERVICE
public OIDContext(java.util.Hashtable properties) throws java.lang.Exception
properties
- all the information required for accessing identiity infrastructure in OIDjava.lang.Exception
- if some property values are missing.public static OIDContext getInstance(javax.naming.ldap.LdapContext lCtx) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getProperty(java.lang.String prop)
prop
- property whose value is requiredpublic void setProperty(java.lang.String prop, java.lang.String propval)
prop
- property namepropval
- property valuepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.Object addToEnvironment(java.lang.String propName, java.lang.String propVal)