|
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.SmCertMap
public final class SmCertMap
Represents a SiteMinder certificate mapping object.
This object has global scope.
| Field Summary | |
|---|---|
static int |
CertMapAttrType_Custom
The Certificate mapping attribute type is Custom. |
static int |
CertMapAttrType_Exact
The Certificate mapping attribute type is Exact. |
static int |
CertMapAttrType_Single
The Certificate mapping attribute type is Single. |
static int |
CertMapFlags_Cache
Setting this flag causes SiteMinder to use cached Certificate Revocation List (CRL) information until the date specified in the NextUpdate field in the CRL. |
static int |
CertMapFlags_CertRequired
Setting this flag causes SiteMinder to verify that the certificate presented by the user matches the certificate stored in the user's entry in the authentication directory. |
static int |
CertMapFlags_CRLCheck
Setting this flag causes the Policy Server to retrieve a CRL from an LDAP directory, verify the CRL, and validate that the user's certificate has not been revoked. |
static int |
CertMapFlags_UseDistributionPoints
If the Certificate Revocation List (CRL) uses distribution points, set this flag. |
static int |
CertMapFlags_VerifySignature
Setting this flag causes the Policy Server to check the Certificate Authority's public certificate against a signature stored in the policy database. |
static int |
DirType_LDAP
The directory type in Certificate mapping is LDAP. |
static int |
DirType_ODBC
The directory type in Certificate mapping is ODBC. |
static int |
DirType_WinNT
The directory type in Certificate mapping is Windows NT. |
static java.lang.String |
PropCertMaps
Property name to be specified in the method . |
static java.lang.String |
PropDirType
The object's directory type property. |
static java.lang.String |
PropFlags
The object's flags property. |
static java.lang.String |
PropIssuerDN
The distinguished name of the server certificate property. |
static java.lang.String |
PropLDAPCaDN
The distinguished name of the issuing Certificate Authority. |
static java.lang.String |
PropMapToLDAP
The object's map to LDAP property. |
static java.lang.String |
PropUserDirectory
The object's user directory property (searchable). |
| 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 | |
|---|---|
SmCertMap()
Constructs a Certificate mapping object. |
|
SmCertMap(java.lang.String oid)
Constructs a Certificate mapping object with the specified object identifier. |
|
| Method Summary | |
|---|---|
int |
getAttrType()
Gets the type of the attribute. |
java.lang.String |
getCADN()
Gets the distinguished name of the issuing Certificate Authority. |
java.lang.String |
getDescription()
Gets the description of the object. |
int |
getDirType()
Gets the type of the directory. |
int |
getFlags()
Gets the flags. |
java.lang.String |
getIssuerDN()
Gets the distinguished name of the server certificate. |
java.lang.String |
getMapAttr()
Gets the mapping attribute. |
java.lang.String |
getName()
This method returns null. |
SmObjId |
getUserDir()
Gets the user directory. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setAttrType(int attrType)
Sets the type of the attribute. |
void |
setCADN(java.lang.String caDN)
Sets the distinguished name of the issuing Certificate Authority. |
void |
setDescription(java.lang.String description)
Certificate mapping objects do not have a description property. |
void |
setDirType(int dirType)
Sets the type of the directory. |
void |
setFlags(int flags)
Sets the flags. |
void |
setIssuerDN(java.lang.String issuerDN)
Sets the distinguished name of the server certificate. |
void |
setMapAttr(java.lang.String mapAttr)
Sets the mapping attribute. |
void |
setName(java.lang.String name)
Certificate mapping object names are automatically constructed by the API. |
void |
setUserDir(java.lang.Object userDirectory)
Sets the user directory. |
java.lang.String |
toString()
Gets the name of the object. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getObjectClassname, getOid, isDomainObject, isWriteable, newObject, setObjectClassname, setOid, setOid, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PropCertMaps
getGlobalObjectNames().
public static final java.lang.String PropIssuerDN
public static final java.lang.String PropUserDirectory
public static final java.lang.String PropMapToLDAP
public static final java.lang.String PropLDAPCaDN
public static final java.lang.String PropDirType
public static final java.lang.String PropFlags
public static final int DirType_LDAP
public static final int DirType_WinNT
public static final int DirType_ODBC
public static final int CertMapAttrType_Single
public static final int CertMapAttrType_Custom
public static final int CertMapAttrType_Exact
public static final int CertMapFlags_CertRequired
public static final int CertMapFlags_UseDistributionPoints
CertMapFlags_CRLCheck.
public static final int CertMapFlags_VerifySignature
CertMapFlags_CRLCheck.
public static final int CertMapFlags_CRLCheck
public static final int CertMapFlags_Cache
CertMapFlags_CRLCheck.
| Constructor Detail |
|---|
public SmCertMap()
public SmCertMap(java.lang.String oid)
oid - Object identifier of the Certificate mapping object.| Method Detail |
|---|
public java.lang.String getName()
toString() to get the constructed name of certificate mapping object.
getName in interface SmObjectgetName in class SmObjectImplpublic java.lang.String toString()
directoryTypeName +
issuerDN
toString in interface SmObjecttoString in class SmObjectImplpublic void setName(java.lang.String name)
Certificate mapping object names are automatically constructed by the API. Do not call this method.
SeegetName() for more information.
setName in interface SmObjectsetName in class SmObjectImplname - The name of the object.public void setDescription(java.lang.String description)
null.
setDescription in interface SmObjectsetDescription in class SmObjectImpldescription - The description of the object.public java.lang.String getDescription()
getDescription in interface SmObjectgetDescription in class SmObjectImplnullpublic void setUserDir(java.lang.Object userDirectory)
userDirectory - The user directory.public SmObjId getUserDir()
public void setIssuerDN(java.lang.String issuerDN)
issuerDN - The distinguished name of the server certificate.public java.lang.String getIssuerDN()
public void setCADN(java.lang.String caDN)
caDN - The distinguished name of the issuing Certificate Authority.public java.lang.String getCADN()
public void setFlags(int flags)
flags - The flags.public int getFlags()
public void setAttrType(int attrType)
attrType - The type of the attribute.public int getAttrType()
public void setMapAttr(java.lang.String mapAttr)
%{attribute_name}
attribute_name is the name of the
attribute used for matching the following items:
UserAttribute=%{CertificateAttribute},UserAttribute2=%{CertificateAttribute}
mapAttr - The mapping attribute.public java.lang.String getMapAttr()
public void setDirType(int dirType)
DirType_LDAP = 1 DirType_WinNT = 2 DirType_ODBC = 3
dirType - The type of the directory.public int getDirType()
Gets the type of the directory.
Directory type is as follows:DirType_LDAP = 1 DirType_WinNT = 2 DirType_ODBC = 3
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 | ||||||||