Class BasicCredentialsImpl

java.lang.Object
org.refcodes.web.BasicCredentialsImpl
All Implemented Interfaces:
org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.IdentityAccessor, org.refcodes.mixin.SecretAccessor, org.refcodes.mixin.Validatable<BasicCredentials>, BasicCredentials

public class BasicCredentialsImpl
extends Object
implements BasicCredentials
The Class BasicCredentialsImpl.
  • 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
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected String _identity  
    protected String _secret  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected BasicCredentialsImpl()
    Instantiates a new basic credentials impl.
      BasicCredentialsImpl​(String aIdentity, String aSecret)
    Instantiates a new basic credentials impl.
  • Method Summary

    Modifier and Type Method Description
    String getIdentity()
    String getSecret()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.refcodes.web.BasicCredentials

    isValid, isValid
  • Field Details

    • _identity

      protected String _identity
    • _secret

      protected String _secret
  • Constructor Details

    • BasicCredentialsImpl

      protected BasicCredentialsImpl()
      Instantiates a new basic credentials impl.
    • BasicCredentialsImpl

      public BasicCredentialsImpl​(String aIdentity, String aSecret)
      Instantiates a new basic credentials impl.
      Parameters:
      aIdentity - the user name
      aSecret - the secret
  • Method Details

    • getIdentity

      public String getIdentity()
      Specified by:
      getIdentity in interface org.refcodes.mixin.IdentityAccessor
    • getSecret

      public String getSecret()
      Specified by:
      getSecret in interface org.refcodes.mixin.SecretAccessor