com.ibm.websphere.wssecurity.callbackhandler
Class UNTGenerateCallback
- java.lang.Object
-
- com.ibm.websphere.wssecurity.callbackhandler.UNTGenerateCallback
-
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
public class UNTGenerateCallback extends java.lang.Object implements javax.security.auth.callback.Callback
This is a callback class for the user name token in generator side.- See Also:
UsernameToken
,UNTGenerateCallback
-
-
Constructor Summary
Constructors Constructor and Description UNTGenerateCallback()
-
Method Summary
Methods Modifier and Type Method and Description boolean
isCreatedTimestamp()
Returns the flag that indicates whether createdTimestamp is set or not.boolean
isNonce()
Returns the flag that indicates whether the nonce is set or not.boolean
isSendRealm()
Returns the flag that indicates whether the realm is sent or not.boolean
isSentRealm()
Deprecated.since v7.0boolean
isUsedIdentityAssertion()
Deprecated.since v7.0boolean
isUsedRunAsSubject()
Deprecated.since v7.0boolean
isUsingIdentityAssertion()
Returns the flag that indicates whether the identity assertion is used or not.boolean
isUsingRunAsSubject()
Returns the flag that indicates whether the runAs subject identity is used or not.boolean
isUsingTrustedRealm()
Returns the flag that indicates whether the trusted realm option is used 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 the nonce is set or not.void
setSendRealm(boolean sendRealm)
Sets the flag that indicates whether the realm is used or not.void
setSentRelm(boolean sendRealm)
Deprecated.since v7.0void
setUsedIdentityAssertion(boolean identityAssertion)
Deprecated.since v7.0void
setUsedRunAsSubject(boolean runAsSubject)
Deprecated.since v7.0void
setUsingIdentityAssertion(boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.void
setUsingRunAsSubject(boolean runAsSubject)
Sets the flag that indicates whether the runAs subject identity is used or not.void
setUsingTrustedRealm(boolean trustedRealm)
Sets the flag that indicates whether the trusted realm option is used or not.
-
-
-
Method Detail
-
isUsedIdentityAssertion
public boolean isUsedIdentityAssertion()
Deprecated. since v7.0Returns the flag that indicates whether the identity assertion is used or not.- Returns:
- true if the identity assertion is required
-
setUsedIdentityAssertion
public void setUsedIdentityAssertion(boolean identityAssertion)
Deprecated. since v7.0Sets the flag that indicates whether the identity assertion is used or not.- Parameters:
identityAssertion
- true if the identity assertion is required
-
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
-
isUsedRunAsSubject
public boolean isUsedRunAsSubject()
Deprecated. since v7.0Returns the flag that indicates whether or the RunAsSubject is used or not.- Returns:
- true if the runAsSubject is required
-
setUsedRunAsSubject
public void setUsedRunAsSubject(boolean runAsSubject)
Deprecated. since v7.0Sets the flag that indicates whether the RunAsSubject is used or not.- Parameters:
runAsSubject
- true if the runAsSubject is required.
-
isUsingRunAsSubject
public boolean isUsingRunAsSubject()
Returns the flag that indicates whether the runAs subject identity is used or not.- Returns:
- true if the runAs subject identity is required
-
setUsingRunAsSubject
public void setUsingRunAsSubject(boolean runAsSubject)
Sets the flag that indicates whether the runAs subject identity is used or not.- Parameters:
runAsSubject
- true if the runAs subject identity is required
-
isSentRealm
public boolean isSentRealm()
Deprecated. since v7.0Returns the flag that indicates whether the realm is sent or not.- Returns:
- true if the realm is sent.
-
isSendRealm
public boolean isSendRealm()
Returns the flag that indicates whether the realm is sent or not.- Returns:
- true if the realm is sent.
-
setSentRelm
public void setSentRelm(boolean sendRealm)
Deprecated. since v7.0Sets the flag that indicates whether the realm is used or not.- Parameters:
sendRealm
- true if the realm is sent
-
setSendRealm
public void setSendRealm(boolean sendRealm)
Sets the flag that indicates whether the realm is used or not.- Parameters:
sendRealm
- true if the realm is sent
-
isUsingTrustedRealm
public boolean isUsingTrustedRealm()
Returns the flag that indicates whether the trusted realm option is used or not.- Returns:
- true if the trusted realm option is required
-
setUsingTrustedRealm
public void setUsingTrustedRealm(boolean trustedRealm)
Sets the flag that indicates whether the trusted realm option is used or not.- Parameters:
trusted
- realm option true if the trusted realm feature is required
-
isCreatedTimestamp
public boolean isCreatedTimestamp()
Returns the flag that indicates whether 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 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 the nonce is set or not.- Parameters:
nonce
- true if the nonce is set
-
-