@NoImplement public interface CredentialsBuilder
Credentials
implementation.Modifier and Type | Method and Description |
---|---|
Credentials |
build() |
CredentialsBuilder |
withPassword(char[] password) |
CredentialsBuilder |
withRoles(Object roles) |
CredentialsBuilder |
withUsername(String username) |
CredentialsBuilder withUsername(String username)
username
- the username of this Credentials
this
builderCredentialsBuilder withPassword(char[] password)
password
- the password of this Credentials
this
builderCredentialsBuilder withRoles(Object roles)
roles
- the enabled roles of this Credentials
this
builderCredentials build()
Credentials
Copyright © 2018. All rights reserved.