Author: asoldano
Date: 2013-11-08 09:07:22 -0500 (Fri, 08 Nov 2013)
New Revision: 18077
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java
Log:
[JBWS-3730] Also allow controlling using system property
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java 2013-11-08
11:13:32 UTC (rev 18076)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java 2013-11-08
14:07:22 UTC (rev 18077)
@@ -161,7 +161,7 @@
bus.getInInterceptors().add(new NsCtxSelectorStoreInterceptor());
final String p = (props != null) ?
props.get(Constants.JBWS_CXF_DISABLE_HANDLER_AUTH_CHECKS) : null;
- if (p == null || (!"true".equalsIgnoreCase(p) &&
!"1".equalsIgnoreCase(p))) {
+ if ((p == null || (!"true".equalsIgnoreCase(p) &&
!"1".equalsIgnoreCase(p))) &&
!Boolean.getBoolean(Constants.JBWS_CXF_DISABLE_HANDLER_AUTH_CHECKS)) {
bus.getInInterceptors().add(new HandlerAuthInterceptor());
}
}
Show replies by date