at.knowcenter.wag.egov.egiz.ldap.api
Class LDAPAPIImpl

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.ldap.api.LDAPAPIImpl
All Implemented Interfaces:
LDAPAPI

public class LDAPAPIImpl
extends Object
implements LDAPAPI

Author:
Thomas Knall

Field Summary
 
Fields inherited from interface at.knowcenter.wag.egov.egiz.sig.LDAPAPI
SYS_PROP_IMPLEMENTATION
 
Constructor Summary
protected LDAPAPIImpl()
           
 
Method Summary
 String getURL(String issuer)
          Returns the url of the ldap server.
 byte[] loadBase64CertificateFromLDAP(String serialNumber, String issuer)
          Retrieves an certificate from the ldap server identified by serial number and issuer name.
 void setIssuerNameFilter(LDAPIssuerNameFilter filter)
          Sets the filter that has to be applied before trying to match the issuer name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPAPIImpl

protected LDAPAPIImpl()
Method Detail

getURL

public String getURL(String issuer)
Description copied from interface: LDAPAPI
Returns the url of the ldap server.

Specified by:
getURL in interface LDAPAPI
Parameters:
issuer - The issuer name.
Returns:
The ldap url.

loadBase64CertificateFromLDAP

public byte[] loadBase64CertificateFromLDAP(String serialNumber,
                                            String issuer)
Description copied from interface: LDAPAPI
Retrieves an certificate from the ldap server identified by serial number and issuer name.

Specified by:
loadBase64CertificateFromLDAP in interface LDAPAPI
Parameters:
serialNumber - The serial number.
issuer - The issuer name.
Returns:
BASE64 encoded certificate

setIssuerNameFilter

public void setIssuerNameFilter(LDAPIssuerNameFilter filter)
                         throws LDAPAPIException
Description copied from interface: LDAPAPI
Sets the filter that has to be applied before trying to match the issuer name.

Specified by:
setIssuerNameFilter in interface LDAPAPI
Parameters:
filter - The filter.
Throws:
LDAPAPIException


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.