[jboss-cvs] jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/prefs ...

Christian Bauer christian.bauer at jboss.com
Wed Feb 21 11:24:10 EST 2007


  User: cbauer  
  Date: 07/02/21 11:24:10

  Modified:    examples/wiki/src/org/jboss/seam/wiki/core/prefs 
                        GlobalPreferences.java
  Log:
  User registration/login and some security
  JBSEAM-870
  JBSEAM-871
  JBSEAM-874
  
  Revision  Changes    Path
  1.3       +36 -1     jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/prefs/GlobalPreferences.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: GlobalPreferences.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/prefs/GlobalPreferences.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- GlobalPreferences.java	16 Feb 2007 16:26:45 -0000	1.2
  +++ GlobalPreferences.java	21 Feb 2007 16:24:10 -0000	1.3
  @@ -1,12 +1,23 @@
   package org.jboss.seam.wiki.core.prefs;
   
  -import javax.faces.context.FacesContext;
   
   public class GlobalPreferences {
   
  +    private String baseURL;
       private URLRendering defaultURLRendering;
       private String permlinkSuffix;
       private String themeName;
  +    private String newUserInRole;
  +    private String passwordRegex;
  +    private String activationCodeSalt;
  +
  +    public String getBaseURL() {
  +        return baseURL;
  +    }
  +
  +    public void setBaseURL(String baseURL) {
  +        this.baseURL = baseURL;
  +    }
   
       public URLRendering getDefaultURLRendering() {
           return defaultURLRendering;
  @@ -32,6 +43,30 @@
           this.themeName = themeName;
       }
   
  +    public String getNewUserInRole() {
  +        return newUserInRole;
  +    }
  +
  +    public void setNewUserInRole(String newUserInRole) {
  +        this.newUserInRole = newUserInRole;
  +    }
  +
  +    public String getPasswordRegex() {
  +        return passwordRegex;
  +    }
  +
  +    public void setPasswordRegex(String passwordRegex) {
  +        this.passwordRegex = passwordRegex;
  +    }
  +
  +    public String getActivationCodeSalt() {
  +        return activationCodeSalt;
  +    }
  +
  +    public void setActivationCodeSalt(String activationCodeSalt) {
  +        this.activationCodeSalt = activationCodeSalt;
  +    }
  +
       public enum URLRendering {
           PERMLINK, WIKILINK
       }
  
  
  



More information about the jboss-cvs-commits mailing list