[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...

Shane Bryzak Shane_Bryzak at symantec.com
Tue Jan 9 06:50:37 EST 2007


  User: sbryzak2
  Date: 07/01/09 06:50:37

  Modified:    src/main/org/jboss/seam/security  Identity.java
  Log:
  added identity.loggedIn
  
  Revision  Changes    Path
  1.10      +2 -2      jboss-seam/src/main/org/jboss/seam/security/Identity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Identity.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- Identity.java	9 Jan 2007 08:07:02 -0000	1.9
  +++ Identity.java	9 Jan 2007 11:50:37 -0000	1.10
  @@ -51,9 +51,9 @@
       * If there is a principal set, then the user is logged in.
       * 
       */
  -   public static boolean loggedIn()
  +   public boolean isLoggedIn()
      {
  -      return instance().getPrincipal() != null;
  +      return getPrincipal() != null;
      }
   
      public Principal getPrincipal()
  
  
  



More information about the jboss-cvs-commits mailing list