org.apache.activemq.jaas
Class JaasCertificateCallbackHandler
java.lang.Object
org.apache.activemq.jaas.JaasCertificateCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class JaasCertificateCallbackHandler
- extends Object
- implements CallbackHandler
A Standard JAAS callback handler for SSL certificate requests. Will only
handle callbacks of type CertificateCallback.
- Author:
- sepandm@gmail.com (Sepand)
Method Summary |
void |
handle(Callback[] callbacks)
Overriding handle method to handle certificates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasCertificateCallbackHandler
public JaasCertificateCallbackHandler(X509Certificate[] certs)
- Basic constructor.
- Parameters:
cert
- The certificate returned when calling back.
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Overriding handle method to handle certificates.
- Specified by:
handle
in interface CallbackHandler
- Parameters:
callbacks
- The callbacks requested.
- Throws:
IOException
UnsupportedCallbackException
- Thrown if an unkown Callback type is
encountered.
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.