Changeset 25262

Show
Ignore:
Timestamp:
23.03.2012 14:24:50 (8 years ago)
Author:
sjm84
Message:

Make sure passwords are never saved in the session

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSParams.java

    r24964 r25262  
    6161    public static final String DISPLAY_METADATA = "dmd"; 
    6262    public static final String FILE_LOCATION = "fl"; 
     63     
     64    //Administration 
     65    public static final String PASSWORD = "password"; 
     66    public static final String S_PASSWORD = "s1.password"; 
     67    public static final String S_NEW_PASSWORD = "s1.newPassword"; 
     68    public static final String S_OLD_PASSWORD = "s1.oldPassword"; 
    6369 
    6470    protected HashMap param_map = null; 
     
    9298        addParameter(INLINE_TEMPLATE, false); 
    9399        addParameter(DISPLAY_METADATA, false); 
     100        addParameter(PASSWORD, false); 
     101        addParameter(S_PASSWORD, false); 
     102        addParameter(S_NEW_PASSWORD, false); 
     103        addParameter(S_OLD_PASSWORD, false); 
    94104 
    95105        //addParameter();