Package com.sun.identity.saml2.plugins
Class SAML2IDPProxyFRImpl
- java.lang.Object
-
- com.sun.identity.saml2.plugins.SAML2IDPProxyFRImpl
-
- All Implemented Interfaces:
SAML2IDPFinder
public class SAML2IDPProxyFRImpl extends Object implements SAML2IDPFinder
This classSAML2IDPProxyFRImplis used to find a preferred Identity Authenticating provider to proxy the authentication request. It might use an external JSP page to interact with the user agent
-
-
Field Summary
Fields Modifier and Type Field Description static StringclassNamestatic StringIDP_FINDER_ENABLED_IN_SPstatic StringSESSION_ATTR_NAME_IDP_LISTstatic StringSESSION_ATTR_NAME_RELAYSTATEstatic StringSESSION_ATTR_NAME_REQAUTHNCONTEXTstatic StringSESSION_ATTR_NAME_SPREQUESTER
-
Constructor Summary
Constructors Constructor Description SAML2IDPProxyFRImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetAttributeListValueFromIDPSSOConfig(String realm, String hostEntityId, String attrName)ListgetPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Returns a list of preferred IDP providerIDs.ListgetSupportedAuthnContextsByIDP(String realm, String hostEntityId)
-
-
-
Field Detail
-
IDP_FINDER_ENABLED_IN_SP
public static String IDP_FINDER_ENABLED_IN_SP
-
SESSION_ATTR_NAME_IDP_LIST
public static String SESSION_ATTR_NAME_IDP_LIST
-
SESSION_ATTR_NAME_RELAYSTATE
public static String SESSION_ATTR_NAME_RELAYSTATE
-
SESSION_ATTR_NAME_SPREQUESTER
public static String SESSION_ATTR_NAME_SPREQUESTER
-
SESSION_ATTR_NAME_REQAUTHNCONTEXT
public static String SESSION_ATTR_NAME_REQAUTHNCONTEXT
-
className
public static String className
-
-
Method Detail
-
getPreferredIDP
public List getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws SAML2Exception
Returns a list of preferred IDP providerIDs.- Specified by:
getPreferredIDPin interfaceSAML2IDPFinder- Parameters:
authnRequest- original authnrequesthostProviderID- ProxyIDP providerID.realm- Realmrequest- HttpServletRequestresponse- HttpServletResponse- Returns:
- a list of providerID's of the authenticating providers to be
proxied or
nullto disable the proxying and continue for the localauthenticating provider. - Throws:
SAML2Exception- if error occurs.
-
getAttributeListValueFromIDPSSOConfig
public List getAttributeListValueFromIDPSSOConfig(String realm, String hostEntityId, String attrName)
-
-