[jbossws-commits] JBossWS SVN: r16691 - stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Mon Sep 3 11:36:43 EDT 2012
Author: alessio.soldano at jboss.com
Date: 2012-09-03 11:36:42 -0400 (Mon, 03 Sep 2012)
New Revision: 16691
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java
Log:
[JBWS-3543] Relaxing SubjectCreatingPolicyInterceptor reaction to missing SecurityContext
Modified: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java 2012-09-03 13:54:10 UTC (rev 16690)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java 2012-09-03 15:36:42 UTC (rev 16691)
@@ -68,7 +68,8 @@
SecurityContext context = message.get(SecurityContext.class);
if (context == null || context.getUserPrincipal() == null)
{
- reportSecurityException("User Principal is not available on the current message");
+ LOG.error("User Principal is not available on the current message"); //TODO i18n
+ return;
}
SecurityToken token = message.get(SecurityToken.class);
More information about the jbossws-commits
mailing list