|
static List< ComponentModel > | sortAsc (LDAPConfig ldapConfig, Collection< ComponentModel > mappers) |
|
static List< ComponentModel > | sortDesc (LDAPConfig ldapConfig, Collection< ComponentModel > mappers) |
|
TODO: Possibly add "priority" instead of hardcoding behaviour
- 著者
- Marek Posolda
◆ sortAsc()
static List<ComponentModel> org.keycloak.storage.ldap.mappers.LDAPMappersComparator.sortAsc |
( |
LDAPConfig |
ldapConfig, |
|
|
Collection< ComponentModel > |
mappers |
|
) |
| |
|
inlinestatic |
38 Comparator<ComponentModel> comparator =
new ImportantFirstComparator(ldapConfig);
40 List<ComponentModel> result =
new ArrayList<>(mappers);
41 Collections.sort(result, comparator);
◆ sortDesc()
static List<ComponentModel> org.keycloak.storage.ldap.mappers.LDAPMappersComparator.sortDesc |
( |
LDAPConfig |
ldapConfig, |
|
|
Collection< ComponentModel > |
mappers |
|
) |
| |
|
inlinestatic |
46 Comparator<ComponentModel> comparator =
new ImportantFirstComparator(ldapConfig).reversed();
48 List<ComponentModel> result =
new ArrayList<>(mappers);
49 Collections.sort(result, comparator);
このクラス詳解は次のファイルから抽出されました:
- D:/AppData/doxygen/keycloak/federation/src/federation/ldap/src/main/java/org/keycloak/storage/ldap/mappers/LDAPMappersComparator.java