org.keycloak.authentication.authenticators.x509

## Class UserIdentityToModelMapper

- java.lang.Object
- - org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper

-     public abstract class UserIdentityToModelMapper
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Peter Nalyvayko

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserIdentityToModelMapper()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract UserModel` | `find(AuthenticationFlowContext context, Object userIdentity)`
    `static UserIdentityToModelMapper` | `getUserIdentityToCustomAttributeMapper(String attributeName)`
    `static UserIdentityToModelMapper` | `getUsernameOrEmailMapper()`

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

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

- - ### Constructor Detail

    - #### UserIdentityToModelMapper

          public UserIdentityToModelMapper()

  - ### Method Detail

    - #### find

          public abstract UserModel find(AuthenticationFlowContext context,
                                         Object userIdentity)
                                  throws Exception

      Throws:
        `Exception`

    - #### getUsernameOrEmailMapper

          public static UserIdentityToModelMapper getUsernameOrEmailMapper()

    - #### getUserIdentityToCustomAttributeMapper

          public static UserIdentityToModelMapper getUserIdentityToCustomAttributeMapper(String attributeName)

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