|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.policyapi.SmObjectImpl
com.netegrity.sdk.policyapi.SmUserDirectory
public final class SmUserDirectory
Represents a SiteMinder User Directory.
This object has global scope.prop...) that represent user directory properties
and methods that get or set user directory properties apply to all supported
user directory types (LDAP, ODBC, WinNT, and custom) unless individual directory
types are specified.
| Field Summary | |
|---|---|
static java.lang.String |
CUSTOM_NAMESPACE
Designates a connection to a custom directory service. |
static java.lang.String |
LDAP_NAMESPACE
Designates a connection to an LDAP directory service. |
static int |
LDAP_SCOPE_SUBTREE
Constant to indicate that the search of the LDAP tree extends through the entire sub tree. |
static java.lang.String |
ODBC_NAMESPACE
Designates a connection to an ODBC directory service. |
static java.lang.String |
PropChallengeRespAttr
Constant to indicate the property Challenge Response Attribute. |
static java.lang.String |
PropDisabledAttr
Constant to indicate the property Disabled Attribute. |
static java.lang.String |
PropEmailAddrAttr
Reserved for future use. |
static java.lang.String |
PropEnableSecurityContext
Constant to indicate EnableSecurityContext For information, see setEnableSecurityContext(). |
static java.lang.String |
PropGuidAttr
Constant to indicate the property Anonymous Attribute. |
static java.lang.String |
PropNamespace
Constant to indicate the property Namespace (searchable). |
static java.lang.String |
PropODBCQuery
Constant to indicate the property ODBC Query Object Identifier (searchable). |
static java.lang.String |
PropPassword
Constant to indicate the property Password. |
static java.lang.String |
PropPasswordAttr
Constant to indicate the property Password Attribute. |
static java.lang.String |
PropPasswordDataAttr
Constant to indicate the property password Data Attribute. |
static java.lang.String |
PropRequireCredentials
Constant to indicate the property Require Credentials. |
static java.lang.String |
PropSearchResults
Constant to indicate the property Search Results. |
static java.lang.String |
PropSearchRoot
Constant to indicate the property Search Root. |
static java.lang.String |
PropSearchScope
Constant to indicate the property Search Scope. |
static java.lang.String |
PropSearchTimeout
Constant to indicate the property Search Timeout. |
static java.lang.String |
PropSecureConnection
Constant to indicate the property Secure Connection. |
static java.lang.String |
PropServer
Constant to indicate the property Server. |
static java.lang.String |
PropUniversalIDAttr
Constant to indicate the property Universal Identifier. |
static java.lang.String |
PropUserDirectories
Property name to be specified in the method . |
static java.lang.String |
PropUserLookupEnd
Constant to indicate the property Userlookup End. |
static java.lang.String |
PropUserLookupStart
Constant to indicate the property Userlookup Start. |
static java.lang.String |
PropUsername
Constant to indicate the property Username. |
static java.lang.String |
WINNT_NAMESPACE
Designates a connection to a Windows NT directory service. |
| Fields inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
PropObjectClassName |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmUserDirectory()
Constructs a user directory object. |
|
SmUserDirectory(java.lang.String name)
Constructs a user directory object with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getChallengeRespAttr()
Gets the name of the user directory attribute that contains a challenge response for SiteMinder to send back to a user -- for example, a hint for a forgotten password. |
java.lang.String |
getDisabledAttr()
Gets the name of the user directory attribute that SiteMinder uses to keep track of a user’s enabled or disabled state. |
java.lang.String |
getEmailAddressAttr()
Reserved for future use. |
boolean |
getEnableSecurityContext()
Checks if the user directory lookup should be initiated in the context of the authenticated user. |
java.lang.String |
getGuidAttr()
Gets the name of the user directory attribute that is designated as the anonymous user distinguished name (DN). |
java.lang.String |
getNamespace()
Gets the namespace of the user directory. |
SmObjId |
getODBCQuery()
Gets the object identifier for a set of ODBC queries that SiteMinder uses to query the ODBC directory. |
java.lang.String |
getPassword()
Gets the password needed to access a user directory. |
java.lang.String |
getPasswordAttr()
Gets the name of the user directory attribute that contains the user's password. |
java.lang.String |
getPasswordDataAttr()
Gets the name of the user directory attribute that SiteMinder uses to store password policy information. |
boolean |
getRequireCredentials()
Checks whether credentials are necessary to authenticate against a user directory. |
int |
getSearchResults()
Gets the maximum number of records that can be returned for a single search of an LDAP or custom user directory. |
java.lang.String |
getSearchRoot()
Gets the LDAP search root or the parameter string for the custom directory's library. |
int |
getSearchScope()
Gets the scope of the search in an LDAP tree. |
int |
getSearchTimeout()
Gets the maximum amount of time that SiteMinder will search an LDAP or custom directory. |
boolean |
getSecureConnection()
Checks whether SSL must be used to access an LDAP or custom directory. |
java.lang.String |
getServer()
Gets the directory server or other information for the user directory, depending upon the directory type. |
java.lang.String |
getUniversalIDAttr()
Gets the name of the user directory attribute that has been designated as the universal ID. |
java.lang.String |
getUserLookupEnd()
Gets the end value for a user DN lookup in an LDAP directory. |
java.lang.String |
getUserLookupStart()
Gets the start value for a user DN lookup in an LDAP directory. |
java.lang.String |
getUsername()
Gets the user name needed to access a user directory. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setChallengeRespAttr(java.lang.String challengeRespAttr)
Sets the name of the user directory attribute that contains a challenge response for SiteMinder to send back to a user -- for example, a hint for a forgotten password. |
void |
setDisabledAttr(java.lang.String disabledAttr)
Sets the name of the user directory attribute that SiteMinder uses to keep track of a user’s enabled or disabled state. |
void |
setEmailAddressAttr(java.lang.String szEmailAddressAttr)
Reserved for future use. |
void |
setEnableSecurityContext(boolean enableSecurityCtxt)
This attribute directs the user directory to initiate lookups in the context of the authenticated user. |
void |
setGuidAttr(java.lang.String guidAttr)
Sets the name of the user directory attribute that is designated as the anonymous user distinguished name (DN). |
void |
setNamespace(java.lang.String namespace)
Sets the namespace of the user directory. |
void |
setODBCQuery(java.lang.Object odbcQuery)
Specifies the object identifier for a set of ODBC queries that SiteMinder uses to query the ODBC directory. |
void |
setPassword(java.lang.String password)
Specifies the password needed to access a user directory. |
void |
setPasswordAttr(java.lang.String passwordAttr)
Sets the name of the user directory attribute that contains the user's password. |
void |
setPasswordDataAttr(java.lang.String passwordDataAttr)
Sets the name of the user directory attribute that SiteMinder uses to store password policy information. |
void |
setRequireCredentials(boolean requireCredentials)
Specifies whether credentials are necessary to authenticate against a user directory. |
void |
setSearchResults(int searchResults)
Sets the maximum number of records that can be returned for a single search of an LDAP or custom user directory. |
void |
setSearchRoot(java.lang.String searchRoot)
Sets the LDAP search root or the parameter string for the custom directory's library. |
void |
setSearchScope(int nSearchScope)
Sets the scope of the search in an LDAP tree. |
void |
setSearchTimeout(int searchTimeout)
Sets the maximum amount of time that SiteMinder will search an LDAP or custom directory. |
void |
setSecureConnection(boolean secureConnection)
Specifies whether SSL must be used to access an LDAP or custom directory. |
void |
setServer(java.lang.String server)
Sets the directory server or other information for the user directory, depending upon the directory type. |
void |
setUniversalIDAttr(java.lang.String universalIDAttr)
Sets the name of the user directory attribute that has been designated as the universal ID. |
void |
setUserLookupEnd(java.lang.String userLookupEnd)
Sets the end value for a user DN lookup in an LDAP directory. |
void |
setUserLookupStart(java.lang.String userLookupStart)
Sets the start value for a user DN lookup in an LDAP directory. |
void |
setUsername(java.lang.String username)
Specifies the user name needed to access a user directory. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getDescription, getName, getObjectClassname, getOid, isDomainObject, isWriteable, newObject, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PropUserDirectories
getGlobalObjectNames().
public static final java.lang.String PropNamespace
public static final java.lang.String PropServer
setServer().
public static final java.lang.String PropSearchRoot
setSearchRoot().
public static final java.lang.String PropSearchResults
setSearchResults().
public static final java.lang.String PropSearchScope
setSearchScope().
public static final java.lang.String PropSearchTimeout
setSearchTimeout().
public static final java.lang.String PropUserLookupStart
setUserLookupStart().
public static final java.lang.String PropUserLookupEnd
setUserLookupEnd().
public static final java.lang.String PropUsername
setUsername().
public static final java.lang.String PropPassword
setPassword().
public static final java.lang.String PropSecureConnection
setSecureConnection().
public static final java.lang.String PropRequireCredentials
setRequireCredentials().
public static final java.lang.String PropDisabledAttr
setDisabledAttr().
public static final java.lang.String PropUniversalIDAttr
setUniversalIDAttr().
public static final java.lang.String PropODBCQuery
setODBCQuery().
public static final java.lang.String PropGuidAttr
setGuidAttr().
public static final java.lang.String PropPasswordDataAttr
setPasswordDataAttr().
public static final java.lang.String PropPasswordAttr
setPasswordAttr().
public static final java.lang.String PropEmailAddrAttr
public static final java.lang.String PropChallengeRespAttr
setChallengeRespAttr().
public static final java.lang.String PropEnableSecurityContext
setEnableSecurityContext().
public static final int LDAP_SCOPE_SUBTREE
public static final java.lang.String LDAP_NAMESPACE
public static final java.lang.String ODBC_NAMESPACE
public static final java.lang.String WINNT_NAMESPACE
public static final java.lang.String CUSTOM_NAMESPACE
| Constructor Detail |
|---|
public SmUserDirectory()
public SmUserDirectory(java.lang.String name)
name - Name of the user directory.| Method Detail |
|---|
public java.lang.String getNamespace()
LDAP:
WinNT:
ODBC:
Custom:public void setNamespace(java.lang.String namespace)
namespace - One of the following namespace values:
LDAP:
WinNT:
ODBC:
Custom:public java.lang.String getServer()
IP_address:port_number. The port number 389 is assumed if no port number is specified.
public void setServer(java.lang.String server)
IP_address:port_number. The port number 389 is assumed if no port number is specified.
server - The directory server or other information for the user directory.public java.lang.String getSearchRoot()
Gets the LDAP search root or the parameter string for the custom directory's library.
getSearchScope() for more information.
public void setSearchRoot(java.lang.String searchRoot)
Sets the LDAP search root or the parameter string for the custom directory's library.
setSearchScope() for more information.
searchRoot - The LDAP search root or the parameter string for the custom library.public java.lang.String getUserLookupStart()
setUserLookupStart()
public void setUserLookupStart(java.lang.String userLookupStart)
uid=JSmith,ou=marketing,o=myorg.org:
uid= is the lookup start value.
,ou=marketing,o=myorg.org is the lookup end value.
userLookupStart - The user lookup start value.public java.lang.String getUserLookupEnd()
setUserLookupEnd()
public void setUserLookupEnd(java.lang.String userLookupEnd)
uid=JSmith,ou=marketing,o=myorg.org:
uid= is the lookup start value.
,ou=marketing,o=myorg.org is the lookup end value.
userLookupEnd - The user lookup end value.public java.lang.String getUsername()
requireCredentials in the method
setRequireCredentials()
must be set to true.
public void setUsername(java.lang.String username)
requireCredentials in the method
setRequireCredentials()
must be set to true.
username - The user name needed to access a user directory.public java.lang.String getPassword()
requireCredentials in the method
setRequireCredentials()
must be set to true.
public void setPassword(java.lang.String password)
requireCredentials in the method
setRequireCredentials()
must be set to true.
password - The password needed to access a user directory.public int getSearchResults()
public void setSearchResults(int searchResults)
searchResults - The maximum number of records that can
be returned.public int getSearchScope()
getSearchRoot() for more information.
1 (One level - search the root and one level below).2 (Sub tree - search the root and all levels below).
public void setSearchScope(int nSearchScope)
setSearchRoot() for more information.
nSearchScope - One of the following values:1 (One level - search the root and one level below).2 (Sub tree - search the root and all levels below).
public int getSearchTimeout()
public void setSearchTimeout(int searchTimeout)
searchTimeout - The maximum search time in seconds.public boolean getSecureConnection()
true if SSL must be used.
false otherwise.public void setSecureConnection(boolean secureConnection)
secureConnection - true if SSL must be used.
false otherwise.public boolean getRequireCredentials()
true if credentials are necessary to authenticate
against a user directory. false otherwise.public void setRequireCredentials(boolean requireCredentials)
requireCredentials - true if credentials are necessary to
authenticate against a user directory. false otherwise.public boolean getEnableSecurityContext()
true if authenticated user context is enabled
false if authenticated user context is not enabledpublic void setEnableSecurityContext(boolean enableSecurityCtxt)
true - to enable authenticated user context
false to disable authenticated user contextpublic java.lang.String getDisabledAttr()
Gets the name of the user directory attribute that SiteMinder uses to keep track of a user’s enabled or disabled state.
Applies to LDAP and ODBC directories, and possibly to custom directories.
public void setDisabledAttr(java.lang.String disabledAttr)
Sets the name of the user directory attribute that SiteMinder uses to keep track of a user’s enabled or disabled state.
Applies to LDAP and ODBC directories, and possibly to custom directories.
disabledAttr - The enabled/disabled attribute.public java.lang.String getUniversalIDAttr()
Gets the name of the user directory attribute that has been designated as the universal ID. Typically, the universal ID differs from the user’s login ID, and the universal ID is used to look up user information.
Applies to LDAP, ODBC, and WinNT directories, and possibly to custom directories.
public void setUniversalIDAttr(java.lang.String universalIDAttr)
Sets the name of the user directory attribute that has been designated as the universal ID. Typically, the universal ID differs from the user’s login ID, and the universal ID is used to look up user information.
Applies to LDAP, ODBC, and WinNT directories, and possibly to custom directories.
universalIDAttr - The universal ID attribute.public SmObjId getODBCQuery()
public void setODBCQuery(java.lang.Object odbcQuery)
odbcQuery - The object identifier of the ODBC query.public java.lang.String getGuidAttr()
public void setGuidAttr(java.lang.String guidAttr)
guidAttr - The anonymous user distinguished name attribute.public java.lang.String getPasswordDataAttr()
public void setPasswordDataAttr(java.lang.String passwordDataAttr)
passwordDataAttr - The password data attribute.public java.lang.String getPasswordAttr()
public void setPasswordAttr(java.lang.String passwordAttr)
passwordAttr - The password attribute.public java.lang.String getEmailAddressAttr()
public void setEmailAddressAttr(java.lang.String szEmailAddressAttr)
public java.lang.String getChallengeRespAttr()
Gets the name of the user directory attribute that contains a challenge response for SiteMinder to send back to a user -- for example, a hint for a forgotten password.
Applies to LDAP directories, and possibly to custom directories.
public void setChallengeRespAttr(java.lang.String challengeRespAttr)
Sets the name of the user directory attribute that contains a challenge response for SiteMinder to send back to a user -- for example, a hint for a forgotten password.
Applies to LDAP directories, and possibly to custom directories.
challengeRespAttr - The challenge response attribute.public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmObjectImplproperties - The new properties of the object.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||