@Configuration
@ConditionalOnProperty(prefix="session.cookie",
name="enabled",
havingValue="true",
matchIfMissing=true)
public static class SessionAutoConfigurationAfter.CookieAutoConfiguration
extends Object
| Constructor and Description |
|---|
CookieAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.session.web.http.DefaultCookieSerializer |
cookieSerializer(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) |
org.springframework.session.web.http.CookieHttpSessionStrategy |
httpSessionStrategy(org.springframework.beans.factory.ObjectProvider<org.springframework.session.web.http.CookieSerializer> objectProvider) |
@Bean @ConfigurationProperties(value="session.http-session-strategy") public org.springframework.session.web.http.CookieHttpSessionStrategy httpSessionStrategy(org.springframework.beans.factory.ObjectProvider<org.springframework.session.web.http.CookieSerializer> objectProvider)
@Bean
@ConfigurationProperties(value="session.cookie-serializer")
@ConditionalOnProperty(prefix="session.cookie-serializer",
name="enabled",
matchIfMissing=true)
public org.springframework.session.web.http.DefaultCookieSerializer cookieSerializer(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.