Class AuthServiceCredentials

java.lang.Object
org.graylog.security.authservice.AuthServiceCredentials

public abstract class AuthServiceCredentials extends Object
  • Constructor Details

    • AuthServiceCredentials

      public AuthServiceCredentials()
  • Method Details

    • username

      public abstract String username()
    • password

      public abstract EncryptedValue password()
    • isAuthenticated

      public abstract boolean isAuthenticated()
      Returns true if the subject is already authenticated and the authentication service backend doesn't need to authenticate anymore.
      Returns:
      true if already authenticated, false otherwise
    • create

      public static AuthServiceCredentials create(String username, EncryptedValue password)
    • createAuthenticated

      public static AuthServiceCredentials createAuthenticated(String username)
    • builder

      public static AuthServiceCredentials.Builder builder()