Class Tm1Authenticator.Fixed

java.lang.Object
io.skipcheck.tm1.client.auth.Tm1Authenticator.Fixed
All Implemented Interfaces:
Tm1Authenticator
Enclosing interface:
Tm1Authenticator

public static final class Tm1Authenticator.Fixed extends Object implements Tm1Authenticator
Credentials that don't change: Basic and CAMNamespace.
  • Method Details

    • authorization

      public reactor.core.publisher.Mono<String> authorization()
      Description copied from interface: Tm1Authenticator
      The Authorization header value for one login, such as Basic YWRtaW46YXBwbGU=. An error fails that login and reaches the caller unchanged.
      Specified by:
      authorization in interface Tm1Authenticator
      Returns:
      the header value
    • describe

      public String describe()
      Description copied from interface: Tm1Authenticator
      What these credentials are, for logs, without any secret, such as Basic admin.
      Specified by:
      describe in interface Tm1Authenticator
      Returns:
      the description
    • toString

      public String toString()
      The description only: never the credentials.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Equal when the credentials are.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object