Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social


oracle.security.idaas.rest.jaxrs.client.sdk.authentication
Class TokenExchangeRequestImpl

java.lang.Object
  extended by oracle.security.idaas.rest.jaxrs.client.sdk.authentication.TokenExchangeRequestImpl

All Implemented Interfaces:
TokenExchangeRequest

public class TokenExchangeRequestImpl
extends java.lang.Object
implements TokenExchangeRequest

Java representation of JSON payload on a create token request. This request includes credentials which include a token so in a sense does token exchange.


Constructor Summary
TokenExchangeRequestImpl()
          No arg constructor to create an instance of the request data.
TokenExchangeRequestImpl(java.lang.String subjectType, java.lang.String subjectValue, java.lang.String resource, java.lang.String context, java.lang.String tokenTypeToCreate)
          Constructor to create an instance of the request data.

 

Method Summary
 java.lang.String getContext()
          Get the context for the token to create.
 java.lang.String getResource()
          Get the resource for the token to create.
 java.lang.String getSubjectType()
          Get the subject type associated with the existing token.
 java.lang.String getSubjectValue()
          Get the subject value associated with the existing token.
 java.lang.String getTokenTypeToCreate()
          Get the type of the new token to create.
 void setContext(java.lang.String context)
          Set the context for the token to create.
 void setResource(java.lang.String resource)
          Set the resource for the token to create.
 void setSubjectType(java.lang.String subjectType)
          Set the subject type associated with the existing token.
 void setSubjectValue(java.lang.String subjectValue)
          Set the subject value associated with the existing token.
 void setTokenTypeToCreate(java.lang.String tokenTypeToCreate)
          Set the type of the new token to create.

 

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

 

Constructor Detail

TokenExchangeRequestImpl

public TokenExchangeRequestImpl()
No arg constructor to create an instance of the request data.

TokenExchangeRequestImpl

public TokenExchangeRequestImpl(java.lang.String subjectType,
                                java.lang.String subjectValue,
                                java.lang.String resource,
                                java.lang.String context,
                                java.lang.String tokenTypeToCreate)
Constructor to create an instance of the request data.
Parameters:
subjectType - subject type associated with the existing token.
subjectValue - subject value associated with the existing token.
resource - for the token to create.
context - for the token to create.
tokenTypeToCreate - for the new token to create.

Method Detail

setSubjectType

public void setSubjectType(java.lang.String subjectType)
Set the subject type associated with the existing token.
Specified by:
setSubjectType in interface TokenExchangeRequest

getSubjectType

public java.lang.String getSubjectType()
Get the subject type associated with the existing token.
Specified by:
getSubjectType in interface TokenExchangeRequest

setSubjectValue

public void setSubjectValue(java.lang.String subjectValue)
Set the subject value associated with the existing token.
Specified by:
setSubjectValue in interface TokenExchangeRequest

getSubjectValue

public java.lang.String getSubjectValue()
Get the subject value associated with the existing token.
Specified by:
getSubjectValue in interface TokenExchangeRequest

setContext

public void setContext(java.lang.String context)
Set the context for the token to create.
Specified by:
setContext in interface TokenExchangeRequest

getContext

public java.lang.String getContext()
Get the context for the token to create.
Specified by:
getContext in interface TokenExchangeRequest

setResource

public void setResource(java.lang.String resource)
Set the resource for the token to create.
Specified by:
setResource in interface TokenExchangeRequest

getResource

public java.lang.String getResource()
Get the resource for the token to create.
Specified by:
getResource in interface TokenExchangeRequest

setTokenTypeToCreate

public void setTokenTypeToCreate(java.lang.String tokenTypeToCreate)
Set the type of the new token to create.
Specified by:
setTokenTypeToCreate in interface TokenExchangeRequest

getTokenTypeToCreate

public java.lang.String getTokenTypeToCreate()
Get the type of the new token to create.
Specified by:
getTokenTypeToCreate in interface TokenExchangeRequest

Skip navigation links

Copyright (c) 2012,
Oracle All Rights Reserved.
Built 06/05/2012 17:18:07 PDT