org.keycloak.protocol.docker.mapper

## Class DockerAuthV2ProtocolMapper

- java.lang.Object
- - org.keycloak.protocol.docker.mapper.DockerAuthV2ProtocolMapper

- All Implemented Interfaces:
    ProtocolMapper, ConfiguredProvider, Provider, ProviderFactory<ProtocolMapper>
  Direct Known Subclasses:
    AllowAllDockerProtocolMapper

      public abstract class DockerAuthV2ProtocolMapper
      extends Object
      implements ProtocolMapper

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DOCKER_AUTH_V2_CATEGORY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DockerAuthV2ProtocolMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` This is called when the server shuts down.
    `ProtocolMapper` | `create(KeycloakSession session)`
    `List<ProviderConfigProperty>` | `getConfigProperties()`
    `String` | `getDisplayCategory()`
    `String` | `getProtocol()`
    `void` | `init(Config.Scope config)` Only called once when the factory is first created.
    `void` | `postInit(KeycloakSessionFactory factory)` Called after all provider factories have been initialized

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

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

    - ### Methods inherited from interface org.keycloak.protocol.ProtocolMapper

      `getDisplayType, getPriority, validateConfig`

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

      `getId, order`

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

      `getHelpText`

- - ### Field Detail

    - #### DOCKER_AUTH_V2_CATEGORY

          public static final String DOCKER_AUTH_V2_CATEGORY

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### DockerAuthV2ProtocolMapper

          public DockerAuthV2ProtocolMapper()

  - ### Method Detail

    - #### getProtocol

          public String getProtocol()

      Specified by:
        `getProtocol` in interface `ProtocolMapper`

    - #### getDisplayCategory

          public String getDisplayCategory()

      Specified by:
        `getDisplayCategory` in interface `ProtocolMapper`

    - #### getConfigProperties

          public List<ProviderConfigProperty> getConfigProperties()

      Specified by:
        `getConfigProperties` in interface `ConfiguredProvider`

    - #### close

          public void close()

      Description copied from interface: `ProviderFactory`
      This is called when the server shuts down.
      Specified by:
        `close` in interface `Provider`
      Specified by:
        `close` in interface `ProviderFactory<ProtocolMapper>`

    - #### create

          public final ProtocolMapper create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<ProtocolMapper>`

    - #### init

          public void init(Config.Scope config)

      Description copied from interface: `ProviderFactory`
      Only called once when the factory is first created. This config is pulled from keycloak_server.json
      Specified by:
        `init` in interface `ProviderFactory<ProtocolMapper>`

    - #### postInit

          public void postInit(KeycloakSessionFactory factory)

      Description copied from interface: `ProviderFactory`
      Called after all provider factories have been initialized
      Specified by:
        `postInit` in interface `ProviderFactory<ProtocolMapper>`

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