Filter getAuthFilter() throws InvalidSyntaxException {
   StringBuilder sb = new StringBuilder("("); // $NON-NLS-1$
   sb.append(ServerConstants.CONFIG_AUTH_NAME);
   sb.append('=');
   sb.append(getAuthName());
   sb.append(')');
   return FrameworkUtil.createFilter(sb.toString());
 }
Ejemplo n.º 2
0
 public Filter createFilter(String filter) throws InvalidSyntaxException {
   return FrameworkUtil.createFilter(filter);
 }