org.jasig.portal.security.provider.saml
Class AssertionIdpResolverImpl

java.lang.Object
  extended by org.jasig.portal.security.provider.saml.AssertionIdpResolverImpl
All Implemented Interfaces:
IdPEPRResolver

public class AssertionIdpResolverImpl
extends Object
implements IdPEPRResolver

This class provides IdP ECP endpoint resolution based on the endpoint reference (EPR) provided by Shibboleth IdP in the assertion.

Author:
Adam Rybicki

Constructor Summary
AssertionIdpResolverImpl(XPathExpressionExecutor xPathExpressionPool)
           
 
Method Summary
 void resolve(SAMLSession samlSession, DelegatedSAMLAuthenticationState authnState)
          This method will take the samlSession's idp entity ID and resolve it to an endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionIdpResolverImpl

public AssertionIdpResolverImpl(XPathExpressionExecutor xPathExpressionPool)
Method Detail

resolve

public void resolve(SAMLSession samlSession,
                    DelegatedSAMLAuthenticationState authnState)
Description copied from interface: IdPEPRResolver
This method will take the samlSession's idp entity ID and resolve it to an endpoint. The endpoint is a URL that the ECP will use to ask the IdP for a delegated authentication assertion. The endpoint will be placed into authnState for later use. This method is invoked immediately prior to making a connection to the IdP. The implementation of this method should retrieve the IdP entityID, or name, by calling SAMLSession#getIdp() and store the resolved endpoint by calling SAMLSession.setIdpEndpoint.

Specified by:
resolve in interface IdPEPRResolver
Parameters:
samlSession - SAMLSession instance
authnState - DelegatedSAMLAuthenticationState instance to


Copyright © 2011 Jasig. All Rights Reserved.