You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by ta...@apache.org on 2004/05/07 20:15:04 UTC

cvs commit: jakarta-pluto/container/src/java/org/apache/pluto/om/servlet WebApplicationDefinition.java

taylor      2004/05/07 11:15:04

  Modified:    container/src/java/org/apache/pluto/om/servlet
                        WebApplicationDefinition.java
  Log:
  Add security roles interface for getting security roles from the web.xml
  
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +10 -0     jakarta-pluto/container/src/java/org/apache/pluto/om/servlet/WebApplicationDefinition.java
  
  Index: WebApplicationDefinition.java
  ===================================================================
  RCS file: /home/cvs/jakarta-pluto/container/src/java/org/apache/pluto/om/servlet/WebApplicationDefinition.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WebApplicationDefinition.java	2 Mar 2004 14:48:57 -0000	1.2
  +++ WebApplicationDefinition.java	7 May 2004 18:15:04 -0000	1.3
  @@ -26,6 +26,7 @@
   import org.apache.pluto.om.common.Description;
   import org.apache.pluto.om.common.DisplayName;
   import org.apache.pluto.om.common.ParameterSet;
  +import org.apache.pluto.om.common.SecurityRoleSet;
   
   /**
    * <P>
  @@ -104,4 +105,13 @@
        * @return the context root
        */
       public String getContextRoot();
  +    
  +    /**
  +     * Returns the security roles defined for the web application.
  +     * The returned value cannot be NULL.
  +     * 
  +     * @return a set containing SecurityRole objects 
  +     */
  +    public SecurityRoleSet getSecurityRoles();
  +    
   }