Author: anil.saldhana(a)jboss.com
Date: 2011-04-12 23:03:02 -0400 (Tue, 12 Apr 2011)
New Revision: 878
Modified:
trust/trunk/jbossws/src/main/java/org/picketlink/trust/jbossws/handler/SAML2Handler.java
Log:
PLFED-174: return true if no assertion
Modified:
trust/trunk/jbossws/src/main/java/org/picketlink/trust/jbossws/handler/SAML2Handler.java
===================================================================
---
trust/trunk/jbossws/src/main/java/org/picketlink/trust/jbossws/handler/SAML2Handler.java 2011-04-13
02:51:34 UTC (rev 877)
+++
trust/trunk/jbossws/src/main/java/org/picketlink/trust/jbossws/handler/SAML2Handler.java 2011-04-13
03:03:02 UTC (rev 878)
@@ -109,6 +109,15 @@
assertion = getAssertionFromSubject();
}
+ if(assertion == null )
+ {
+ if(trace)
+ {
+ log.trace("No Assertion was found on the message context or
authenticated subject. Returning");
+ }
+ return true;
+ }
+
// add wsse header
Document document = soapMessage.getSOAPPart();
Element soapHeader = Util.findOrCreateSoapHeader(document.getDocumentElement());
Show replies by date