Constraint Descriptor : consAuthnStatement (type: ERROR, kind: )

Constraint : consAuthnStatement

Constraint Name
consAuthnStatement (type: ERROR, kind: )
Constraint Class
AssertionSpec
Package
samlihe
Description
Assertion SHALL contain AuthnStatement with AuthnContextClassRef or AuthnContextDeclRef (ITI TF Vol2b, 3.40.4.1.2)
OCL
self.authnStatement->exists(auth : AuthnStatementType | 
  				(not auth.authnContext.oclIsUndefined()) and 
  				(not auth.authnContext.authnContextClassRef.oclIsUndefined() or not auth.authnContext.authnContextDeclRef.oclIsUndefined())
  			)