projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Promoted isSecure.
[shibboleth/cpp-opensaml.git]
/
saml
/
binding
/
HTTPRequest.h
diff --git
a/saml/binding/HTTPRequest.h
b/saml/binding/HTTPRequest.h
index
5f17c1d
..
177aa56
100644
(file)
--- a/
saml/binding/HTTPRequest.h
+++ b/
saml/binding/HTTPRequest.h
@@
-42,7
+42,11
@@
namespace opensaml {
HTTPRequest() {}
public:
virtual ~HTTPRequest() {}
-
+
+ bool isSecure() const {
+ return strcmp(getScheme(),"https")==0;
+ }
+
/**
* Returns the HTTP method of the request (GET, POST, etc.)
*