org.apache.activemq.jaas
Class CertificateCallback

java.lang.Object
  extended by org.apache.activemq.jaas.CertificateCallback
All Implemented Interfaces:
Callback

public class CertificateCallback
extends Object
implements Callback

A Callback for SSL certificates. Will return a certificate chain to its client.

Author:
sepandm@gmail.com (Sepand)

Constructor Summary
CertificateCallback()
           
 
Method Summary
 X509Certificate[] getCertificates()
          Getter for certificate chain.
 void setCertificates(X509Certificate[] certs)
          Setter for certificate chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateCallback

public CertificateCallback()
Method Detail

setCertificates

public void setCertificates(X509Certificate[] certs)
Setter for certificate chain.

Parameters:
certs - The certificates to be returned.

getCertificates

public X509Certificate[] getCertificates()
Getter for certificate chain.

Returns:
The certificates being carried.


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.