Class SAMLETDAuthnImpl

  • All Implemented Interfaces:
    eu.unicore.samly2.webservice.SAMLAuthnInterface

    public class SAMLETDAuthnImpl
    extends pl.edu.icm.unity.saml.idp.ws.SAMLAuthnImpl
    implements eu.unicore.samly2.webservice.SAMLAuthnInterface
    Implementation of the SAML authentication protocol over SOAP.

    This version is UNICORE aware: if request has X.500 issuer and required identity is as well X.500, then a bootstrap ETD assertion is generated and added.

    Author:
    K. Benedyczak
    • Field Summary

      • Fields inherited from class pl.edu.icm.unity.saml.idp.ws.SAMLAuthnImpl

        aTypeSupport, endpointAddress, idpEngine, lastAccessAttributeManagement, preferencesMan, samlProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      SAMLETDAuthnImpl​(pl.edu.icm.unity.engine.api.attributes.AttributeTypeSupport aTypeSupport, pl.edu.icm.unity.saml.idp.SamlIdpProperties samlProperties, String endpointAddress, pl.edu.icm.unity.engine.api.idp.IdPEngine idpEngine, pl.edu.icm.unity.engine.api.PreferencesManagement preferencesMan, pl.edu.icm.unity.saml.idp.SamlIdpStatisticReporter idpStatisticReporter, io.imunity.idp.LastIdPClinetAccessAttributeManagement lastAccessAttributeManagement)  
    • Constructor Detail

      • SAMLETDAuthnImpl

        public SAMLETDAuthnImpl​(pl.edu.icm.unity.engine.api.attributes.AttributeTypeSupport aTypeSupport,
                                pl.edu.icm.unity.saml.idp.SamlIdpProperties samlProperties,
                                String endpointAddress,
                                pl.edu.icm.unity.engine.api.idp.IdPEngine idpEngine,
                                pl.edu.icm.unity.engine.api.PreferencesManagement preferencesMan,
                                pl.edu.icm.unity.saml.idp.SamlIdpStatisticReporter idpStatisticReporter,
                                io.imunity.idp.LastIdPClinetAccessAttributeManagement lastAccessAttributeManagement)
    • Method Detail

      • authnRequest

        public xmlbeans.org.oasis.saml2.protocol.ResponseDocument authnRequest​(xmlbeans.org.oasis.saml2.protocol.AuthnRequestDocument reqDoc)
        Specified by:
        authnRequest in interface eu.unicore.samly2.webservice.SAMLAuthnInterface
        Overrides:
        authnRequest in class pl.edu.icm.unity.saml.idp.ws.SAMLAuthnImpl
      • validate

        protected void validate​(pl.edu.icm.unity.saml.idp.ctx.SAMLAuthnContext context)
                         throws eu.unicore.samly2.exceptions.SAMLServerException
        Overrides:
        validate in class pl.edu.icm.unity.saml.idp.ws.SAMLAuthnImpl
        Throws:
        eu.unicore.samly2.exceptions.SAMLServerException