com.ibm.websphere.wssecurity.callbackhandler
Class UNTConsumeCallback
- java.lang.Object
-
- 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
Constructors Constructor and Description UNTConsumeCallback()
-
Method Summary
Methods Modifier and Type Method and Description 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.
-
-
-
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
-
-