ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1443496 - /webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java
Date Thu, 07 Feb 2013 14:15:55 GMT
Author: coheigea
Date: Thu Feb  7 14:15:55 2013
New Revision: 1443496

URL: http://svn.apache.org/viewvc?rev=1443496&view=rev
Log:
[WSS-422] - Adding to stax validator as well

Modified:
    webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java

Modified: webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java?rev=1443496&r1=1443495&r2=1443496&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/main/java/org/apache/ws/security/stax/validate/SamlTokenValidatorImpl.java
Thu Feb  7 14:15:55 2013
@@ -105,6 +105,8 @@ public class SamlTokenValidatorImpl exte
      */
     //todo shoudn't we move this into the SamlAssertionWrapper? Then it could be reused by
StAX and DOM impl.
     protected void validateAssertion(SamlAssertionWrapper samlAssertion) throws WSSecurityException
{
+        samlAssertion.validateSignatureAgainstProfile();
+        
         if (samlAssertion.getSaml1() != null) {
             ValidatorSuite schemaValidators =
                     org.opensaml.Configuration.getValidatorSuite("saml1-schema-validator");



Mime
View raw message