getPreferredIDP
String getPreferredIDP(FSAuthnRequest authnRequest,
String realm,
String hostProviderID,
jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
throws FSRedirectException
Deprecated.
Returns the preferred IDP.
- Parameters:
authnRequest - original authnrequest
realm - The realm under which the entity resides.
hostProviderID - ProxyIDP providerID.
request - HttpServletRequest
response - HttpServletResponse
- Returns:
- providerID of the authenticating provider to be proxied.
null to disable the proxying and continue for the local
authenticating provider.
- Throws:
FSRedirectException - if redirect was done