Class 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 java.lang.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 java.lang.String _identity  
      protected java.lang.String _secret  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BasicCredentialsImpl()
      Instantiates a new basic credentials impl.
        BasicCredentialsImpl​(java.lang.String aIdentity, java.lang.String aSecret)
      Instantiates a new basic credentials impl.
    • Field Detail

      • _identity

        protected java.lang.String _identity
      • _secret

        protected java.lang.String _secret
    • Constructor Detail

      • BasicCredentialsImpl

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

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

      • getIdentity

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

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