Class LoAUtil

    • Constructor Detail

      • LoAUtil

        public LoAUtil()
    • Method Detail

      • getCurrentLevelOfAuthentication

        public static int getCurrentLevelOfAuthentication​(AuthenticatedClientSessionModel clientSession)
        Parameters:
        clientSession -
        Returns:
        current level from client session
      • getLoAConfiguredInRealmBrowserFlow

        public static Stream<Integer> getLoAConfiguredInRealmBrowserFlow​(RealmModel realm)
        Parameters:
        realm -
        Returns:
        All LoA numbers configured in the conditions in the realm browser flow
      • getLoaMaxAgesConfiguredInRealmBrowserFlow

        public static Map<Integer,​Integer> getLoaMaxAgesConfiguredInRealmBrowserFlow​(RealmModel realm)
        Parameters:
        realm -
        Returns:
        All LoA numbers configured in the conditions in the realm browser flow. Key is level, Vaue is maxAge for particular level
      • getMaxAgeFromLoaConditionConfiguration

        public static int getMaxAgeFromLoaConditionConfiguration​(AuthenticatorConfigModel loaConditionConfig)