diff --git a/src/XML/fed/SecurityTokenServiceType.php b/src/XML/fed/SecurityTokenServiceType.php index 0841fc1b..963c5d58 100644 --- a/src/XML/fed/SecurityTokenServiceType.php +++ b/src/XML/fed/SecurityTokenServiceType.php @@ -8,6 +8,7 @@ use DOMElement; use SimpleSAML\Assert\Assert; use SimpleSAML\SAML2\Assert\Assert as SAMLAssert; +use SimpleSAML\SAML2\Constants as C; use SimpleSAML\SAML2\XML\md\{ContactPerson, Extensions, KeyDescriptor, Organization}; use SimpleSAML\XML\Exception\InvalidDOMElementException; use SimpleSAML\XML\Exception\TooManyElementsException; @@ -22,6 +23,16 @@ */ final class SecurityTokenServiceType extends AbstractSecurityTokenServiceType { + /** @var string */ + public const NS = C::NS_MD; + + /** @var string */ + public const NS_PREFIX = 'md'; + + /** @var string */ + public const LOCALNAME = 'RoleDescriptor'; + + /** * Convert XML into a SecurityTokenServiceType RoleDescriptor *