You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by da...@apache.org on 2001/03/21 19:35:35 UTC

cvs commit: jakarta-servletapi-4/src/share/dtd web-app_2_3.dtd

dannyc      01/03/21 10:35:33

  Modified:    src/share/dtd web-app_2_3.dtd
  Log:
  Modified 2.3 web application dtd to reflect the run-as change as per the expert group in anticipation of the upcoming draft.
  
  Revision  Changes    Path
  1.2       +5 -4      jakarta-servletapi-4/src/share/dtd/web-app_2_3.dtd
  
  Index: web-app_2_3.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/dtd/web-app_2_3.dtd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- web-app_2_3.dtd	2001/01/09 03:24:25	1.1
  +++ web-app_2_3.dtd	2001/03/21 18:35:29	1.2
  @@ -117,7 +117,7 @@
   -->
   
   <!ELEMENT servlet (icon?, servlet-name, display-name?, description?,
  -(servlet-class|jsp-file), init-param*, load-on-startup?, security-role-ref*)>
  +(servlet-class|jsp-file), init-param*, load-on-startup?, run-as?, security-role-ref*)>
   
   <!--
   The servlet-name element contains the canonical name of the
  @@ -530,10 +530,10 @@
   
   <!--
   The ejb-ref element is used to declare a reference to an
  -enterprise bean. If the optional runAs element is used, the security identity of the call to the EJB must be propogated as the security role with the same name to the EJB.
  +enterprise bean. 
   -->
   
  -<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?, run-as?)>
  +<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)>
   
   <!--
   The ejb-ref-name element contains the name of an EJB
  @@ -577,7 +577,8 @@
   
   
   <!--
  -The run-as element must contain the name of a security role defined for this web application. 
  +The run-as element must contain the name of a security role defined for this web application. If the optional run-as element is used for a servlet definition, the security identity of a call to any EJBs from the servlet must be propogated as the security role with the same name.
  +
   -->
   
   <!ELEMENT run-as (#PCDATA)>