예제 #1
0
 MockConnector(Credentials credentials, MockAccumulo acu, MockInstance instance)
     throws AccumuloSecurityException {
   if (credentials.getToken().isDestroyed())
     throw new AccumuloSecurityException(
         credentials.getPrincipal(), SecurityErrorCode.TOKEN_EXPIRED);
   this.username = credentials.getPrincipal();
   this.acu = acu;
   this.instance = instance;
 }