|
Oracle Fusion Middleware Java API Reference for the Oracle Access Management OAuth Service 11g Release 2 Patch Set 3 (11.1.2.3) E59498-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.idaas.oauth.sdk.request.OAuthRestRequest
oracle.security.idaas.oauth.sdk.request.OAuthTokenRequest
oracle.security.idaas.oauth.sdk.request.UserAssertionTokenRequest
public class UserAssertionTokenRequest
Class dedicated to receive the User Assertion Token request parameters. Creating JWT User Assertion Token (and their Refresh Token)
Constructor Summary
UserAssertionTokenRequest() Initializes a basic JWT User Assertion Token request without any parameters. |
UserAssertionTokenRequest(ClientIdSecretPair clientCredentials, java.lang.String userName, java.lang.String password) [UT.1] Confidential Client to use Client Secret and User Password to acquire a JWT-based User Assertion Token (UT) |
UserAssertionTokenRequest(java.util.Map<java.lang.String,java.lang.String> header, java.util.Map<java.lang.String,java.lang.String> query) Initializes the JWT User Assertion Token request using the given parameters. |
UserAssertionTokenRequest(java.lang.String userName, java.lang.String password, java.lang.String clientAssertionType, java.lang.String clientAssertion) [UT.2] Confidential Client to use Client Assertion (SAML or JWT) and User Password to acquire a JWT-based User Assertion Token (UT) |
java.lang.String |
getClientAssertion() returns the Client Assertion. |
java.lang.String |
getClientAssertionType() Returns the Client Assertion type. |
ClientIdSecretPair |
getClientCredentials() Returns the client id and secret. |
java.lang.String |
getPassword() returns the password. |
java.lang.String |
getUsername() Returns the username |
boolean |
isJwtClientAssertion() Returns true if the client assertion is a JWT one. |
boolean |
isSamlClientAssertion() Returns true if the client assertion is a SAML one. |
void |
setClientAssertion(java.lang.String clientAssertion) Updates the Client assertion. |
void |
setClientAssertionType(java.lang.String clientAssertionType) Updates the Client Assertion Type. |
void |
setClientCredentials(ClientIdSecretPair clientCredentials) Update the client Id and secret. |
void |
setPassword(java.lang.String password) Updates the password. |
void |
setUsername(java.lang.String username) Updates the username. |
Methods inherited from class oracle.security.idaas.oauth.sdk.request.OAuthTokenRequest
getGrantType, setGrantType |
Methods inherited from class oracle.security.idaas.oauth.sdk.request.OAuthRestRequest
addHeader, addQuery, clearAll, clearHeader, clearQuery, getHeader, getHeader, getQuery, getQuery, getQueryMap, isNullOrEmpty, setHeader, setQuery |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
public UserAssertionTokenRequest()
public UserAssertionTokenRequest(java.util.Map<java.lang.String,java.lang.String> header, java.util.Map<java.lang.String,java.lang.String> query)
header
- name value pairs for request headerquery
- name value pairs for request querypublic UserAssertionTokenRequest(ClientIdSecretPair clientCredentials, java.lang.String userName, java.lang.String password) throws java.io.UnsupportedEncodingException, java.lang.IllegalArgumentException
clientCredentials
- client informationuserName
- user namepassword
- passwordjava.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid argument is providedpublic UserAssertionTokenRequest(java.lang.String userName, java.lang.String password, java.lang.String clientAssertionType, java.lang.String clientAssertion) throws java.io.UnsupportedEncodingException, java.lang.IllegalArgumentException
userName
- user namepassword
- passwordclientAssertionType
- accept only OAuthSdkConstants.SAML_CLIENT_ASSERTION_TYPE
or OAuthSdkConstants.JWT_CLIENT_ASSERTION_TYPE
clientAssertion
- client assertion, see also ClientAssertionTokenRequest
java.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid argument is providedpublic ClientIdSecretPair getClientCredentials()
public void setClientCredentials(ClientIdSecretPair clientCredentials) throws java.lang.IllegalArgumentException
clientCredentials
- client informationjava.lang.IllegalArgumentException
- when null parameterpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- user namepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- passwordpublic java.lang.String getClientAssertionType()
public void setClientAssertionType(java.lang.String clientAssertionType)
clientAssertionType
- assertion typepublic java.lang.String getClientAssertion()
public void setClientAssertion(java.lang.String clientAssertion)
clientAssertion
- assertionpublic boolean isJwtClientAssertion()
public boolean isSamlClientAssertion()
|
Oracle and/or its affiliates. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |