class LoginAllowedSecurityService implements SecurityService {

	@Override
	public Authentication getAuthentication(String authenticationToken) {
		Authentication auth = new Authentication();
		auth.setAuthorizations(new BaseAuthorization[]{new LoginAuthorization()});
		auth.setUserId("anonymous");
		return auth;
	}

}