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 TokenCreateRequestImpl

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

All Implemented Interfaces:
TokenCreateRequest

public class TokenCreateRequestImpl
extends java.lang.Object
implements TokenCreateRequest

Java representation of JSON payload on a create token request. This is for the use case when the subject is represented by a username and password.


Constructor Summary
TokenCreateRequestImpl()
          No arg constructor for the payload of a create token request for authentication.
TokenCreateRequestImpl(java.lang.String subjectType, java.lang.String username, java.lang.String password, java.lang.String tokenTypeToCreate)
          Constructor for the payload of a create token request for authentication.

 

Method Summary
 java.lang.String getPassword()
          Get the password of the subject of the token to create.
 java.lang.String getSubjectType()
          Get the subject type of the token to create.
 java.lang.String getTokenTypeToCreate()
          Get the token type of the new token to create.
 java.lang.String getUsername()
          Get the username of the subject of the token to create.
 void setPassword(java.lang.String password)
          Set the password of the subject of the token to create.
 void setSubjectType(java.lang.String subjectType)
          Get the subject type of the token to create.
 void setTokenTypeToCreate(java.lang.String tokenTypeToCreate)
          Set the token type of the new token to create.
 void setUsername(java.lang.String username)
          Set the username of the subject of the token to create.

 

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

 

Constructor Detail

TokenCreateRequestImpl

public TokenCreateRequestImpl()
No arg constructor for the payload of a create token request for authentication.

TokenCreateRequestImpl

public TokenCreateRequestImpl(java.lang.String subjectType,
                              java.lang.String username,
                              java.lang.String password,
                              java.lang.String tokenTypeToCreate)
Constructor for the payload of a create token request for authentication.
Parameters:
subjectType - subject type of the token to create.
username - the username of the subject of the token to create.
password - the password of the subject of the token to create.
tokenTypeToCreate - the token type of the new token to create.

Method Detail

setSubjectType

public void setSubjectType(java.lang.String subjectType)
Get the subject type of the token to create.
Specified by:
setSubjectType in interface TokenCreateRequest

getSubjectType

public java.lang.String getSubjectType()
Get the subject type of the token to create.
Specified by:
getSubjectType in interface TokenCreateRequest

setUsername

public void setUsername(java.lang.String username)
Set the username of the subject of the token to create.
Specified by:
setUsername in interface TokenCreateRequest

getUsername

public java.lang.String getUsername()
Get the username of the subject of the token to create.
Specified by:
getUsername in interface TokenCreateRequest

setPassword

public void setPassword(java.lang.String password)
Set the password of the subject of the token to create.
Specified by:
setPassword in interface TokenCreateRequest

getPassword

public java.lang.String getPassword()
Get the password of the subject of the token to create.
Specified by:
getPassword in interface TokenCreateRequest

setTokenTypeToCreate

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

getTokenTypeToCreate

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

Skip navigation links

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