org.openmdx.security.auth.servlet.simple
Class SimplePrivateKeyProvider
java.lang.Object
org.openmdx.security.auth.servlet.spi.AbstractHandler
org.openmdx.security.auth.servlet.simple.SimplePrivateKeyProvider
- All Implemented Interfaces:
- ServletConfig, org.openmdx.kernel.security.pki.CertificateProvider, org.openmdx.kernel.security.pki.KeyProvider, org.openmdx.kernel.security.resource.Connection, HttpHandler
public class SimplePrivateKeyProvider
- extends AbstractHandler
- implements org.openmdx.kernel.security.pki.KeyProvider
Simple KeyPovider
| Methods inherited from class org.openmdx.security.auth.servlet.spi.AbstractHandler |
debugDefault, destroy, endBody, endDocument, endHead, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getServletContext, getServletName, init, isDebug, log, log, startBody, startDocument, startHead, writeEncoded |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePrivateKeyProvider
public SimplePrivateKeyProvider()
init
protected void init()
throws ServletException
- Description copied from class:
AbstractHandler
- A convenience method which can be overridden so that there's no need to
call
super.init(config).
Instead of overriding init(ServletConfig), simply override
this method and it will be called by
AbstractHandler.init(ServletConfig).
- Overrides:
init in class AbstractHandler
- Throws:
ServletException
getAlias
public String getAlias()
- Specified by:
getAlias in interface org.openmdx.kernel.security.pki.CertificateProvider
getKey
public Key getKey()
throws KeyException
- Specified by:
getKey in interface org.openmdx.kernel.security.pki.KeyProvider
- Throws:
KeyException
getCertificate
public Certificate getCertificate()
throws GeneralSecurityException
- Specified by:
getCertificate in interface org.openmdx.kernel.security.pki.CertificateProvider
- Throws:
GeneralSecurityException
close
public void close()
- Specified by:
close in interface org.openmdx.kernel.security.resource.Connection
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.