public static final class DOFCredentials.Password
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static DOFCredentials |
create(DOFObjectID.Authentication identity,
java.lang.String password)
Construct Password credentials from an authentication identity and password.
|
static DOFCredentials |
create(DOFObjectID.Domain domainID,
DOFObjectID.Authentication identity,
java.lang.String password)
Construct Password credentials from an authentication domain, identity, and password.
|
public static DOFCredentials create(DOFObjectID.Domain domainID, DOFObjectID.Authentication identity, java.lang.String password)
domainID
- The authentication domain identifier. This may be BROADCAST, in which case the server will choose a
domain. This must not be null.identity
- The authentication identity. This must not be null.password
- The password. This must not be null.public static DOFCredentials create(DOFObjectID.Authentication identity, java.lang.String password)
identity
- The authentication identity. This must not be null.password
- The password. This must not be null.