[cpp-sp] branch master updated: Removed the wrong function, correct one this time.

Scott Cantor cantor.2 at osu.edu
Mon Apr 23 15:56:14 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=34c06608c285a2237fa416a1e00cd31eb5e666e7

The following commit(s) were added to refs/heads/master by this push:
       new  34c0660   Removed the wrong function, correct one this time.
34c0660 is described below

commit 34c06608c285a2237fa416a1e00cd31eb5e666e7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Apr 23 15:56:08 2018 -0400

    Removed the wrong function, correct one this time.
---
 shibsp/handler/AssertionConsumerService.h | 51 ++++++++++++++-----------------
 1 file changed, 23 insertions(+), 28 deletions(-)

diff --git a/shibsp/handler/AssertionConsumerService.h b/shibsp/handler/AssertionConsumerService.h
index b9b1261..f4a5e20 100644
--- a/shibsp/handler/AssertionConsumerService.h
+++ b/shibsp/handler/AssertionConsumerService.h
@@ -137,6 +137,29 @@ namespace shibsp {
             ) const;
 
         /**
+         * Implement protocol-specific handling of the incoming decoded message.
+         * 
+         * <p>The result of implementing the protocol should be an exception or
+         * modifications to the request/response objects to reflect processing
+         * of the message.
+         * 
+         * @param application   reference to application receiving message
+         * @param httpRequest   client request that included message
+         * @param httpResponse  response to client
+         * @param policy        the SecurityPolicy in effect, after having evaluated the message
+         * @param reserved      ignore this parameter
+         * @param xmlObject     a protocol-specific message object
+         */
+        virtual void implementProtocol(
+            const Application& application,
+            const xmltooling::HTTPRequest& httpRequest,
+            xmltooling::HTTPResponse& httpResponse,
+            opensaml::SecurityPolicy& policy,
+            const PropertySet* reserved,
+            const xmltooling::XMLObject& xmlObject
+            ) const=0;
+
+        /**
          * Extracts policy-relevant assertion details.
          * 
          * @param assertion the incoming assertion
@@ -148,34 +171,6 @@ namespace shibsp {
             ) const;
 
         /**
-         * @deprecated
-         * Attempt SSO-initiated attribute resolution using the supplied information,
-         * including NameID and token extraction and filtering followed by
-         * secondary resolution.
-         * 
-         * <p>The caller must free the returned context handle.
-         * 
-         * @param application           reference to application receiving message
-         * @param issuer                source of SSO tokens
-         * @param protocol              SSO protocol used
-         * @param v1nameid              identifier of principal in SAML 1.x form, if any
-         * @param nameid                identifier of principal in SAML 2.0 form
-         * @param authncontext_class    method/category of authentication event, if known
-         * @param authncontext_decl     specifics of authentication event, if known
-         * @param tokens                available assertions, if any
-         */
-        ResolutionContext* resolveAttributes(
-            const Application& application,
-            const opensaml::saml2md::RoleDescriptor* issuer=nullptr,
-            const XMLCh* protocol=nullptr,
-            const opensaml::saml1::NameIdentifier* v1nameid=nullptr,
-            const opensaml::saml2::NameID* nameid=nullptr,
-            const XMLCh* authncontext_class=nullptr,
-            const XMLCh* authncontext_decl=nullptr,
-            const std::vector<const opensaml::Assertion*>* tokens=nullptr
-            ) const;
-
-        /**
          * Attempt SSO-initiated attribute resolution using the supplied information,
          * including NameID and token extraction and filtering followed by
          * secondary resolution.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list