Commits

Anonymous committed 2469daa

Added ejb-links to make weblogic happy

Comments (0)

Files changed (1)

example/manager/WEB-INF/web.xml

-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
-<web-app>
-	<!-- Standard Web App stuff -->
-	<display-name>OSUser manager web-app</display-name>
-
-	<welcome-file-list>
-		<welcome-file>default.jsp</welcome-file>
-	</welcome-file-list>
-
-
-    <security-constraint>
-        <web-resource-collection>
-            <web-resource-name>test</web-resource-name>
-            <description>OSUser Test</description>
-            <url-pattern>/test/*</url-pattern>
-            <http-method>GET</http-method>
-        </web-resource-collection>
-        <auth-constraint>
-            <description>Foobars Role</description>
-            <role-name>foobars</role-name>
-        </auth-constraint>
-    <user-data-constraint>
-      <description>No Description</description>
-      <transport-guarantee>NONE</transport-guarantee>
-    </user-data-constraint>
-    </security-constraint>
-    <login-config>
-        <auth-method>BASIC</auth-method>
-        <realm-name>OSUser Manager Test</realm-name>
-    </login-config>
-    <security-role>
-        <description>Normal users </description>
-        <role-name>foobars</role-name>
-    </security-role>
-
-
-	<!-- EJB References -->
-	<ejb-ref>
-		<ejb-ref-name>ejb/osuser/User</ejb-ref-name>
-		<ejb-ref-type>Entity</ejb-ref-type>
-		<home>com.opensymphony.user.provider.ejb.entity.UserHome</home>
-		<remote>com.opensymphony.user.provider.ejb.entity.UserRemote</remote>
-	</ejb-ref>
-	<ejb-ref>
-		<ejb-ref-name>ejb/osuser/Group</ejb-ref-name>
-		<ejb-ref-type>Entity</ejb-ref-type>
-		<home>com.opensymphony.user.provider.ejb.entity.GroupHome</home>
-		<remote>com.opensymphony.user.provider.ejb.entity.GroupRemote</remote>
-	</ejb-ref>
-	<ejb-ref>
-		<ejb-ref-name>ejb/osuser/Membership</ejb-ref-name>
-		<ejb-ref-type>Entity</ejb-ref-type>
-		<home>com.opensymphony.user.provider.ejb.entity.MembershipHome</home>
-		<remote>com.opensymphony.user.provider.ejb.entity.MembershipRemote</remote>
-	</ejb-ref>
-	<!-- END EJB references -->
-
-
-	<!-- Environment Entries -->
-	<!-- END Environment Entries -->
-
-
-	<!-- SiteMesh -->
-	<!-- END SiteMesh -->
-
-
-	<!-- WebWork -->
-	<!-- END WebWork -->
-
-    <!-- Security Settings -->
-	<!-- END Security Settings -->
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+	<!-- Standard Web App stuff -->
+	<display-name>OSUser manager web-app</display-name>
+
+	<welcome-file-list>
+		<welcome-file>default.jsp</welcome-file>
+	</welcome-file-list>
+
+
+    <security-constraint>
+        <web-resource-collection>
+            <web-resource-name>test</web-resource-name>
+            <description>OSUser Test</description>
+            <url-pattern>/test/*</url-pattern>
+            <http-method>GET</http-method>
+        </web-resource-collection>
+        <auth-constraint>
+            <description>Foobars Role</description>
+            <role-name>foobars</role-name>
+        </auth-constraint>
+    <user-data-constraint>
+      <description>No Description</description>
+      <transport-guarantee>NONE</transport-guarantee>
+    </user-data-constraint>
+    </security-constraint>
+    <login-config>
+        <auth-method>BASIC</auth-method>
+        <realm-name>OSUser Manager Test</realm-name>
+    </login-config>
+    <security-role>
+        <description>Normal users </description>
+        <role-name>foobars</role-name>
+    </security-role>
+
+
+	<!-- EJB References -->
+	<ejb-ref>
+		<ejb-ref-name>ejb/osuser/User</ejb-ref-name>
+		<ejb-ref-type>Entity</ejb-ref-type>
+		<home>com.opensymphony.user.provider.ejb.entity.UserHome</home>
+		<remote>com.opensymphony.user.provider.ejb.entity.UserRemote</remote>
+		<ejb-link>osuser.jar#User</ejb-link>
+	</ejb-ref>
+	<ejb-ref>
+		<ejb-ref-name>ejb/osuser/Group</ejb-ref-name>
+		<ejb-ref-type>Entity</ejb-ref-type>
+		<home>com.opensymphony.user.provider.ejb.entity.GroupHome</home>
+		<remote>com.opensymphony.user.provider.ejb.entity.GroupRemote</remote>
+		<ejb-link>osuser.jar#Group</ejb-link>
+	</ejb-ref>
+	<ejb-ref>
+		<ejb-ref-name>ejb/osuser/Membership</ejb-ref-name>
+		<ejb-ref-type>Entity</ejb-ref-type>
+		<home>com.opensymphony.user.provider.ejb.entity.MembershipHome</home>
+		<remote>com.opensymphony.user.provider.ejb.entity.MembershipRemote</remote>
+		<ejb-link>osuser.jar#Membership</ejb-link>
+	</ejb-ref>
+	<!-- END EJB references -->
+
+
+	<!-- Environment Entries -->
+	<!-- END Environment Entries -->
+
+
+	<!-- SiteMesh -->
+	<!-- END SiteMesh -->
+
+
+	<!-- WebWork -->
+	<!-- END WebWork -->
+
+    <!-- Security Settings -->
+	<!-- END Security Settings -->
 </web-app>