com.ibm.websphere.wssecurity.callbackhandler

Class UNTConsumeCallback

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wssecurity.callbackhandler.UNTConsumeCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class UNTConsumeCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback
This is a callback class for the user name token in consumer side.
See Also:
com.ibm.websphere.wssecurity.wssapi.token.UsenameToken, UNTConsumeCallback

Constructor Summary

Constructor and Description
UNTConsumeCallback()

Method Summary

Modifier and Type Method and Description
  1. boolean
isCreatedTimestamp()
Returns the flag that indicates whether the createdTimestamp is set or not.
  1. boolean
isNonce()
Returns the flag that indicates whether the nonce is set or not.
  1. boolean
isUsingIdentityAssertion()
Returns the flag that indicates whether the identity assertion is used or not.
  1. boolean
isUsingTrustedRealm()
Returns the flag that indicates whether the trusted realm option is selected or not.
  1. void
setCreatedTimestamp(boolean createdTimestamp)
Sets the flag that indicates whether the createdTimestamp is set or not.
  1. void
setNonce(boolean nonce)
Sets the flag that indicates whether or the nonce is set or not.
  1. void
setUsingIdentityAssertion(boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.
  1. void
setUsingTrustedRealm(boolean trustedRealm)
Sets the flag that indicates whether the trusted realm option is selected or not.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

UNTConsumeCallback

  1. public UNTConsumeCallback()

Method Detail

isCreatedTimestamp

  1. public boolean isCreatedTimestamp( )
Returns the flag that indicates whether the createdTimestamp is set or not.
Returns:
true if the createdTimestamp is set.

setCreatedTimestamp

  1. public void setCreatedTimestamp( boolean createdTimestamp)
Sets the flag that indicates whether the createdTimestamp is set or not.
Parameters:
createdTimestamp - true if the createdTimestamp is set

isNonce

  1. public boolean isNonce()
Returns the flag that indicates whether the nonce is set or not.
Returns:
true if the nonce is set

setNonce

  1. public void setNonce(boolean nonce)
Sets the flag that indicates whether or the nonce is set or not.

isUsingIdentityAssertion

  1. public boolean isUsingIdentityAssertion( )
Returns the flag that indicates whether the identity assertion is used or not.
Returns:
true if the identity assertion is required

setUsingIdentityAssertion

  1. public void setUsingIdentityAssertion( boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.
Parameters:
identityAssertion - true if the identity assertion is required

isUsingTrustedRealm

  1. public boolean isUsingTrustedRealm( )
Returns the flag that indicates whether the trusted realm option is selected or not.
Returns:
true if the trusted realm feature is selected.

setUsingTrustedRealm

  1. public void setUsingTrustedRealm( boolean trustedRealm)
Sets the flag that indicates whether the trusted realm option is selected or not.
Parameters:
trustedRealm - true if the trusted realm feature is selected