IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.wssecurity.callbackhandler
Class UNTConsumeCallback

java.lang.Object
  extended by com.ibm.websphere.wssecurity.callbackhandler.UNTConsumeCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class UNTConsumeCallback
extends java.lang.Object
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
UNTConsumeCallback()
           
 
Method Summary
 boolean isCreatedTimestamp()
          Returns the flag that indicates whether the createdTimestamp is set or not.
 boolean isNonce()
          Returns the flag that indicates whether the nonce is set or not.
 boolean isUsingIdentityAssertion()
          Returns the flag that indicates whether the identity assertion is used or not.
 boolean isUsingTrustedRealm()
          Returns the flag that indicates whether the trusted realm option is selected or not.
 void setCreatedTimestamp(boolean createdTimestamp)
          Sets the flag that indicates whether the createdTimestamp is set or not.
 void setNonce(boolean nonce)
          Sets the flag that indicates whether or the nonce is set or not.
 void setUsingIdentityAssertion(boolean identityAssertion)
          Sets the flag that indicates whether the identity assertion is used or not.
 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

public UNTConsumeCallback()
Method Detail

isCreatedTimestamp

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

Returns:
true if the createdTimestamp is set.

setCreatedTimestamp

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

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

Returns:
true if the nonce is set

setNonce

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

Parameters:
sendRealm - true if the nonce is set

isUsingIdentityAssertion

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

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

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

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

IBM WebSphere Application ServerTM
Release 7