Class ECPIDPFinder

  • All Implemented Interfaces:
    SAML2IDPFinder

    public class ECPIDPFinder
    extends Object
    implements SAML2IDPFinder
    This class ECPIDPFinder is used to find a list of preferred Identity Providers to be placed in the child element "IDPList" of ECP Request element.
    • Constructor Detail

      • ECPIDPFinder

        public ECPIDPFinder()
    • 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 providerID's.
        Specified by:
        getPreferredIDP in interface SAML2IDPFinder
        Parameters:
        authnRequest - original authnrequest
        hostProviderID - hosted providerID.
        realm - Realm
        request - HttpServletRequest
        response - HttpServletResponse
        Returns:
        a list of IDP providerID's or null if not found.
        Throws:
        SAML2Exception - if error occurs.