Class SamlProfileTransactionIdaStatusMarshaller


  • public class SamlProfileTransactionIdaStatusMarshaller
    extends uk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller<uk.gov.ida.saml.core.domain.TransactionIdaStatus>
    This class is the same as TransactionIdaStatusMarshaller except that TransactionIdaStatus.NoMatchingServiceMatchFromHub is mapped to DetailedStatusCode.SamlProfileNoMatchingServiceMatchFromHub. This is because the saml profile specifies that a no-match (which has no Assertions) should have Status of Responder. TransactionIdaStatusMarshaller is kept in the package for backwards compatibility (RPs receive Success:no-match at time of writing) but the goal is to deprecate it (but this might take years).
    • Field Summary

      • Fields inherited from class uk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller

        samlObjectFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected uk.gov.ida.saml.core.domain.DetailedStatusCode getDetailedStatusCode​(uk.gov.ida.saml.core.domain.TransactionIdaStatus originalStatus)  
      • Methods inherited from class uk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller

        getStatusDetail, getStatusMessage, toSamlStatus
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SamlProfileTransactionIdaStatusMarshaller

        @Inject
        public SamlProfileTransactionIdaStatusMarshaller​(uk.gov.ida.saml.core.OpenSamlXmlObjectFactory samlObjectFactory)
    • Method Detail

      • getDetailedStatusCode

        protected uk.gov.ida.saml.core.domain.DetailedStatusCode getDetailedStatusCode​(uk.gov.ida.saml.core.domain.TransactionIdaStatus originalStatus)
        Specified by:
        getDetailedStatusCode in class uk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller<uk.gov.ida.saml.core.domain.TransactionIdaStatus>