|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.ldap.client.LDAPClientImpl
public final class LDAPClientImpl
Field Summary | |
---|---|
protected static String |
DEFAULT_LDAP_ATTR_SERIAL_NUMBER
|
Constructor Summary | |
---|---|
protected |
LDAPClientImpl()
|
protected |
LDAPClientImpl(LDAPMapping ldapMapping)
|
protected |
LDAPClientImpl(String urlString)
|
protected |
LDAPClientImpl(URL url)
|
Method Summary | |
---|---|
String |
getSerialNumberAttrName()
Returns the attribute name that represents the serial number. |
URL |
getUrl()
Returns the ldap url this client was registered for. |
iaik.x509.X509Certificate |
retrieveCertificate(BigInteger serialNumber)
Retriebes the certificate with the serial number serialNumber . |
iaik.x509.X509Certificate[] |
retrieveCertificates(String filter)
Retrieves the certificate(s) matching the filter filter . |
void |
setSerialNumberAttrName(String serialNumberAttrName)
Sets the attribute name that represents the serial number. |
void |
setUrl(URL ldapURL)
Sets the ldap url this client should be registered for. |
String |
toString()
|
void |
validateData()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String DEFAULT_LDAP_ATTR_SERIAL_NUMBER
Constructor Detail |
---|
protected LDAPClientImpl()
protected LDAPClientImpl(URL url)
protected LDAPClientImpl(String urlString) throws LDAPException
LDAPException
protected LDAPClientImpl(LDAPMapping ldapMapping)
Method Detail |
---|
public URL getUrl()
LDAPClient
getUrl
in interface LDAPClient
public void setUrl(URL ldapURL)
LDAPClient
setUrl
in interface LDAPClient
ldapURL
- The ldap url linked with this client.public String getSerialNumberAttrName()
LDAPClient
getSerialNumberAttrName
in interface LDAPClient
public void setSerialNumberAttrName(String serialNumberAttrName)
LDAPClient
setSerialNumberAttrName
in interface LDAPClient
serialNumberAttrName
- The attribute name representing the serial number.public iaik.x509.X509Certificate[] retrieveCertificates(String filter) throws LDAPException
LDAPClient
filter
.
retrieveCertificates
in interface LDAPClient
filter
- The filter for the ldap request.
filter
.
LDAPException
- Is thrown in case of error.public iaik.x509.X509Certificate retrieveCertificate(BigInteger serialNumber) throws LDAPException
LDAPClient
serialNumber
.
retrieveCertificate
in interface LDAPClient
serialNumber
- The serial number of the required certificate.
serialNumber
.
LDAPException
- Is thrown in case of error.public void validateData() throws LDAPException
LDAPException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |