Author: richard.opalka(a)jboss.com
Date: 2008-08-01 09:04:28 -0400 (Fri, 01 Aug 2008)
New Revision: 7985
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
Log:
[JBWS-2216] let security constraint defining url pattern /* to match all endpoints
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2008-08-01
06:41:29 UTC (rev 7984)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2008-08-01
13:04:28 UTC (rev 7985)
@@ -263,7 +263,7 @@
{
for (String currentUrlPattern : currentCollection.getUrlPatterns())
{
- if (urlPattern.equals(currentUrlPattern))
+ if (urlPattern.equals(currentUrlPattern) ||
"/*".equals(currentUrlPattern))
{
transportGuarantee = currentSecurity.getTransportGuarantee();
}
Show replies by date