Skip navigation links

Oracle Security Token Service Java API Reference
11.1.1.5

E22477-01


oracle.security.fed.sts.token.tpe
Interface TokenResult

All Known Implementing Classes:
TokenResultImpl

public interface TokenResult

This interface represents the TokenResult from the Validator or Issuer.


Field Summary
static int FAILURE
          Status indicating failure of processing
static int SUCCESS
          Status indicating successful processing

 

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 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

 

Field Detail

FAILURE

static final int FAILURE
Status indicating failure of processing
See Also:
Constant Field Values

SUCCESS

static final int SUCCESS
Status indicating successful processing
See Also:
Constant Field Values

Method Detail

getResult

int getResult()
Fetches the result code.
Returns:
int value indicating success or failure

getToken

Token getToken()
Fetches the resulting Token
Returns:
the token result created by the operation

getTokenProperties

java.util.Map<java.lang.String,java.lang.Object> getTokenProperties()
Fetches the properties associated with this token
Returns:
a map of the properties associated with the token being returned in the result.

getFailureCode

java.lang.String getFailureCode()
Fetches the failure code if there was a failure during processing
Returns:
the failure code.

getFailureString

java.lang.String getFailureString()
Fetches the Failure string if there was a failure during processing
Returns:
the failure string

Skip navigation links

Oracle Security Token Service Java API Reference
11.1.1.5

E22477-01


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