Class CredentialImpl

  • All Implemented Interfaces:
    Credential

    public final class CredentialImpl
    extends java.lang.Object
    implements Credential
    Created by andrey on 14.03.17.
    • Field Summary

      • Fields inherited from interface com.emc.mongoose.base.storage.Credential

        NONE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CredentialImpl​(java.lang.String uid, java.lang.String secret)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getSecret()  
      java.lang.String getUid()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CredentialImpl

        protected CredentialImpl​(java.lang.String uid,
                                 java.lang.String secret)
    • Method Detail

      • getUid

        public final java.lang.String getUid()
        Specified by:
        getUid in interface Credential
      • getSecret

        public final java.lang.String getSecret()
        Specified by:
        getSecret in interface Credential
      • equals

        public final boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object