Package | Description |
---|---|
com.om.mxs.client.japi | |
com.om.mxs.client.japi.cred |
Modifier and Type | Method and Description |
---|---|
MatrixStoreBuilder |
MatrixStoreBuilder.withCredentials(Credentials cred)
Must be one of either
UsernamePasswordCredentials , where user login and password are given,
or AccessKeyBasedCredentials , where a user's access key id and secret is used. |
Modifier and Type | Class and Description |
---|---|
class |
AccessKeyBasedCredentials
Authentication credentials based on an access key.
|
class |
UsernamePasswordCredentials
Authentication credentials based on username (login) and a password.
|
Modifier and Type | Method and Description |
---|---|
static Credentials |
Credentials.copy(Credentials cred)
Creates safe copy of a given credentials.
|
static Credentials |
Credentials.newAccessKeyCredentials(AccessKey accessKey)
Creates new authentication
Credentials using provided AccessKey . |
static Credentials |
Credentials.newAccessKeyCredentials(char[] accessKeyId,
char[] accessKeySecret)
Creates new authentication
Credentials from provided ID and a secret of an AccessKey . |
static Credentials |
Credentials.newAccessKeyCredentials(java.lang.String accessKeyId,
java.lang.String accessKeySecret)
Creates new authentication
Credentials from provided ID and a secret of an AccessKey . |
static Credentials |
Credentials.newSpacenameUsernamePasswordCredentials(java.lang.String spaceName,
java.lang.String username,
char[] password)
Creates new authentication
Credentials from a given user details: Space name, login and a password of a user. |
static Credentials |
Credentials.newSpacenameUsernamePasswordCredentials(java.lang.String spaceName,
java.lang.String username,
java.lang.String password)
Creates new authentication
Credentials from a given user details: Space name, login and a password of a user. |
static Credentials |
Credentials.newUsernamePasswordCredentials(java.lang.String username,
char[] password)
Creates new authentication
Credentials using an empty String as a Space name, provided user's login and a password. |
static Credentials |
Credentials.newUsernamePasswordCredentials(java.lang.String username,
java.lang.String password)
Creates new authentication
Credentials using an empty String as a Space name, provided user's login and a password. |
Modifier and Type | Method and Description |
---|---|
static Credentials |
Credentials.copy(Credentials cred)
Creates safe copy of a given credentials.
|