User: starksm
Date: 01/06/21 20:52:14
Modified: src/resources/org/jboss/metadata Tag: Branch_2_4
jboss_2_4.dtd
Log:
Add an unauthenticated-principal element at the application level to allow
for the specification of the principal name that should be returned by
EJBContext.getCallerPrincipal().
Revision Changes Path
No revision
No revision
1.1.2.1 +9 -1 jboss/src/resources/org/jboss/metadata/jboss_2_4.dtd
Index: jboss_2_4.dtd
===================================================================
RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jboss_2_4.dtd,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- jboss_2_4.dtd 2001/06/15 16:14:08 1.1
+++ jboss_2_4.dtd 2001/06/22 03:52:14 1.1.2.1
@@ -13,6 +13,7 @@
<enforce-ejb-restrictions />
<security-domain />
+ <unauthenticated-principal />
<enterprise-beans>
@@ -84,7 +85,7 @@
3- the deployer can specify runtime jndi names for resource managers.
-->
-<!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? , enterprise-beans? ,
resource-managers? , container-configurations?)>
+<!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? ,
unauthenticated-principal?, enterprise-beans? , resource-managers? ,
container-configurations?)>
<!--
The enforce-ejb-restrictions element tells the container to enforce ejb1.1
restrictions
@@ -107,6 +108,13 @@
Used in: jboss, container-configuration
-->
<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The unauthenticated-principal element specifies the name of the principal
+that will be returned by the EJBContext.getCallerPrincipal() method if there
+is no authenticated user. This Principal has no roles or privaledges to call
+any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
<!--
The enterprise-beans element contains additional information about
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development