portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/security/impl FusionUserPrincipalImpl.java
Date Mon, 08 Nov 2004 22:41:13 GMT
taylor      2004/11/08 14:41:13

  Modified:    fusion/src/java/org/apache/jetspeed/fusion/security/impl
                        FusionUserPrincipalImpl.java
  Log:
  added  enabled state to support latest model changes in j2
  
  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.2       +16 -1     jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/security/impl/FusionUserPrincipalImpl.java
  
  Index: FusionUserPrincipalImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/security/impl/FusionUserPrincipalImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FusionUserPrincipalImpl.java	11 Aug 2004 21:23:59 -0000	1.1
  +++ FusionUserPrincipalImpl.java	8 Nov 2004 22:41:13 -0000	1.2
  @@ -27,6 +27,7 @@
   {
       private String userName;
       private JetspeedUser user;
  +    private boolean enabled = true;
       
       public FusionUserPrincipalImpl(String userName, JetspeedUser user)
       {
  @@ -59,5 +60,19 @@
       public String toString()
       {
           return userName;
  +    }
  +    /**
  +     * @param enabled The enabled to set.
  +     */
  +    public void setEnabled(boolean enabled)
  +    {
  +        this.enabled = enabled;
  +    }
  +    /**
  +     * @return Returns the enabled.
  +     */
  +    public boolean isEnabled()
  +    {
  +        return enabled;
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message