public class IdentityTokenCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Constructor and Description |
---|
IdentityTokenCallback(java.lang.String prompt)
Creates an instance of the identity token callback.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
This method returns whether the specified object is equal to the
current object.
|
java.lang.String |
getIdentityId()
This method returns the identity identifier of the identity token.
|
java.lang.String |
getPrompt()
This method returns the prompt.
|
java.lang.String |
getSessionId()
This method returns the session Id associated with the identity token.
|
java.lang.String |
getSignature()
This method returns the signature associated with the identity token.
|
java.lang.Long |
getTimestamp()
This method returns the creation time associated with the identity token.
|
int |
hashCode()
This method returns the hash code of the current object.
|
void |
setIdentityId(java.lang.String identityId)
This method sets the identity identifier of the identity token.
|
void |
setSessionId(java.lang.String sessionId)
This method sets the session Id of the identity token.
|
void |
setSignature(java.lang.String signature)
This method sets the signature of the identity token.
|
void |
setTimestamp(java.lang.Long timestamp)
This method sets the creation time of the identity token.
|
public IdentityTokenCallback(java.lang.String prompt)
prompt
- The prompt when asking to specify the information.public java.lang.String getIdentityId()
public void setIdentityId(java.lang.String identityId)
identityId
- The identity identifier.public java.lang.String getPrompt()
public java.lang.String getSignature()
public void setSignature(java.lang.String signature)
signature
- The signature associated with the identity identifier.public java.lang.Long getTimestamp()
public void setTimestamp(java.lang.Long timestamp)
timestamp
- The creation time associated with the identity identifier.public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
sessionId
- The session Id associated with the identity identifier.public boolean equals(java.lang.Object obj)
IdentityTokenCallback
and the identity identifier and
signature equals.equals
in class java.lang.Object
obj
- The object to compare.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()