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

Constraint : consSubRoleOption

Constraint Name
consSubRoleOption (type: ERROR, kind: )
Constraint Class
SubjRoleOption
Package
samlihesubrole
Description
When Actor is implementing Subject-Role option, an attribute with @Name='urn:oasis:names:tc:xacml:2.0:subject:role' SHALL be present (ITI_TF_Vol2b, 3.40.4.1.2.1)
OCL
self.attribute->exists(att : AttributeType |
	(not att.name.oclIsUndefined()) and 
	att.name='urn:oasis:names:tc:xacml:2.0:subject:role'
)