Package org.keycloak.protocol.oidc.utils
Class AcrUtils
- java.lang.Object
- 
- org.keycloak.protocol.oidc.utils.AcrUtils
 
- 
 public class AcrUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description AcrUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Integer>getAcrLoaMap(ClientModel client)static Map<String,Integer>getAcrLoaMap(RealmModel realm)static List<String>getAcrValues(String claimsParam, String acrValuesParam, ClientModel client)static List<String>getDefaultAcrValues(ClientModel client)static List<String>getRequiredAcrValues(String claimsParam)static StringmapLoaToAcr(int loa, Map<String,Integer> acrLoaMap, Collection<String> acrValues)
 
- 
- 
- 
Method Detail- 
getAcrValuespublic static List<String> getAcrValues(String claimsParam, String acrValuesParam, ClientModel client) 
 - 
getAcrLoaMappublic static Map<String,Integer> getAcrLoaMap(ClientModel client) - Parameters:
- client-
- Returns:
- map corresponding to "acr-to-loa" client attribute. It will fallback to realm in case "acr-to-loa" mapping not configured on client
 
 - 
getAcrLoaMappublic static Map<String,Integer> getAcrLoaMap(RealmModel realm) - Parameters:
- realm-
- Returns:
- map corresponding to "acr-to-loa" realm attribute.
 
 - 
mapLoaToAcrpublic static String mapLoaToAcr(int loa, Map<String,Integer> acrLoaMap, Collection<String> acrValues) 
 - 
getDefaultAcrValuespublic static List<String> getDefaultAcrValues(ClientModel client) 
 
- 
 
-