Interface BasicCredentials

All Superinterfaces:
org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.IdentityAccessor, org.refcodes.mixin.SecretAccessor, org.refcodes.mixin.Validatable<BasicCredentials>
All Known Subinterfaces:
BasicAuthCredentials, BasicAuthCredentials.BasicAuthCredentialsBuilder
All Known Implementing Classes:
BasicAuthCredentialsBuilderImpl, BasicAuthCredentialsImpl, BasicCredentialsImpl

public interface BasicCredentials
extends org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.Validatable<BasicCredentials>
The Interface BasicCredentials.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.refcodes.mixin.CredentialsAccessor

    org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B extends org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B>>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty

    Nested classes/interfaces inherited from interface org.refcodes.mixin.IdentityAccessor

    org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B extends org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B>>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityProperty

    Nested classes/interfaces inherited from interface org.refcodes.mixin.SecretAccessor

    org.refcodes.mixin.SecretAccessor.SecretBuilder<B extends org.refcodes.mixin.SecretAccessor.SecretBuilder<B>>, org.refcodes.mixin.SecretAccessor.SecretMutator, org.refcodes.mixin.SecretAccessor.SecretProperty
  • Method Summary

    Modifier and Type Method Description
    default boolean isValid​(String aUserName, String aSecret)
    Validates the provided user-name and secret against this BasicCredentials user-name and secret.
    default boolean isValid​(BasicCredentials aCredentials)
    Validates the provided BasicCredentials against this BasicCredentials user-name and secret.

    Methods inherited from interface org.refcodes.mixin.IdentityAccessor

    getIdentity

    Methods inherited from interface org.refcodes.mixin.SecretAccessor

    getSecret