@Override public AuthenticationInfo afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t) throws AuthenticationException { if ((t != null) && (t instanceof AuthenticationException)) throw (AuthenticationException) t; return super.afterAttempt(realm, token, singleRealmInfo, aggregateInfo, t); }