com.sun.identity.federation.services
Interface FSRealmIDPProxy
public interface FSRealmIDPProxy
This interface FSRealmIDPProxy is used to find a preferred
Identity Authenticating provider to proxy the authentication request.
getPreferredIDP
String getPreferredIDP(FSAuthnRequest authnRequest,
String realm,
String hostProviderID,
HttpServletRequest request,
HttpServletResponse response)
- Returns the preferred IDP.
- Parameters:
authnRequest - original authnrequestrealm - The realm under which the entity resides.hostProviderID - ProxyIDP providerID.request - HttpServletRequestresponse - 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