Class EscapeHatch

All Implemented Interfaces:
Describable<OidcProperty>

public class EscapeHatch extends OidcProperty
Escape hatch for authentication, allowing users to log in with a username and password. This is intended for emergency access and should be used with caution.
  • Field Details

    • B_CRYPT_PATTERN

      public static final Pattern B_CRYPT_PATTERN
  • Constructor Details

  • Method Details

    • getUsername

      @CheckForNull public String getUsername()
    • getGroup

      @CheckForNull public String getGroup()
    • getSecret

      @NonNull public Secret getSecret()
    • authenticate

      @NonNull public Optional<org.springframework.security.core.Authentication> authenticate(@NonNull org.springframework.security.core.Authentication authentication)
      Description copied from class: OidcProperty
      Allows a property to authenticate the user.
      Overrides:
      authenticate in class OidcProperty
      See Also: