https://github.com/innoq/spring-cookie
Some components for Spring MVC that use cookies instead of a HTTP session.
https://github.com/innoq/spring-cookie
cookie cookies spring spring-mvc springframework springmvc
Last synced: 5 months ago
JSON representation
Some components for Spring MVC that use cookies instead of a HTTP session.
- Host: GitHub
- URL: https://github.com/innoq/spring-cookie
- Owner: innoq
- License: apache-2.0
- Created: 2018-06-20T09:33:41.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T14:58:56.000Z (6 months ago)
- Last Synced: 2025-01-28T15:38:56.810Z (6 months ago)
- Topics: cookie, cookies, spring, spring-mvc, springframework, springmvc
- Language: Java
- Size: 342 KB
- Stars: 6
- Watchers: 8
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Spring Cookie
*- Come to the dark side, we have cookies*[](https://maven-badges.herokuapp.com/maven-central/com.innoq/spring-cookie)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/innoq/spring-cookie/issues)
[](https://github.com/innoq/spring-cookie/actions/workflows/main.yml)
[](https://codecov.io/gh/innoq/spring-cookie)Some components for
[Spring MVC](https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html)
that use cookies instead of a HTTP session.## Features
- [CookieFlashMapManager](./src/main/java/com/innoq/spring/cookie/flash/CookieFlashMapManager.java)
A cookie based [FlashMapManager](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/FlashMapManager.html)
implementation that can be used with different
[serialization](./src/main/java/com/innoq/spring/cookie/flash/FlashMapListCodec.java)
and [signing](./src/main/java/com/innoq/spring/cookie/security/CookieValueSigner.java)
implementations.By default a [Jackson](https://github.com/FasterXML/jackson) based
[JSON implementation](./src/main/java/com/innoq/spring/cookie/flash/codec/jackson/JacksonFlashMapListCodec.java)
for serialization and
[HMAC implementation](./src/main/java/com/innoq/spring/cookie/security/HmacCookieValueSigner.java)
for signing is provided.## Quick Start
Download the jar through Maven:
```xml
com.innoq
spring-cookie
1.0.0```
## Release History
See [CHANGELOG.md](./CHANGELOG.md)
## Code of Conduct
[Contributor Code of Conduct](./CODE_OF_CONDUCT.md). By participating in this
project you agree to abide by its terms.## License
Spring Cookie is Open Source software released under the
[Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0.html).