logonFixture != null) {
return new SimpleSession(logonFixture.getUsername(), logonFixture.getRoles());
}
if (deploymentType.isExploring()) {
return new ExplorationSession();
}
return authenticationManager.authenticate(passwordAuthenticationRequest);
}