org.openmdx.base.security.pki
Class DeployedCertificateProvider

java.lang.Object
  extended by org.openmdx.base.security.pki.DeployedCertificateProvider
All Implemented Interfaces:
CertificateProvider, Connection
Direct Known Subclasses:
DeployedKeyProvider

public class DeployedCertificateProvider
extends Object
implements CertificateProvider

Deployed Key Provider


Constructor Summary
DeployedCertificateProvider()
          Constructor
DeployedCertificateProvider(String jndiName)
          Constructor
 
Method Summary
 void close()
          Closes this connection and releases any system resources associated with it.
 String getAlias()
          Retrieve the Certificate's alias
 Certificate getCertificate()
          Retrieve this provider's Certificate
protected  Connection getDelegate()
          Retrieve the connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmdx.kernel.security.resource.Connection
close
 

Constructor Detail

DeployedCertificateProvider

public DeployedCertificateProvider()
                            throws NamingException
Constructor

Throws:
NamingException

DeployedCertificateProvider

public DeployedCertificateProvider(String jndiName)
                            throws NamingException
Constructor

Throws:
NamingException
Method Detail

getAlias

public String getAlias()
                throws GeneralSecurityException
Description copied from interface: CertificateProvider
Retrieve the Certificate's alias

Specified by:
getAlias in interface CertificateProvider
Returns:
the Certificate's alias.
Throws:
GeneralSecurityException

getCertificate

public Certificate getCertificate()
                           throws GeneralSecurityException
Description copied from interface: CertificateProvider
Retrieve this provider's Certificate

Specified by:
getCertificate in interface CertificateProvider
Returns:
this provider's Certificate
Throws:
GeneralSecurityException

getDelegate

protected Connection getDelegate()
                          throws GeneralSecurityException
Retrieve the connection

Returns:
Throws:
GeneralSecurityException

close

public void close()
Description copied from interface: Connection
Closes this connection and releases any system resources associated with it. If the connection is already closed then invoking this method has no effect.

Specified by:
close in interface Connection


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.