Class FSRealmIDPProxyImpl

  • All Implemented Interfaces:
    FSRealmIDPProxy

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

      • FSRealmIDPProxyImpl

        public FSRealmIDPProxyImpl()
        Default Constructor.
    • Method Detail

      • getPreferredIDP

        public String getPreferredIDP​(FSAuthnRequest authnRequest,
                                      String realm,
                                      String hostEntityID,
                                      jakarta.servlet.http.HttpServletRequest request,
                                      jakarta.servlet.http.HttpServletResponse response)
                               throws FSRedirectException
        Returns the preferred IDP.
        Specified by:
        getPreferredIDP in interface FSRealmIDPProxy
        Parameters:
        authnRequest - original authnrequest
        realm - The realm under which the entity resides.
        hostEntityID - ProxyIDP entity ID.
        request - HttpServletRequest object
        response - HttpServletResponse object
        Returns:
        providerID of the authenticating provider to be proxied.
        Throws:
        FSRedirectException - if redirect was done