|
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.OracleUserCredentials
public class OracleUserCredentials
Encapsulates the user ID and password management.
Constructor Summary
OracleUserCredentials(java.lang.String payload) Initiates the user information using the given json formatted payload. |
OracleUserCredentials(java.lang.String userId, java.lang.String password) Initiates the user information using the given ID and password. |
java.lang.String |
getCredentials() The Based64 formatted credentials corresponding to this user Id and password. |
java.lang.String |
getJson() Returns the json representation of the user credentials. |
java.lang.String |
getPassword() Returns the password. |
java.lang.String |
getUserId() Returns the user Id. |
void |
setJson(java.lang.String json) Changes the user credentials. |
void |
setPassword(java.lang.String password) Changes the user password and updates, when appropriated, the new credentials. |
void |
setUserId(java.lang.String userId) Changes the user Id and updates, when appropriated, the new credentials. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
public OracleUserCredentials(java.lang.String userId, java.lang.String password) throws java.io.UnsupportedEncodingException, java.lang.IllegalArgumentException
userId
- user identifierpassword
- of the userjava.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid argument is providedpublic OracleUserCredentials(java.lang.String payload) throws java.io.UnsupportedEncodingException, java.lang.IllegalArgumentException
payload
- json stringjava.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid argument is providedpublic java.lang.String getUserId()
public void setUserId(java.lang.String userId) throws java.io.UnsupportedEncodingException
userId
- user identifierjava.io.UnsupportedEncodingException
- when encoding failspublic java.lang.String getJson()
public void setJson(java.lang.String json) throws java.io.UnsupportedEncodingException
json
- formatted Stringjava.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid json payload is providedpublic java.lang.String getPassword()
public void setPassword(java.lang.String password) throws java.io.UnsupportedEncodingException
password
- of the userjava.io.UnsupportedEncodingException
- when encoding failspublic java.lang.String getCredentials()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle and/or its affiliates. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |