Class Password

java.lang.Object
com.polarion.platform.security.login.Password
All Implemented Interfaces:
ILoginAuthenticator

public final class Password extends Object implements ILoginAuthenticator
Configures login flow to use user name and password for authentication.
Since:
3.21.1
  • Method Details

    • id

      @NotNull public static Password id(@NotNull String id)
      Create a typed authenticator id.
      Parameters:
      id - authenticator ID.
      Returns:
      type authenticator ID.
    • of

      @NotNull public static IPassword<Password> of(@NotNull String userName, @Nullable String password)
      Prepare and create a typed user name and password credentials instance.
      Parameters:
      userName - user name.
      password - password.
      Returns:
      typed and prepared credentials instance.
    • getId

      @NotNull public String getId()
      Description copied from interface: ILoginAuthenticator
      Get an authenticator ID.
      Specified by:
      getId in interface ILoginAuthenticator
      Returns:
      authenticator ID.