|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wssecurity.callbackhandler.SCTGenerateCallbackHandler
public class SCTGenerateCallbackHandler
This class is a callback handler for security context token in generator side.
This instance is used to generate WSSSignature object and
WSSEncryption object
to generate a security context token.
If the dispach object is set, the implementation prioritize the policy set or WSSAPI.
When the policy set is applied to the application, the WSSAPI will be disabled.
SecurityContextToken
,
SCTGenerateCallback
,
Serialized FormConstructor Summary | |
---|---|
SCTGenerateCallbackHandler(SecurityContextToken token,
WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String signatureAlgorithm,
int signatureKeyLength,
java.lang.String encryptionAlgorithm,
int encryptionKeyLength,
java.lang.String serviceLabel,
java.lang.String clientLabel)
Class constructor |
|
SCTGenerateCallbackHandler(SecurityContextToken token,
WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String signatureAlgorithm,
int signatureKeyLength,
java.lang.String encryptionAlgorithm,
int encryptionKeyLength,
java.lang.String serviceLabel,
java.lang.String clientLabel,
javax.xml.ws.Dispatch dispatch)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont,
javax.xml.ws.Dispatch dispatch)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String serviceEndpointAddress,
boolean requiredDKT)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String serviceEndpointAddress,
boolean requiredDKT,
javax.xml.ws.Dispatch dispatch)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String serviceEndpointAddress,
javax.xml.ws.Dispatch dispatch)
Class constructor |
|
SCTGenerateCallbackHandler(WSSGenerationContext gencont,
WSSConsumingContext concont,
java.lang.String serviceEndpointAddress,
java.lang.String encryptionAlgorithm)
Class constructor |
Method Summary | |
---|---|
java.lang.String |
getClientLabel()
Returns the label for client. |
int |
getKeyBytesLength()
|
int |
getNonceBytesLength()
|
boolean |
getRequiredDKT()
|
java.lang.String |
getServerLabel()
Returns the label for service. |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets necessary information to a SCTGenerateCallback object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String serviceEndpointAddress, boolean requiredDKT)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectserviceEndpointAddress
- the address to require the security context tokenrequiredDKT
- whether the derived key token is required or notpublic SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String serviceEndpointAddress, java.lang.String encryptionAlgorithm)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectserviceEndpointAddress
- the address to require the security context tokenencryptionAlgorithm
- the algorithm for the encryptionpublic SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectpublic SCTGenerateCallbackHandler(SecurityContextToken token, WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String signatureAlgorithm, int signatureKeyLength, java.lang.String encryptionAlgorithm, int encryptionKeyLength, java.lang.String serviceLabel, java.lang.String clientLabel)
token
- the security context tokengencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectsignatureAlgorithm
- the algorithm for the signaturesignatureKeyLength
- the length of key for the signature (bytes)encryptionAlgorithm
- the algorithm for the encryptionencryptionKeyLength
- the length of key for the encryption (bytes)serverLabel
- the server labelclientLabel
- the client labelpublic SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String serviceEndpointAddress, boolean requiredDKT, javax.xml.ws.Dispatch dispatch)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectserviceEndpointAddress
- the address to require the security context tokenrequiredDKT
- whether the derived key token is required or notdispatch
- Dispatch of JAX-WS(@see javax.xml.ws.Dispatch)public SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String serviceEndpointAddress, javax.xml.ws.Dispatch dispatch)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectserviceEndpointAddress
- the address to require the security context tokendispatch
- Dispatch of JAX-WS(@see javax.xml.ws.Dispatch)public SCTGenerateCallbackHandler(WSSGenerationContext gencont, WSSConsumingContext concont, javax.xml.ws.Dispatch dispatch)
gencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectdispatch
- Dispatch of JAX-WS(@see javax.xml.ws.Dispatch)public SCTGenerateCallbackHandler(SecurityContextToken token, WSSGenerationContext gencont, WSSConsumingContext concont, java.lang.String signatureAlgorithm, int signatureKeyLength, java.lang.String encryptionAlgorithm, int encryptionKeyLength, java.lang.String serviceLabel, java.lang.String clientLabel, javax.xml.ws.Dispatch dispatch)
token
- the security context tokengencont
- WSSGenerationContext objectconcont
- WSSConsumingContext objectsignatureAlgorithm
- the algorithm for the signaturesignatureKeyLength
- the length of key for the signature (bytes)encryptionAlgorithm
- the algorithm for the encryptionencryptionKeyLength
- the length of key for the encryption (bytes)serviceLabel
- the service labelclientLabel
- the client labeldispatch
- Dispatch of JAX-WS(@see javax.xml.ws.Dispatch)Method Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
SCTGenerateCallback
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[])
public java.lang.String getClientLabel()
public java.lang.String getServerLabel()
public boolean getRequiredDKT()
public int getKeyBytesLength()
public int getNonceBytesLength()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |