org.keycloak.federation.ldap.mappers

## Class LDAPMappersComparator

- java.lang.Object
- - org.keycloak.federation.ldap.mappers.LDAPMappersComparator

-     public class LDAPMappersComparator
      extends Object

  TODO: Possibly add "priority" to UserFederationMapper instead of hardcoding behaviour
  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LDAPMappersComparator()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static List<UserFederationMapperModel>` | `sortAsc(LDAPConfig ldapConfig, Collection<UserFederationMapperModel> mappers)`
    `static List<UserFederationMapperModel>` | `sortDesc(LDAPConfig ldapConfig, Collection<UserFederationMapperModel> mappers)`

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

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

- - ### Constructor Detail

    - #### LDAPMappersComparator

          public LDAPMappersComparator()

  - ### Method Detail

    - #### sortAsc

          public static List<UserFederationMapperModel> sortAsc(LDAPConfig ldapConfig,
                                                                Collection<UserFederationMapperModel> mappers)

    - #### sortDesc

          public static List<UserFederationMapperModel> sortDesc(LDAPConfig ldapConfig,
                                                                 Collection<UserFederationMapperModel> mappers)

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