Class SamlProfileTransactionIdaStatusMarshaller
- java.lang.Object
-
- uk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller<uk.gov.ida.saml.core.domain.TransactionIdaStatus>
-
- uk.gov.ida.saml.hub.transformers.outbound.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).
-
-
Constructor Summary
Constructors Constructor Description SamlProfileTransactionIdaStatusMarshaller(uk.gov.ida.saml.core.OpenSamlXmlObjectFactory samlObjectFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected uk.gov.ida.saml.core.domain.DetailedStatusCodegetDetailedStatusCode(uk.gov.ida.saml.core.domain.TransactionIdaStatus originalStatus)
-
-
-
Method Detail
-
getDetailedStatusCode
protected uk.gov.ida.saml.core.domain.DetailedStatusCode getDetailedStatusCode(uk.gov.ida.saml.core.domain.TransactionIdaStatus originalStatus)
- Specified by:
getDetailedStatusCodein classuk.gov.ida.saml.core.transformers.outbound.IdaStatusMarshaller<uk.gov.ida.saml.core.domain.TransactionIdaStatus>
-
-