public class SimpleUserAuthentication extends JSONAuthentication
| Constructor and Description |
|---|
SimpleUserAuthentication(String userName,
String password) |
SimpleUserAuthentication(String userName,
String password,
APIMode apiMode) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAuthenticationId()
The id that is used for the authentication
|
protected String |
getAuthenticationIdKey()
The key that is used for the id (client or user)
|
protected String |
getAuthenticationSecret()
The secret that is used for the authentication
|
protected String |
getAuthenticationSecretKey()
The key that is used for the secret (client or user)
|
getAuthenticationStringgetAPIMode, isBasicAuthenticationpublic SimpleUserAuthentication(String userName, String password, APIMode apiMode)
userName - The userpassword - The passwordapiMode - API Mode - can be nullableprotected String getAuthenticationId()
JSONAuthenticationgetAuthenticationId in class JSONAuthenticationprotected String getAuthenticationSecret()
JSONAuthenticationgetAuthenticationSecret in class JSONAuthenticationprotected final String getAuthenticationIdKey()
JSONAuthenticationgetAuthenticationIdKey in class JSONAuthenticationprotected final String getAuthenticationSecretKey()
JSONAuthenticationgetAuthenticationSecretKey in class JSONAuthenticationCopyright © 2021 Micro Focus. All rights reserved.