Class DefaultCredentials

  • All Implemented Interfaces:
    Credentials, io.pravega.shared.security.auth.Credentials, java.io.Serializable

    @Deprecated
    public class DefaultCredentials
    extends java.lang.Object
    implements Credentials
    Deprecated.
    As of Pravega release 0.9, replaced by DefaultCredentials.
    Username/password credentials for basic authentication.
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultCredentials

        public DefaultCredentials​(java.lang.String password,
                                  java.lang.String userName)
        Deprecated.
    • Method Detail

      • getAuthenticationType

        public java.lang.String getAuthenticationType()
        Deprecated.
        Specified by:
        getAuthenticationType in interface io.pravega.shared.security.auth.Credentials
      • getAuthenticationToken

        public java.lang.String getAuthenticationToken()
        Deprecated.
        Specified by:
        getAuthenticationToken in interface io.pravega.shared.security.auth.Credentials
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Deprecated.
      • hashCode

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