Class UnicoreIdpConsentDeciderServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- pl.edu.icm.unity.saml.idp.web.filter.IdpConsentDeciderServlet
-
- pl.edu.icm.unity.unicore.samlidp.web.UnicoreIdpConsentDeciderServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class UnicoreIdpConsentDeciderServlet extends pl.edu.icm.unity.saml.idp.web.filter.IdpConsentDeciderServletTrivial extension ofIdpConsentDeciderServlet, which uses UNICORE preferences instead of SAML preferences and UNICORE SAML processor to generate automatic replay.- Author:
- K. Benedyczak
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnicoreIdpConsentDeciderServlet.Factory
-
Constructor Summary
Constructors Constructor Description UnicoreIdpConsentDeciderServlet(pl.edu.icm.unity.engine.api.attributes.AttributeTypeSupport aTypeSupport, pl.edu.icm.unity.engine.api.PreferencesManagement preferencesMan, pl.edu.icm.unity.engine.api.idp.IdPEngine idpEngine, pl.edu.icm.unity.engine.api.utils.FreemarkerAppHandler freemarker, pl.edu.icm.unity.engine.api.session.SessionManagement sessionMan, pl.edu.icm.unity.engine.api.EnquiryManagement enquiryManagement, pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementManagement policyAgreementsMan, pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.saml.idp.SamlIdpStatisticReporter.SamlIdpStatisticReporterFactory idpStatisticReporterFactory, io.imunity.idp.LastIdPClinetAccessAttributeManagement lastAccessAttributeManagement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidautoReplay(pl.edu.icm.unity.saml.idp.preferences.SamlPreferences.SPSettings spPreferences, pl.edu.icm.unity.saml.idp.ctx.SAMLAuthnContext samlCtx, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Automatically sends a SAML response, without the consent screen.protected pl.edu.icm.unity.saml.idp.preferences.SamlPreferences.SPSettingsloadPreferences(pl.edu.icm.unity.saml.idp.ctx.SAMLAuthnContext samlCtx)-
Methods inherited from class pl.edu.icm.unity.saml.idp.web.filter.IdpConsentDeciderServlet
addSessionParticipant, doGet, doPost, getIdentity, getServiceUrl, getUserInfo, init, service, serviceInterruptible
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Constructor Detail
-
UnicoreIdpConsentDeciderServlet
@Autowired public UnicoreIdpConsentDeciderServlet(pl.edu.icm.unity.engine.api.attributes.AttributeTypeSupport aTypeSupport, pl.edu.icm.unity.engine.api.PreferencesManagement preferencesMan, pl.edu.icm.unity.engine.api.idp.IdPEngine idpEngine, pl.edu.icm.unity.engine.api.utils.FreemarkerAppHandler freemarker, pl.edu.icm.unity.engine.api.session.SessionManagement sessionMan, @Qualifier("insecure") pl.edu.icm.unity.engine.api.EnquiryManagement enquiryManagement, pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementManagement policyAgreementsMan, pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.saml.idp.SamlIdpStatisticReporter.SamlIdpStatisticReporterFactory idpStatisticReporterFactory, io.imunity.idp.LastIdPClinetAccessAttributeManagement lastAccessAttributeManagement)
-
-
Method Detail
-
loadPreferences
protected pl.edu.icm.unity.saml.idp.preferences.SamlPreferences.SPSettings loadPreferences(pl.edu.icm.unity.saml.idp.ctx.SAMLAuthnContext samlCtx) throws pl.edu.icm.unity.exceptions.EngineException- Overrides:
loadPreferencesin classpl.edu.icm.unity.saml.idp.web.filter.IdpConsentDeciderServlet- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
autoReplay
protected void autoReplay(pl.edu.icm.unity.saml.idp.preferences.SamlPreferences.SPSettings spPreferences, pl.edu.icm.unity.saml.idp.ctx.SAMLAuthnContext samlCtx, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws pl.edu.icm.unity.webui.idpcommon.EopException, IOExceptionAutomatically sends a SAML response, without the consent screen.- Overrides:
autoReplayin classpl.edu.icm.unity.saml.idp.web.filter.IdpConsentDeciderServlet- Throws:
IOExceptionpl.edu.icm.unity.webui.idpcommon.EopException
-
-