at.knowcenter.wag.egov.egiz.sig
Class DummyLDAPAPI

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.sig.DummyLDAPAPI
All Implemented Interfaces:
LDAPAPI

Deprecated. Use at.knowcenter.wag.egov.egiz.ldap.api.LDAPAPIFactory#createLDAPAPI() instead.

public class DummyLDAPAPI
extends Object
implements LDAPAPI

This is just a dummy implementation until the real Egiz LDAP API is implemented.

Author:
wprinz, modified by Thomas Knall

Field Summary
 
Fields inherited from interface at.knowcenter.wag.egov.egiz.sig.LDAPAPI
SYS_PROP_IMPLEMENTATION
 
Constructor Summary
DummyLDAPAPI(String url)
          Deprecated.  
 
Method Summary
 String getURL(String issuer)
          Deprecated. Returns the url of the ldap server.
 byte[] loadBase64CertificateFromLDAP(String serial_number, String issuer)
          Deprecated. Retrieves an certificate from the ldap server identified by serial number and issuer name.
 void setIssuerNameFilter(LDAPIssuerNameFilter filter)
          Deprecated. 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

DummyLDAPAPI

public DummyLDAPAPI(String url)
Deprecated. 
Method Detail

getURL

public String getURL(String issuer)
Deprecated. 
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 serial_number,
                                            String issuer)
Deprecated. 
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:
serial_number - The serial number.
issuer - The issuer name.
Returns:
BASE64 encoded certificate

setIssuerNameFilter

public void setIssuerNameFilter(LDAPIssuerNameFilter filter)
                         throws LDAPAPIException
Deprecated. 
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.