lib/saml/elements/authn_context.rb in libsaml-2.0.6 vs lib/saml/elements/authn_context.rb in libsaml-2.1.0
- old
+ new
@@ -5,9 +5,11 @@
tag "AuthnContext"
namespace 'saml'
element :authn_context_class_ref, String, :tag => "AuthnContextClassRef"
+ has_many :authenticating_authorities, ::Saml::Elements::AuthenticatingAuthority
+
validates :authn_context_class_ref, :inclusion => ClassRefs::ALL_CLASS_REFS + [nil]
end
end
end