|
Oracle Security Token Service Java API Reference 11.1.1.5 E22477-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.fed.sts.token.tpe.TokenResultImpl
public class TokenResultImpl
This class contains the TokenResult from the Validator or Issuer.
Field Summary |
---|
Fields inherited from interface oracle.security.fed.sts.token.tpe.TokenResult |
---|
FAILURE, SUCCESS |
Constructor Summary | |
---|---|
TokenResultImpl(int req, int res, Token tokenObject) Creates a TokenResultImpl object |
Method Summary | |
---|---|
java.lang.String |
getFailureCode() Fetches the failure code if there was a failure during processing |
java.lang.String |
getFailureString() Fetches the Failure string if there was a failure during processing |
int |
getRequestType() Returns the type of token request associated with this result. |
int |
getResult() Fetches the result code. |
Token |
getToken() Fetches the resulting Token |
java.util.Map<java.lang.String,java.lang.Object> |
getTokenProperties() Fetches the properties associated with this token |
java.lang.Object |
getTokenProperty(java.lang.String name) Fetches the properties associated with this token |
void |
setFailureCode(java.lang.String failureCode) Sets the failure code. |
void |
setFailureString(java.lang.String failureString) Sets the failure string |
void |
setTokenProperties(java.util.Map<java.lang.String,java.lang.Object> properties) Sets the token properties |
void |
setTokenProperty(java.lang.String name, java.lang.Object value) Sets a token property |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenResultImpl(int req, int res, Token tokenObject)
req,
- integer indicating token request typeres,
- integer indicating the resulttokenObject,
- a token objectMethod Detail |
---|
public java.lang.String getFailureCode()
getFailureCode
in interface TokenResult
public void setFailureCode(java.lang.String failureCode)
failureCode,
- a string value of the failure codepublic java.lang.String getFailureString()
getFailureString
in interface TokenResult
public void setFailureString(java.lang.String failureString)
failureString,
- the failure stringpublic java.lang.Object getTokenProperty(java.lang.String name)
name,
- the name of the property to returnpublic java.util.Map<java.lang.String,java.lang.Object> getTokenProperties()
getTokenProperties
in interface TokenResult
public void setTokenProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties,
- a Map object containing the token propertiespublic void setTokenProperty(java.lang.String name, java.lang.Object value)
name,
- the name of the propertyvalue,
- the value for the propertypublic int getRequestType()
public int getResult()
getResult
in interface TokenResult
public Token getToken()
getToken
in interface TokenResult
|
Oracle Security Token Service Java API Reference 11.1.1.5 E22477-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |