// lookup the JBossCachedAuthManager.
InitialContext context = new InitialContext();
CacheableManager manager = (CacheableManager) context.lookup(lookupDomain);
// Flush the Authentication Cache
manager.flushCache(principal);
} catch (NamingException e) {
throw new RuntimeException(e);
}
return false;