Class WSX509CertificateChainCallback
java.lang.Object
com.ibm.wsspi.security.auth.callback.WSX509CertificateChainCallback
- All Implemented Interfaces:
Callback
JAAS Callback for certificates for WebSphere Application Server
The WSX509CertificateChainCallback
allows a certificate chain to be
gathered by a CallbackHandler
and passed to a LoginModule
stack.
-
Constructor Summary
ConstructorDescriptionWSX509CertificateChainCallback
(String prompt) Construct aWSX509CertificateChainCallback
object with a prompt hint.WSX509CertificateChainCallback
(String prompt, X509Certificate[] certChain) Construct aWSX509CertificateChainCallback
object with a prompt hint and a java.security.cert.X509Certificate[]. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificate chainvoid
setX509CertificateChain
(X509Certificate[] certChain) Set the certificate chaintoString()
Returns the name of the Callback.
-
Constructor Details
-
WSX509CertificateChainCallback
Construct aWSX509CertificateChainCallback
object with a prompt hint.- Parameters:
prompt
- A String prompt hint.
-
WSX509CertificateChainCallback
Construct a
WSX509CertificateChainCallback
object with a prompt hint and a java.security.cert.X509Certificate[].- Parameters:
prompt
- A String prompt hint.certChain
- An array of java.security.cert.X509Certificate
-
-
Method Details
-
setX509CertificateChain
Set the certificate chain- Parameters:
certChain
- an array of java.security.cert.X509Certificate[]
-
getX509CertificateChain
Get the certificate chain- Returns:
- an array of java.security.cert.X509Certificate[]
-
getPrompt
- Returns:
- the String prompt
-
toString
Returns the name of the Callback. Typically, it is the name of the class.
-