projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e90e18
)
Expose a "user agent present" property.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 3 Jul 2007 19:38:08 +0000
(19:38 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 3 Jul 2007 19:38:08 +0000
(19:38 +0000)
saml/binding/MessageDecoder.h
patch
|
blob
|
history
saml/binding/MessageEncoder.h
patch
|
blob
|
history
saml/saml1/binding/impl/SAML1SOAPDecoder.cpp
patch
|
blob
|
history
saml/saml1/binding/impl/SAML1SOAPEncoder.cpp
patch
|
blob
|
history
saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
patch
|
blob
|
history
saml/saml2/binding/impl/SAML2SOAPEncoder.cpp
patch
|
blob
|
history
diff --git
a/saml/binding/MessageDecoder.h
b/saml/binding/MessageDecoder.h
index
31649cc
..
d3fcc9e
100644
(file)
--- a/
saml/binding/MessageDecoder.h
+++ b/
saml/binding/MessageDecoder.h
@@
-54,6
+54,15
@@
namespace opensaml {
virtual ~MessageDecoder() {}
/**
virtual ~MessageDecoder() {}
/**
+ * Indicates whether a web browser or similar user agent delivered the message.
+ *
+ * @return true iff the message was delivered by a user agent
+ */
+ virtual bool isUserAgentPresent() const {
+ return true;
+ }
+
+ /**
* Interface to caller-supplied artifact resolution mechanism.
*
* Resolving artifacts requires internally performing a SOAP-based
* Interface to caller-supplied artifact resolution mechanism.
*
* Resolving artifacts requires internally performing a SOAP-based
diff --git
a/saml/binding/MessageEncoder.h
b/saml/binding/MessageEncoder.h
index
fa8218d
..
dcbd86d
100644
(file)
--- a/
saml/binding/MessageEncoder.h
+++ b/
saml/binding/MessageEncoder.h
@@
-59,6
+59,15
@@
namespace opensaml {
}
/**
}
/**
+ * Indicates whether a web browser or similar user agent will receive the message.
+ *
+ * @return true iff the message will be handled by a user agent
+ */
+ virtual bool isUserAgentPresent() const {
+ return true;
+ }
+
+ /**
* Interface to caller-supplied artifact generation mechanism.
*
* Generating an artifact for storage and retrieval requires knowledge of
* Interface to caller-supplied artifact generation mechanism.
*
* Generating an artifact for storage and retrieval requires knowledge of
diff --git
a/saml/saml1/binding/impl/SAML1SOAPDecoder.cpp
b/saml/saml1/binding/impl/SAML1SOAPDecoder.cpp
index
d759507
..
eff4034
100644
(file)
--- a/
saml/saml1/binding/impl/SAML1SOAPDecoder.cpp
+++ b/
saml/saml1/binding/impl/SAML1SOAPDecoder.cpp
@@
-44,7
+44,11
@@
namespace opensaml {
public:
SAML1SOAPDecoder(const DOMElement* e) {}
virtual ~SAML1SOAPDecoder() {}
public:
SAML1SOAPDecoder(const DOMElement* e) {}
virtual ~SAML1SOAPDecoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
diff --git
a/saml/saml1/binding/impl/SAML1SOAPEncoder.cpp
b/saml/saml1/binding/impl/SAML1SOAPEncoder.cpp
index
e031adf
..
7dc59a1
100644
(file)
--- a/
saml/saml1/binding/impl/SAML1SOAPEncoder.cpp
+++ b/
saml/saml1/binding/impl/SAML1SOAPEncoder.cpp
@@
-48,7
+48,11
@@
namespace opensaml {
public:
SAML1SOAPEncoder(const DOMElement* e) {}
virtual ~SAML1SOAPEncoder() {}
public:
SAML1SOAPEncoder(const DOMElement* e) {}
virtual ~SAML1SOAPEncoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,
diff --git
a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
index
c48c2f9
..
3757039
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2SOAPDecoder.cpp
@@
-44,7
+44,11
@@
namespace opensaml {
public:
SAML2SOAPDecoder(const DOMElement* e);
virtual ~SAML2SOAPDecoder() {}
public:
SAML2SOAPDecoder(const DOMElement* e);
virtual ~SAML2SOAPDecoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
diff --git
a/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp
b/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp
index
65e135b
..
bd82eeb
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2SOAPEncoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2SOAPEncoder.cpp
@@
-48,7
+48,11
@@
namespace opensaml {
public:
SAML2SOAPEncoder(const DOMElement* e);
virtual ~SAML2SOAPEncoder() {}
public:
SAML2SOAPEncoder(const DOMElement* e);
virtual ~SAML2SOAPEncoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,