@Configuration
public class MongoHttpSessionConfiguration
extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
implements org.springframework.context.EmbeddedValueResolverAware, org.springframework.context.annotation.ImportAware
MongoSessionRepository bean. To import this
configuration use EnableMongoHttpSession annotation.| Constructor and Description |
|---|
MongoHttpSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
MongoOperationsSessionRepository |
mongoSessionRepository(org.springframework.data.mongodb.core.MongoOperations mongoOperations) |
void |
setCollectionName(String collectionName) |
void |
setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
void |
setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds) |
void |
setMongoSessionConverter(AbstractMongoSessionConverter mongoSessionConverter) |
init, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, setServletContext, springSessionRepositoryFilter@Bean public MongoOperationsSessionRepository mongoSessionRepository(org.springframework.data.mongodb.core.MongoOperations mongoOperations)
public void setCollectionName(String collectionName)
public void setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds)
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAware@Autowired(required=false) public void setMongoSessionConverter(AbstractMongoSessionConverter mongoSessionConverter)
public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)
setEmbeddedValueResolver in interface org.springframework.context.EmbeddedValueResolverAwareCopyright © 2014-2017–2018 Pivotal, Inc.. All rights reserved.