Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Security Token Service
11g Release 2 (11.1.2)

E27138-01


oracle.security.fed.sts.token.tpe
Class TokenResultImpl

java.lang.Object
  extended by oracle.security.fed.sts.token.tpe.TokenResultImpl

All Implemented Interfaces:
TokenResult

public class TokenResultImpl
extends java.lang.Object
implements TokenResult

Field Summary

 

Fields inherited from interface oracle.security.fed.sts.token.tpe.TokenResult
FAILURE, SUCCESS

 

Constructor Summary
TokenResultImpl(int req, int res, Token tokenObject)
           

 

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()
          Returns the token processing result.
 Token getToken()
          Returns the 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)
           
 void setFailureCode(java.lang.String failureCode)
           
 void setFailureString(java.lang.String failureString)
           
 void setTokenProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
           
 void setTokenProperty(java.lang.String name, java.lang.Object value)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TokenResultImpl

public TokenResultImpl(int req,
                       int res,
                       Token tokenObject)

Method Detail

getFailureCode

public java.lang.String getFailureCode()
Description copied from interface: TokenResult
Fetches the failure code if there was a failure during processing
Specified by:
getFailureCode in interface TokenResult
Returns:
the failure code.

setFailureCode

public void setFailureCode(java.lang.String failureCode)

getFailureString

public java.lang.String getFailureString()
Description copied from interface: TokenResult
Fetches the Failure string if there was a failure during processing
Specified by:
getFailureString in interface TokenResult
Returns:
the failure string

setFailureString

public void setFailureString(java.lang.String failureString)

getTokenProperty

public java.lang.Object getTokenProperty(java.lang.String name)

getTokenProperties

public java.util.Map<java.lang.String,java.lang.Object> getTokenProperties()
Description copied from interface: TokenResult
Fetches the properties associated with this token
Specified by:
getTokenProperties in interface TokenResult
Returns:
a map of the properties associated with the token being returned in the result.

setTokenProperties

public void setTokenProperties(java.util.Map<java.lang.String,java.lang.Object> properties)

setTokenProperty

public void setTokenProperty(java.lang.String name,
                             java.lang.Object value)

getRequestType

public int getRequestType()
Returns the type of token request associated with this result.

getResult

public int getResult()
Returns the token processing result.
Specified by:
getResult in interface TokenResult
Returns:
int value indicating success or failure

getToken

public Token getToken()
Returns the Token.
Specified by:
getToken in interface TokenResult
Returns:
the token result created by the operation

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Security Token Service
11g Release 2 (11.1.2)

E27138-01


Copyright © 2011, 2012, Oracle and/or its affiliates. All rights reserved.