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 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 Detail

      • _identity

        protected String _identity
      • _secret

        protected String _secret
    • Constructor Detail

      • 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 Detail

      • 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