Called at the end of the authenticate method by the user
commitUserAuthentication(groups);
int status = AuthenticationStatus.AUTH_SUCCESS;
String realm = theRealm.getName();
String authMethod = theRealm.getAuthType();
AuthenticationStatus as =
new AuthenticationStatusImpl(username, authMethod, realm, status);
return as;