@Override
 public boolean nonauthenticateoperation(ByteBuffer token, String operationRelatedData)
     throws PlugException, TException {
   AuthenticationToken t = getToken(token);
   if (auth.authenticate(t))
     try {
       System.out.println("User " + auth.getUser(t) + " is doing " + operationRelatedData);
       return true;
     } catch (Exception e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
       return false;
     }
   return false;
   // }
   // return false;
 }
 @Override
 public boolean authenticate(ByteBuffer tokenBytes) throws PlugException, TException {
   return auth.authenticate(getToken(tokenBytes));
 }
 @Override
 public String authenticationClass() throws TException {
   return auth.getClass().getCanonicalName();
 }