com.sun.identity.federation.services
Interface FSIDPProxy


public interface FSIDPProxy

This interface FSIDPProxy is used to find a preferred Identity Authenticating provider to proxy the authentication request.


Method Summary
 java.lang.String getPreferredIDP(com.sun.identity.federation.message.FSAuthnRequest authnRequest, java.lang.String hostProviderID, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the preferred IDP.
 

Method Detail

getPreferredIDP

public java.lang.String getPreferredIDP(com.sun.identity.federation.message.FSAuthnRequest authnRequest,
                                        java.lang.String hostProviderID,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws com.sun.identity.federation.common.FSRedirectException
Gets the preferred IDP.

Parameters:
authnRequest - original authnrequest
hostProviderID - ProxyIDP providerID.
request - HttpServletRequest
response - HttpServletResponse
Returns:
String providerID of the authenticating provider to be proxied. null to disable the proxying and continue for the local authenticating provider.
Throws:
com.sun.identity.federation.common.FSRedirectException


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.