Class SAML2IDPProxyFRImpl

  • All Implemented Interfaces:
    SAML2IDPFinder

    public class SAML2IDPProxyFRImpl
    extends Object
    implements SAML2IDPFinder
    This class SAML2IDPProxyFRImpl is used to find a preferred Identity Authenticating provider to proxy the authentication request. It might use an external JSP page to interact with the user agent
    • Field Detail

      • IDP_FINDER_ENABLED_IN_SP

        public static String IDP_FINDER_ENABLED_IN_SP
      • SESSION_ATTR_NAME_IDP_LIST

        public static String SESSION_ATTR_NAME_IDP_LIST
      • SESSION_ATTR_NAME_RELAYSTATE

        public static String SESSION_ATTR_NAME_RELAYSTATE
      • SESSION_ATTR_NAME_SPREQUESTER

        public static String SESSION_ATTR_NAME_SPREQUESTER
      • SESSION_ATTR_NAME_REQAUTHNCONTEXT

        public static String SESSION_ATTR_NAME_REQAUTHNCONTEXT
      • className

        public static String className
    • Constructor Detail

      • SAML2IDPProxyFRImpl

        public SAML2IDPProxyFRImpl()
    • Method Detail

      • getPreferredIDP

        public List getPreferredIDP​(AuthnRequest authnRequest,
                                    String hostProviderID,
                                    String realm,
                                    jakarta.servlet.http.HttpServletRequest request,
                                    jakarta.servlet.http.HttpServletResponse response)
                             throws SAML2Exception
        Returns a list of preferred IDP providerIDs.
        Specified by:
        getPreferredIDP in interface SAML2IDPFinder
        Parameters:
        authnRequest - original authnrequest
        hostProviderID - ProxyIDP providerID.
        realm - Realm
        request - HttpServletRequest
        response - HttpServletResponse
        Returns:
        a list of providerID's of the authenticating providers to be proxied or null to disable the proxying and continue for the localauthenticating provider.
        Throws:
        SAML2Exception - if error occurs.
      • getAttributeListValueFromIDPSSOConfig

        public List getAttributeListValueFromIDPSSOConfig​(String realm,
                                                          String hostEntityId,
                                                          String attrName)
      • getSupportedAuthnContextsByIDP

        public List getSupportedAuthnContextsByIDP​(String realm,
                                                   String hostEntityId)