Class HrdSupport

java.lang.Object
swiss.trustbroker.util.HrdSupport

public class HrdSupport extends Object
Log-able web input (where we do not expected any StringUtil.clean modified data) and other helpers.
  • Method Details

    • requestFromTestApplication

      public static boolean requestFromTestApplication(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • hasTestLoginEnabled

      public static boolean hasTestLoginEnabled(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • getClaimsProviderHint

      public static String getClaimsProviderHint(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • getHrdHintParameter

      public static String getHrdHintParameter(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • getHrdHintTestCookie

      public static String getHrdHintTestCookie(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • getHrdHintTestHeader

      public static String getHrdHintTestHeader(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • isHrdHintTest

      public static boolean isHrdHintTest(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
    • isXtbDestination

      public static boolean isXtbDestination(TrustBrokerProperties trustBrokerProperties, String destination)
    • getClaimsProviderHint

      public static String getClaimsProviderHint(TrustBrokerProperties properties)
    • reduceClaimsProviderMappings

      public static List<ClaimsProvider> reduceClaimsProviderMappings(jakarta.servlet.http.HttpServletRequest request, String rpIssuer, String applicationName, String cpSelectionHint, List<ClaimsProvider> cpMappings, TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.api.homerealmdiscovery.service.HrdService hrdService)