Class Tm1Authenticator.Described

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

public static final class Tm1Authenticator.Described extends Object implements Tm1Authenticator
Another authenticator under its own description: the ones that ask Cognos.
  • 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 they were made from the same address, namespace and credentials.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object