org.keycloak.authentication.authenticators.broker

## Class IdpUsernamePasswordFormFactory

- java.lang.Object
- - org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory
  - - org.keycloak.authentication.authenticators.broker.IdpUsernamePasswordFormFactory

- All Implemented Interfaces:
    AuthenticatorFactory, ConfigurableAuthenticatorFactory, DisplayTypeAuthenticatorFactory, ConfiguredProvider, ProviderFactory<Authenticator>

      public class IdpUsernamePasswordFormFactory
      extends UsernamePasswordFormFactory

  Author:
    Marek Posolda

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static UsernamePasswordForm` | `IDP_SINGLETON`
    `static String` | `PROVIDER_ID`

    - ### Fields inherited from class org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory

      `REQUIREMENT_CHOICES, SINGLETON`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IdpUsernamePasswordFormFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Authenticator` | `create(KeycloakSession session)`
    `String` | `getDisplayType()` Friendly name for the authenticator
    `String` | `getHelpText()`
    `String` | `getId()`

    - ### Methods inherited from class org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory

      `close, createDisplay, getConfigProperties, getReferenceCategory, getRequirementChoices, init, isConfigurable, isUserSetupAllowed, postInit`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `order`

- - ### Field Detail

    - #### PROVIDER_ID

          public static final String PROVIDER_ID

      See Also:
        Constant Field Values

    - #### IDP_SINGLETON

          public static final UsernamePasswordForm IDP_SINGLETON

  - ### Constructor Detail

    - #### IdpUsernamePasswordFormFactory

          public IdpUsernamePasswordFormFactory()

  - ### Method Detail

    - #### create

          public Authenticator create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<Authenticator>`
      Overrides:
        `create` in class `UsernamePasswordFormFactory`

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `ProviderFactory<Authenticator>`
      Overrides:
        `getId` in class `UsernamePasswordFormFactory`

    - #### getHelpText

          public String getHelpText()

      Specified by:
        `getHelpText` in interface `ConfiguredProvider`
      Overrides:
        `getHelpText` in class `UsernamePasswordFormFactory`

    - #### getDisplayType

          public String getDisplayType()

      Description copied from interface: `ConfigurableAuthenticatorFactory`
      Friendly name for the authenticator
      Specified by:
        `getDisplayType` in interface `ConfigurableAuthenticatorFactory`
      Overrides:
        `getDisplayType` in class `UsernamePasswordFormFactory`
      Returns:

Copyright © 2021 JBoss by Red Hat. All rights reserved.