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:
54bb989
)
https://issues.shibboleth.net/jira/browse/CPPOST-90
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 9 Jan 2015 03:16:33 +0000
(
03:16
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 9 Jan 2015 03:16:33 +0000
(
03:16
+0000)
saml/saml2/core/impl/Assertions20SchemaValidators.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/core/impl/Assertions20SchemaValidators.cpp
b/saml/saml2/core/impl/Assertions20SchemaValidators.cpp
index
306232c
..
9048bfb
100644
(file)
--- a/
saml/saml2/core/impl/Assertions20SchemaValidators.cpp
+++ b/
saml/saml2/core/impl/Assertions20SchemaValidators.cpp
@@
-94,10
+94,7
@@
namespace opensaml {
END_XMLOBJECTVALIDATOR;
BEGIN_XMLOBJECTVALIDATOR(SAML_DLLLOCAL,Conditions);
- if (!ptr->hasChildren()) {
- XMLOBJECTVALIDATOR_ONEOF(Conditions,NotBefore,NotOnOrAfter);
- }
- else if (ptr->getOneTimeUses().size() > 1) {
+ if (ptr->getOneTimeUses().size() > 1) {
throw ValidationException("Multiple OneTimeUse condition elements are not permitted.");
}
else if (ptr->getProxyRestrictions().size() > 1) {