public boolean login() throws LoginException {
		authen = SecurityContextHolder.getContext().getAuthentication();

		if (authen == null) {
			String msg = "Login cannot complete, authentication not found in security context";

			if (ignoreMissingAuthentication) {
				log.warn(msg);

				return false;
			}
			else {
				throw new LoginException(msg);
			}
		}

		return true;
	}