Name: spring-session-dynamodb
Owner: AutoScout24
Description: An implementation of Spring Session extension based on DynamoDB as a Session Store
Forked from: dimanex/spring-session-dynamodb
Created: 2018-05-09 11:44:59.0
Updated: 2018-05-09 13:56:14.0
Pushed: 2018-05-09 13:56:13.0
Homepage: null
Size: 73
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An implementation of Spring Session extension based on AWS DynamoDB as a Session Repository
This work still under development and should be used for experimentation purposes only. Please use on your own responsibility.
figuration
bleDynamoDBHttpSession
bleConfigurationProperties(DynamoDBSpringSessionConfiguration.class)
ic class SessionConfig {
ean
blic DynamoDB dynamoDB() {
return new DynamoDB(AmazonDynamoDBClientBuilder.standard().withRegion(Regions.EU_WEST_1).build());
Override defaults in your properties with:
ng.session.dynamodb.tableName
ng.session.dynamodb.maxInactiveIntervalInSeconds
Docker compose config can be found in /docker
Example DynamoDB table CloudFormation configuration can be found in /cloudformation
Then configure e.g.:
an
rofile("local")
blic DynamoDB localDynamoDB() {
AwsClientBuilder.EndpointConfiguration endpointConfiguration = new AwsClientBuilder.EndpointConfiguration("http://localhost:7777", "eu-west-1");
return new DynamoDB(AmazonDynamoDBClientBuilder.standard()
.withEndpointConfiguration(endpointConfiguration)
.build());