@Bean @RefreshScope public CookieRetrievingCookieGenerator warnCookieGenerator() { val props = casProperties.getWarningCookie(); return new WarningCookieRetrievingCookieGenerator(props.getName(), props.getPath(), props.getMaxAge(), props.isSecure(), props.isHttpOnly()); }
@Bean @RefreshScope public CookieRetrievingCookieGenerator warnCookieGenerator() { final WarningCookieProperties props = casProperties.getWarningCookie(); return new WarningCookieRetrievingCookieGenerator(props.getName(), props.getPath(), props.getMaxAge(), props.isSecure(), props.isHttpOnly()); }