mirror of https://github.com/apache/activemq.git
Applied a patch from: https://issues.apache.org/jira/browse/AMQ-3260
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a6f1d756ef
commit
e917f46656
|
@ -27,7 +27,7 @@ import javax.security.auth.callback.UnsupportedCallbackException;
|
|||
/**
|
||||
* A Standard JAAS callback handler for SSL certificate requests. Will only
|
||||
* handle callbacks of type CertificateCallback.
|
||||
*
|
||||
*
|
||||
* @author sepandm@gmail.com (Sepand)
|
||||
*/
|
||||
public class JaasCertificateCallbackHandler implements CallbackHandler {
|
||||
|
@ -35,8 +35,8 @@ public class JaasCertificateCallbackHandler implements CallbackHandler {
|
|||
|
||||
/**
|
||||
* Basic constructor.
|
||||
*
|
||||
* @param cert The certificate returned when calling back.
|
||||
*
|
||||
* @param certs The certificate returned when calling back.
|
||||
*/
|
||||
public JaasCertificateCallbackHandler(X509Certificate certs[]) {
|
||||
certificates = certs;
|
||||
|
@ -44,7 +44,7 @@ public class JaasCertificateCallbackHandler implements CallbackHandler {
|
|||
|
||||
/**
|
||||
* Overriding handle method to handle certificates.
|
||||
*
|
||||
*
|
||||
* @param callbacks The callbacks requested.
|
||||
* @throws IOException
|
||||
* @throws UnsupportedCallbackException Thrown if an unkown Callback type is
|
||||
|
|
Loading…
Reference in New Issue