git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-08-15 22:12:30 +00:00
parent a6f1d756ef
commit e917f46656
1 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ import javax.security.auth.callback.UnsupportedCallbackException;
/** /**
* A Standard JAAS callback handler for SSL certificate requests. Will only * A Standard JAAS callback handler for SSL certificate requests. Will only
* handle callbacks of type CertificateCallback. * handle callbacks of type CertificateCallback.
* *
* @author sepandm@gmail.com (Sepand) * @author sepandm@gmail.com (Sepand)
*/ */
public class JaasCertificateCallbackHandler implements CallbackHandler { public class JaasCertificateCallbackHandler implements CallbackHandler {
@ -35,8 +35,8 @@ public class JaasCertificateCallbackHandler implements CallbackHandler {
/** /**
* Basic constructor. * Basic constructor.
* *
* @param cert The certificate returned when calling back. * @param certs The certificate returned when calling back.
*/ */
public JaasCertificateCallbackHandler(X509Certificate certs[]) { public JaasCertificateCallbackHandler(X509Certificate certs[]) {
certificates = certs; certificates = certs;
@ -44,7 +44,7 @@ public class JaasCertificateCallbackHandler implements CallbackHandler {
/** /**
* Overriding handle method to handle certificates. * Overriding handle method to handle certificates.
* *
* @param callbacks The callbacks requested. * @param callbacks The callbacks requested.
* @throws IOException * @throws IOException
* @throws UnsupportedCallbackException Thrown if an unkown Callback type is * @throws UnsupportedCallbackException Thrown if an unkown Callback type is