[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui ...

Shane Bryzak Shane_Bryzak at symantec.com
Sun Dec 3 23:26:00 EST 2006


  User: sbryzak2
  Date: 06/12/03 23:26:00

  Modified:    src/ui/org/jboss/seam/ui  UISecure.java
  Log:
  fixed compiler errors
  
  Revision  Changes    Path
  1.2       +3 -3      jboss-seam/src/ui/org/jboss/seam/ui/UISecure.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UISecure.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/UISecure.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- UISecure.java	13 Oct 2006 04:53:46 -0000	1.1
  +++ UISecure.java	4 Dec 2006 04:26:00 -0000	1.2
  @@ -4,7 +4,7 @@
   import javax.faces.component.UIComponentBase;
   import javax.faces.context.FacesContext;
   
  -import org.jboss.seam.security.Authentication;
  +import org.jboss.seam.security.Identity;
   
   /**
    * Only renders the child tags if the authenticated user contains at least one
  @@ -32,10 +32,10 @@
       {
         String[] parts = roles.split("[,]");
   
  -      Authentication auth = null;
  +      Identity auth = null;
         try
         {
  -        auth = Authentication.instance();
  +        auth = Identity.instance();
   
           for (int i = 0; i < parts.length; i++)
           {
  
  
  



More information about the jboss-cvs-commits mailing list