User: cgjung
Date: 02/02/04 01:38:58
Modified: jboss.net/src/resources/plugin/META-INF install-axis.xml
jboss-service.xml
Log:
Adapted to latest deployment changes. Compiles, but does not yet run yet.
Revision Changes Path
1.3 +34 -0 contrib/jboss.net/src/resources/plugin/META-INF/install-axis.xml
Index: install-axis.xml
===================================================================
RCS file:
/cvsroot/jboss/contrib/jboss.net/src/resources/plugin/META-INF/install-axis.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- install-axis.xml 2001/10/03 13:20:32 1.2
+++ install-axis.xml 2002/02/04 09:38:58 1.3
@@ -4,6 +4,8 @@
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
+<!-- A web application that installs the basic Axis servlets and their security
environment -->
+
<web-app>
<display-name>JBossAxis</display-name>
@@ -43,5 +45,37 @@
<servlet-name>AdminServlet</servlet-name>
<url-pattern>/servlet/AdminServlet</url-pattern>
</servlet-mapping>
+
+ <!-- we add a security constraint -->
+ <security-constraint>
+ <!-- for every exposed service -->
+ <web-resource-collection>
+ <web-resource-name>Secured</web-resource-name>
+ <description>Authenticate every call</description>
+ <url-pattern>/services/*</url-pattern>
+ <http-method>HEAD</http-method>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ <http-method>PUT</http-method>
+ <http-method>DELETE</http-method>
+ </web-resource-collection>
+
+ <!-- we let through every user, authenticated or not. this is to
+ refine by specific service descriptors. Warning: this is currently
+ Jetty-specific, does not authenticate users correctly, and should be
changed
+ to the * role with the advent of Jetty4 or a bugfix in Jetty3 -->
+
+ <auth-constraint>
+ <role-name>NONE</role-name>
+ </auth-constraint>
+
+ <!-- no user data constraint here, this should be done for the individual
services -->
+ </security-constraint>
+
+ <!-- we do BASIC authentication for now -->
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>Axis basic authentication</realm-name>
+ </login-config>
</web-app>
1.8 +5 -2
contrib/jboss.net/src/resources/plugin/META-INF/jboss-service.xml
Index: jboss-service.xml
===================================================================
RCS file:
/cvsroot/jboss/contrib/jboss.net/src/resources/plugin/META-INF/jboss-service.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jboss-service.xml 2002/01/03 04:00:54 1.7
+++ jboss-service.xml 2002/02/04 09:38:58 1.8
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
-<!-- $Id: jboss-service.xml,v 1.7 2002/01/03 04:00:54 user57 Exp $ -->
+<!-- $Id: jboss-service.xml,v 1.8 2002/02/04 09:38:58 cgjung Exp $ -->
<server>
- <classpath archives="axis.jar, javax.servlet.jar"/>
+ <classpath codebase="lib/ext" archives="axis.jar, javax.servlet.jar"/>
<!-- ==================================================================== -->
<!-- Starts the Axis Deployer -->
@@ -18,16 +18,19 @@
|
| If you want to enable several services, be sure that you choose
| different root contexts
+ |
-->
<mbean code="org.jboss.net.axis.server.AxisService"
name="jboss:service=Axis">
<depends>jboss.web:service=Jetty</depends>
<attribute name="WarDeployerName">jboss.web:service=Jetty</attribute>
<attribute name="RootContext">axis</attribute>
+ <attribute name="SecurityDomain">java:/jaas/other</attribute>
</mbean>
<!--
| Uncomment to enable the Axis JMX Adaptor
+ |
-->
<mbean code="org.jboss.net.jmx.adaptor.server.Adaptor"
name="Web:service=Adaptor">
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development