@@ -50,7 +50,7 @@ public class LdapUserPlugin extends AbstractLdapPlugin {
50
50
51
51
private static final Logger LOGGER = Logger .getLogger (LdapUserPlugin .class .getName ());
52
52
53
- public static final String SESSION_ATTR = "opengrok-ldap-plugin-user" ;
53
+ static final String SESSION_ATTR = "opengrok-ldap-plugin-user" ;
54
54
55
55
/**
56
56
* List of configuration names.
@@ -61,10 +61,10 @@ public class LdapUserPlugin extends AbstractLdapPlugin {
61
61
* <li><code>instance</code> integer that can be used to identify instance of this plugin by other LDAP plugins (optional, default empty)</li>
62
62
* </ul>
63
63
*/
64
- protected static final String LDAP_FILTER = "filter" ;
65
- protected static final String ATTRIBUTES = "attributes" ;
66
- protected static final String USE_DN = "useDN" ;
67
- protected static final String INSTANCE = "instance" ;
64
+ static final String LDAP_FILTER = "filter" ;
65
+ static final String ATTRIBUTES = "attributes" ;
66
+ static final String USE_DN = "useDN" ;
67
+ static final String INSTANCE = "instance" ;
68
68
69
69
private String ldapFilter ;
70
70
private Boolean useDN ;
@@ -129,7 +129,7 @@ protected boolean sessionExists(HttpServletRequest req) {
129
129
* @param user User object from the request (created by {@code UserPlugin})
130
130
* @return replaced result
131
131
*/
132
- protected String expandFilter (User user ) {
132
+ String expandFilter (User user ) {
133
133
String filter = ldapFilter ;
134
134
135
135
filter = expandUserFilter (user , filter );
0 commit comments