Adjusted ACL API to take authn statement as well as attrs.
[shibboleth/sp.git] / shib-target / shib-target.h
index c6a96dd..f9d5eb0 100644 (file)
@@ -160,7 +160,9 @@ namespace shibtarget {
 
     struct SHIBTARGET_EXPORTS IAccessControl : public virtual shibboleth::ILockable, public virtual shibboleth::IPlugIn
     {
-        virtual bool authorized(const saml::Iterator<saml::SAMLAssertion*>& creds) const=0;
+        virtual bool authorized(
+            const saml::SAMLAuthenticationStatement& authn, const saml::Iterator<saml::SAMLAssertion*>& attrs
+            ) const=0;
         virtual ~IAccessControl() {}
     };