Changeset 33179 for main

Show
Ignore:
Timestamp:
21.06.2019 14:26:48 (3 months ago)
Author:
kjdon
Message:

making recaptcha response string public so others can use it

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/Authentication.java

    r32944 r33179  
    6767  protected static final int ERROR_MISSING_PARAMS = -19; 
    6868  protected static final int ERROR_SOMETHING_WRONG = -20; 
    69    
     69 
     70  // recaptcha 
    7071    protected static final HashMap<Integer, String> _errorKeyMap; 
    7172    static 
     
    183184  protected static final String EDIT_ENABLED_PARAM = "editEnabled"; 
    184185  protected static final String AUTHPAGE_PARAM = "authpage"; 
    185   protected static final String RECAPTCHA_RESPONSE_PARAM = "g-recaptcha-response"; 
     186  public static final String RECAPTCHA_RESPONSE_PARAM = "g-recaptcha-response"; 
    186187   
    187188    protected String _recaptchaSiteKey = null; 
     
    573574            groups = userInformation.getAttribute(GSXML.GROUPS_ATT); 
    574575        } 
    575         logger.error("username="+username+", groups = "+groups); 
     576        logger.debug("username="+username+", groups = "+groups); 
    576577        if ((userInformation == null || username == null) && _userOpList.contains(op)) 
    577578        {