Package swiss.trustbroker.util
Class HrdSupport
java.lang.Object
swiss.trustbroker.util.HrdSupport
Log-able web input (where we do not expected any StringUtil.clean modified data) and other helpers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetClaimsProviderHint(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static StringgetClaimsProviderHint(TrustBrokerProperties properties) static StringgetHrdHintParameter(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static StringgetHrdHintTestCookie(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static StringgetHrdHintTestHeader(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static booleanhasTestLoginEnabled(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static booleanisHrdHintTest(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties) static booleanisXtbDestination(TrustBrokerProperties trustBrokerProperties, String destination) 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) static booleanrequestFromTestApplication(jakarta.servlet.http.HttpServletRequest request, TrustBrokerProperties properties)
-
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
-
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)
-