}
}
// Backend login
else if (hasFeature(FEATURE_PERFORMS_BACKEND_LOGIN)) {
authSession = new BackendAuthSession(user, credentials);
}
// If no auth module and database does not accept backend logins we use an anonymous session
else {
authSession = AnonymousAuthSession.getInstance();