Class SAML2IDPProxyImpl

  • All Implemented Interfaces:
    SAML2IDPFinder

    public class SAML2IDPProxyImpl
    extends Object
    implements SAML2IDPFinder
    This class SAML2IDPProxyImpl is used to find a preferred Identity Authenticating provider to proxy the authentication request.
    • Constructor Detail

      • SAML2IDPProxyImpl

        public SAML2IDPProxyImpl()
        Default Constructor.
    • 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.