Author: richard.opalka(a)jboss.com
Date: 2009-03-25 06:05:10 -0400 (Wed, 25 Mar 2009)
New Revision: 9680
Modified:
framework/trunk/pom.xml
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ContextRootDeploymentAspect.java
Log:
[JBWS-2565] fixing issue
Modified: framework/trunk/pom.xml
===================================================================
--- framework/trunk/pom.xml 2009-03-25 10:02:47 UTC (rev 9679)
+++ framework/trunk/pom.xml 2009-03-25 10:05:10 UTC (rev 9680)
@@ -26,7 +26,7 @@
<!-- Properties -->
<properties>
<jbossws.common.version>1.0.10-SNAPSHOT</jbossws.common.version>
- <jbossws.spi.version>1.1.0-SNAPSHOT</jbossws.spi.version>
+ <jbossws.spi.version>1.1.1-SNAPSHOT</jbossws.spi.version>
<jboss.common.version>1.2.1.GA</jboss.common.version>
<jbossxb.version>1.0.0.SP1</jbossxb.version>
</properties>
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ContextRootDeploymentAspect.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ContextRootDeploymentAspect.java 2009-03-25
10:02:47 UTC (rev 9679)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/ContextRootDeploymentAspect.java 2009-03-25
10:05:10 UTC (rev 9680)
@@ -21,6 +21,8 @@
*/
package org.jboss.wsf.framework.deployment;
+import org.jboss.wsf.spi.annotation.AuthMethod;
+import org.jboss.wsf.spi.annotation.TransportGuarantee;
import org.jboss.wsf.spi.annotation.WebContext;
import org.jboss.wsf.spi.deployment.ArchiveDeployment;
import org.jboss.wsf.spi.deployment.Deployment;
@@ -71,6 +73,7 @@
{
Class implClass = ep.getTargetBeanClass();
WebContext anWebContext =
(WebContext)implClass.getAnnotation(WebContext.class);
+ this.validateSecuritySettings(anWebContext);
if (anWebContext != null && anWebContext.contextRoot().length() >
0)
{
if (contextRoot != null &&
contextRoot.equals(anWebContext.contextRoot()) == false)
@@ -104,4 +107,13 @@
}
return contextRoot;
}
+
+ private void validateSecuritySettings(WebContext webCtx)
+ {
+ if (webCtx != null)
+ {
+ TransportGuarantee.valueOf(webCtx.transportGuarantee());
+ AuthMethod.valueOf(webCtx.authMethod());
+ }
+ }
}
Show replies by date