|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wssecurity.callbackhandler.X509GenerateCallbackHandler
public class X509GenerateCallbackHandler
This class is a callback handler for X.509 binary security token in consumer side. This instance is used to generate WSSSignature object and WSSEncryption object to generate a X.509 binary security token.
X509Token
,
X509PKCS7Token
,
X509PKIPathToken
,
X509GenerateCallback
,
Serialized FormConstructor Summary | |
---|---|
X509GenerateCallbackHandler(boolean requestorCertificate,
boolean identityAssertion)
Class constructor. |
|
X509GenerateCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
Class constructor. |
|
X509GenerateCallbackHandler(java.lang.String storeRef,
java.lang.String storePath,
java.lang.String storeType,
char[] storePassword,
java.lang.String alias,
char[] keyPassword,
java.lang.String keyName,
java.util.List<java.security.cert.CertStore> certStores)
Class constructor with the specified keystore information. |
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets the necessary information to a X509GenerateCallback object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X509GenerateCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
properties
- map including key-value pairspublic X509GenerateCallbackHandler(java.lang.String storeRef, java.lang.String storePath, java.lang.String storeType, char[] storePassword, java.lang.String alias, char[] keyPassword, java.lang.String keyName, java.util.List<java.security.cert.CertStore> certStores)
storeRef
- reference name of the keystorestorePath
- file path from which the keystore is loadedstorePassword
- password used to check the integrity of the
keystore or the password used to unlock the keystorestoreType
- type of the keystorealias
- alias namekeyPassword
- password for recovering the keykeyName
- name of the keycertStores
- list of certificate storespublic X509GenerateCallbackHandler(boolean requestorCertificate, boolean identityAssertion)
requestorCertificate
- true if the certificate of requestor is usedidentityAssertion
- true if identity assertion is usedMethod Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
X509GenerateCallback
object.
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- array of Callback
objects provided by the
underlying security service which contains the information requested
to be retrieved or displayed.
java.io.IOException
- if an input or output error occurs.
javax.security.auth.callback.UnsupportedCallbackException
- if the implementation of this method does not support one or more
of the Callback
s specified in the callbacks parameter.CallbackHandler.handle(javax.security.auth.callback.Callback[])
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |