com.sun.identity.saml2.plugins
Interface SAML2IDPFinder
public interface SAML2IDPFinder
This interface SAML2IDPFinder
is used to find a list of
preferred Identity Authenticating providers to service the authentication
request.
getPreferredIDP
List getPreferredIDP(AuthnRequest authnRequest,
String hostProviderID,
String realm,
HttpServletRequest request,
HttpServletResponse response)
throws SAML2Exception
- Returns a list of preferred IDP providerID's.
- Parameters:
authnRequest
- original authnrequesthostProviderID
- hosted providerID.realm
- Realmrequest
- HttpServletRequestresponse
- HttpServletResponse
- Returns:
- a list of IDP providerID's or null if not found.
- Throws:
SAML2Exception
- if error occurs.