@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); if (sessionAuthenticationStrategy == null) { LOGGER.info("No session authentication strategy found in application context, using null strategy"); sessionAuthenticationStrategy = new NullAuthenticatedSessionStrategy(); } else { LOGGER.info("Using session authentication strategy {}", sessionAuthenticationStrategy); } if (vaadinAuthenticationSuccessHandler == null) { LOGGER.info("No authentication success handler found in the application context, using null handler"); vaadinAuthenticationSuccessHandler = new VaadinAuthenticationSuccessHandler.NullHandler(); } else { LOGGER.info("Using authentication success handler {}", vaadinAuthenticationSuccessHandler); } if (vaadinLogoutHandler == null) { LOGGER.info("No logout handler found in the application context, using null handler"); vaadinLogoutHandler = new VaadinLogoutHandler.NullHandler(); } else { LOGGER.info("Using logout handler {}", vaadinLogoutHandler); } }
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); if (sessionAuthenticationStrategy == null) { LOGGER.info("No session authentication strategy found in application context, using null strategy"); sessionAuthenticationStrategy = new NullAuthenticatedSessionStrategy(); } else { LOGGER.info("Using session authentication strategy {}", sessionAuthenticationStrategy); } if (vaadinAuthenticationSuccessHandler == null) { LOGGER.info("No authentication success handler found in the application context, using null handler"); vaadinAuthenticationSuccessHandler = new VaadinAuthenticationSuccessHandler.NullHandler(); } else { LOGGER.info("Using authentication success handler {}", vaadinAuthenticationSuccessHandler); } if (vaadinLogoutHandler == null) { LOGGER.info("No logout handler found in the application context, using null handler"); vaadinLogoutHandler = new VaadinLogoutHandler.NullHandler(); } else { LOGGER.info("Using logout handler {}", vaadinLogoutHandler); } }