File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
plugins/src/opengrok/auth/plugin Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ public class LdapAttrPlugin extends AbstractLdapPlugin {
45
45
protected static final String ATTR_PARAM = "attribute" ;
46
46
protected static final String FILE_PARAM = "file" ;
47
47
48
- public String SESSION_ALLOWED = "opengrok-attr-plugin-allowed" ;
48
+ private final static String SESSION_ALLOWED_PREFIX = "opengrok-attr-plugin-allowed" ;
49
+ private String SESSION_ALLOWED = SESSION_ALLOWED_PREFIX ;
49
50
50
51
private String ldapAttr ;
51
52
private final Set <String > whitelist = new TreeSet <>();
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ public class LdapFilterPlugin extends AbstractLdapPlugin {
44
44
private static final Logger LOGGER = Logger .getLogger (LdapFilterPlugin .class .getName ());
45
45
46
46
protected static final String FILTER_PARAM = "filter" ;
47
- protected String SESSION_ALLOWED = "opengrok-filter-plugin-allowed" ;
47
+ private static final String SESSION_ALLOWED_PREFIX = "opengrok-filter-plugin-allowed" ;
48
+ private String SESSION_ALLOWED = SESSION_ALLOWED_PREFIX ;
48
49
49
50
private String ldapFilter ;
50
51
You can’t perform that action at this time.
0 commit comments