You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2011/03/30 17:34:57 UTC
svn commit: r1086989 -
/webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java
Author: coheigea
Date: Wed Mar 30 15:34:57 2011
New Revision: 1086989
URL: http://svn.apache.org/viewvc?rev=1086989&view=rev
Log:
Pass the parsed certs from a BinarySecurityToken to the validator
Modified:
webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java
Modified: webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java?rev=1086989&r1=1086988&r2=1086989&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java (original)
+++ webservices/wss4j/trunk/src/main/java/org/apache/ws/security/processor/BinarySecurityTokenProcessor.java Wed Mar 30 15:34:57 2011
@@ -72,6 +72,7 @@ public class BinarySecurityTokenProcesso
// Hook to allow the user to validate the BinarySecurityToken
Credential credential = new Credential();
credential.setBinarySecurityToken(token);
+ credential.setCertificates(certs);
Credential returnedCredential = validator.validate(credential, data);