org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<BasicAuthCredentials.BasicAuthCredentialsBuilder>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty, org.refcodes.mixin.IdentityAccessor, org.refcodes.mixin.IdentityAccessor.IdentityBuilder<BasicAuthCredentials.BasicAuthCredentialsBuilder>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityProperty, org.refcodes.mixin.SecretAccessor, org.refcodes.mixin.SecretAccessor.SecretBuilder<BasicAuthCredentials.BasicAuthCredentialsBuilder>, org.refcodes.mixin.SecretAccessor.SecretMutator, org.refcodes.mixin.SecretAccessor.SecretProperty, org.refcodes.mixin.Validatable<BasicCredentials>, AuthCredentials<BasicAuthCredentials,BasicCredentials>, AuthTypeAccessor, BasicAuthCredentials, BasicAuthCredentials.BasicAuthCredentialsBuilder, BasicCredentialspublic class BasicAuthCredentialsBuilderImpl extends BasicAuthCredentialsImpl implements BasicAuthCredentials.BasicAuthCredentialsBuilder
BasicAuthCredentials.BasicAuthCredentialsBuilder interface
compares the secret (BasicAuthCredentialsImpl.getSecret()) case sensitive but the username (
BasicAuthCredentialsImpl.getIdentity()) case insensitive with the BasicAuthCredentialsImpl.equals(Object)
method.AuthTypeAccessor.AuthTypeBuilder<B extends AuthTypeAccessor.AuthTypeBuilder<B>>, AuthTypeAccessor.AuthTypeMutator, AuthTypeAccessor.AuthTypePropertyBasicAuthCredentials.BasicAuthCredentialsBuilderorg.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B extends org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B>>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsPropertyorg.refcodes.mixin.IdentityAccessor.IdentityBuilder<B extends org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B>>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityPropertyDELIMITER_BASIC_AUTH, DELIMITER_CREDENTIALS| Constructor | Description |
|---|---|
BasicAuthCredentialsBuilderImpl() |
Constructs an empty
BasicAuthCredentials.BasicAuthCredentialsBuilder type. |
BasicAuthCredentialsBuilderImpl(String aIdentity,
String aSecret) |
Instantiates a new
BasicAuthCredentials.BasicAuthCredentialsBuilder instance. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
setIdentity(String aIdentity) |
|
void |
setSecret(String aSecret) |
fromHttpAuthorization, toHttpAuthorizationgetAuthType, validate, validate, withHttpAuthorizationwithIdentity, withSecretequals, fromHttpAuthorization, getIdentity, getSecret, hashCode, toHttpAuthorization, toStringisValid, isValidpublic BasicAuthCredentialsBuilderImpl()
BasicAuthCredentials.BasicAuthCredentialsBuilder type.public BasicAuthCredentialsBuilderImpl(String aIdentity, String aSecret)
BasicAuthCredentials.BasicAuthCredentialsBuilder instance.aIdentity - the user nameaSecret - the secretCopyright © 2018. All rights reserved.