Package com.sun.identity.security.cert
Class AMLDAPCertStoreParameters
- java.lang.Object
-
- com.sun.identity.security.cert.AMLDAPCertStoreParameters
-
public class AMLDAPCertStoreParameters extends Object
Parameters used to access ldap cert store
-
-
Constructor Summary
Constructors Constructor Description AMLDAPCertStoreParameters(String server, int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()Get ldap password for bindintgetPort()Get port numberStringgetSearchFilter()Get search filter for ldap searchStringgetServerName()Get host nameStringgetStartLoc()Get ldap search start locStringgetURIParams()Get URI params for CRL searchStringgetUser()Get ldap user for bindbooleanisDoCRLCaching()booleanisDoUpdateCRLs()booleanisSecure()Get ldap port is securevoidsetDoCRLCaching(boolean doCRLCaching)voidsetDoCRLUpdate(boolean doCRLupdate)static AMLDAPCertStoreParameterssetLdapStoreParam(AMLDAPCertStoreParameters ldapParams, String user, String passwd, String searchLoc, String uriParamsCRL, boolean secureCon)voidsetPassword(String passwd)Set ldap password for bindvoidsetSearchFilter(String filter)Set search filter for ldap searchvoidsetSecure(boolean secure)Set ldap port is securevoidsetStartLoc(String startloc)Set ldap search start locvoidsetURIParams(String params)Set URI params for CRL searchvoidsetUser(String uid)Set ldap user for bind
-
-
-
Constructor Detail
-
AMLDAPCertStoreParameters
public AMLDAPCertStoreParameters(String server, int port)
- Parameters:
server-port-
-
-
Method Detail
-
setLdapStoreParam
public static AMLDAPCertStoreParameters setLdapStoreParam(AMLDAPCertStoreParameters ldapParams, String user, String passwd, String searchLoc, String uriParamsCRL, boolean secureCon)
-
getServerName
public String getServerName()
Get host name
-
getPort
public int getPort()
Get port number
-
setStartLoc
public void setStartLoc(String startloc)
Set ldap search start loc
-
getStartLoc
public String getStartLoc()
Get ldap search start loc
-
setUser
public void setUser(String uid)
Set ldap user for bind
-
getUser
public String getUser()
Get ldap user for bind
-
setPassword
public void setPassword(String passwd)
Set ldap password for bind
-
getPassword
public String getPassword()
Get ldap password for bind
-
setURIParams
public void setURIParams(String params)
Set URI params for CRL search
-
getURIParams
public String getURIParams()
Get URI params for CRL search
-
setSearchFilter
public void setSearchFilter(String filter)
Set search filter for ldap search
-
getSearchFilter
public String getSearchFilter()
Get search filter for ldap search
-
setSecure
public void setSecure(boolean secure)
Set ldap port is secure
-
isSecure
public boolean isSecure()
Get ldap port is secure
-
isDoCRLCaching
public boolean isDoCRLCaching()
- Returns:
- the doCRLCaching
-
setDoCRLCaching
public void setDoCRLCaching(boolean doCRLCaching)
- Parameters:
doCRLCaching- the doCRLCaching to set
-
isDoUpdateCRLs
public boolean isDoUpdateCRLs()
- Returns:
- the doCRLupdate
-
setDoCRLUpdate
public void setDoCRLUpdate(boolean doCRLupdate)
- Parameters:
doCRLupdate- the doCRLupdate to set
-
-