74 Commits

Author SHA1 Message Date
Greg L. Turnquist
b88f612f80 Fix release process and collapse maven profiles that aren't necessary.
The release process has changed quite a bit since this project first started. Some of the profiles are after thoughts of a previous era of releases. By merging certain profiles and streamlining what happens where, the build process can be much more concise for snapshots, milestones, and releases.
2021-01-22 12:52:38 -06:00
Greg L. Turnquist
dd9126698b Upgrade Spring Data and Reactor. 2021-01-20 07:31:09 -06:00
Greg L. Turnquist
236a140fa3 Release to sonatype.
Official releases now go directly to sonatype and stop depending upon bintray.
2021-01-07 16:30:31 -06:00
Greg L. Turnquist
d3e9428699 Polishing. 2020-10-30 16:06:05 -05:00
Greg Turnquist
a17771fef2 Migrate to Spring Docs asciidoctor plugins.
Resolves #149.
2020-03-03 11:58:34 -06:00
Greg Turnquist
163e122784 Upgrade to MongoDB 4.0.0-beta1.
Resolves #127.
2020-01-29 17:01:12 -06:00
Boris Finkelshteyn
50c518493a Fix Jackson MongoSession deserialization. (#122)
It used originalSessionId at moment when it wasn't necessary.
Added mixin with correct deserialization behavior.

Resolves #119.
2020-01-08 07:37:14 -06:00
Greg Turnquist
245d69ab29 Track change of MongoSession's id to properly delete.
When a session is made invalid and changed to a new one, the old one must be deleted from MongoDB at the next save().

Resolves #116.
2019-10-09 16:26:50 -05:00
Greg Turnquist
db93654a6e Leverage Spring Session's IndexResolver.
Resolves #104.
2019-09-27 13:06:06 -05:00
Greg Turnquist
1c7d5e5d91 Implement support for Spring Session's repository customiers.
Resolves #105.
2019-09-27 11:28:34 -05:00
Greg Turnquist
ebac581036 Introduce MongoIndexedSessionRepository. 2019-09-27 11:00:02 -05:00
Greg Turnquist
4fbb1d3781 Introduce ReactiveMongoSessionRepository. 2019-09-27 10:42:47 -05:00
Greg Turnquist
4ea9cebd84 Leverage @Configuration(proxyBeanMethods=false) for better efficiency.
Resolves #60.
2019-09-06 12:31:11 -05:00
Greg Turnquist
e2198e36ea Handle deleteBy properly to avoid NullPointerException.
Resolves #97.
2019-09-06 12:28:05 -05:00
Greg Turnquist
51eb6a6f80 Migrate off deprecated API. 2019-08-05 12:23:02 -05:00
Greg Turnquist
d601e270fc Delombok Spring Session for MongoDB. 2019-08-02 15:16:11 -05:00
Greg Turnquist
ce88fb44fc Upgrade to JUnit 5. 2019-08-02 14:48:55 -05:00
Spring Operator
3c3208dea1 URL Cleanup (#72)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ ([https](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/) result 200).
* [ ] http://docs.spring.io/spring-session/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-session/docs/ ([https](https://docs.spring.io/spring-session/docs/) result 200).
* [ ] http://projects.spring.io/spring-session-data-mongodb/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-session-data-mongodb/ ([https](https://projects.spring.io/spring-session-data-mongodb/) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-session with 1 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-session ([https](https://stackoverflow.com/questions/tagged/spring-session) result 200).
* [ ] http://stackoverflow.com/tags/spring-session with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-session ([https](https://stackoverflow.com/tags/spring-session) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).

# Ignored
These URLs were intentionally ignored.

* http://localhost:8080/ with 2 occurrences
2019-03-27 12:26:23 +01:00
Greg Turnquist
9bdef544c6 Upgrade to support Spring Boot 2.2.
* Remove unused profiles and plugins from the build.
* Update the main README.
2019-03-19 10:08:37 -05:00
Greg Turnquist
54fa3f9d58 Polishing. 2019-03-15 11:20:35 -05:00
Michael Ruf
82cf365ba7 Set expireAt properly to support TTL indexing. 2019-03-15 11:19:51 -05:00
Spring Operator
841fcb9cf4 URL Cleanup (#63)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 38 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 2 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).
2019-03-14 20:44:04 -05:00
Greg Turnquist
8cd439788f Polishing. 2019-03-12 13:49:37 -05:00
Greg Turnquist
6c4baa00a6 Add Nullable checks.
Resolves #55.
2019-03-12 13:41:38 -05:00
Greg Turnquist
2fdf499411 Polishing.
Apply the formatting plugin to the entire code base. From there, polish up specific sections of code for readability.
2019-03-12 10:31:59 -05:00
Greg Turnquist
b04a0305e9 Polishing tests for delete session 2019-01-15 16:51:09 -06:00
Greg Turnquist
8db8978549 Fix reactive tests to properly complete.
Use proper verification procedures.

Resolves #48
2019-01-15 16:40:25 -06:00
Greg Turnquist
98aae89c4e Polishing (#38) 2018-08-22 11:33:20 -05:00
Greg Turnquist
a2bfa4d39d Allow custom ObjectMapper to be injected
Jackson-based session converter now allows a custom ObjectMapper to be injected.

Resolves #27.
2018-08-03 10:22:55 -05:00
Greg Turnquist
b2dfa69b3d Utilize container's classloader
Resolves #15
2018-08-02 12:57:39 -05:00
Greg Turnquist
bc59817693 Simplify using Jackson's covariant API
Resolves #4
2018-07-31 16:27:06 -05:00
Patrick Gotthard
4e7861db26 Improve documentation
Since Spring Session MongoDB uses JdkMongoSessionConverter as default it is not necessary to declare it when using Spring Security. This update should clarify this fact.
2018-07-31 17:17:19 -04:00
Greg Turnquist
4e42a83ca8 Add support for Java 10 2018-05-10 10:50:19 -05:00
Greg Turnquist
6d07a5511f Polishing. 2018-02-20 12:08:54 -06:00
Greg Turnquist
f997566f76 Polish docs 2018-02-20 12:03:09 -06:00
Greg Turnquist
74a67f52c6 Fix link to dependencies 2018-02-20 12:00:31 -06:00
Greg Turnquist
ec35044dad Fix links to Spring Session MongoDB examples 2018-02-20 11:30:50 -06:00
Greg Turnquist
7a4e14cfbf Make Jackson operational.
Resolves https://github.com/spring-projects/spring-session/issues/913
2018-02-19 16:53:27 -06:00
Greg Turnquist
f2a6caa6fd Introduce Session-based events
Resolves #22.
2018-01-10 17:01:37 -06:00
Greg Turnquist
b22cc99899 Handle removing sessions that don't exist
Resolves #21
2018-01-10 15:52:45 -06:00
Vedran Pavic
e8d12b50b5 Refactor ReactiveMongoWebSessionConfiguration to support Spring Boot
This commit updates `ReactiveMongoWebSessionConfiguration` to extend `SpringWebSessionConfiguration` rather than having it imported via `@EnableMongoWebSession`. This is required in order for Spring Boot auto-configuration to work properly.
2017-11-17 12:35:49 -06:00
Greg Turnquist
53bd6f65ac Adjust to new name of reactive repository 2017-10-24 11:27:50 -05:00
Greg Turnquist
e86e991c97 Adjust to new package for EnableSpringWebSession 2017-10-23 12:03:21 -05:00
Greg Turnquist
00085d517b Handle missing expiration
Original issue: #13
2017-10-18 14:01:15 -05:00
Greg Turnquist
ed655da828 Make reactive session settings configurable through setters
Resolves #11
2017-09-25 09:21:06 -05:00
Greg Turnquist
2afebe8e78 Imperatively create TTL indexes 2017-09-19 11:59:02 -05:00
Greg Turnquist
eec5342d39 Adjust for Spring 5.0.0.RC4 2017-09-13 16:18:15 -05:00
Greg Turnquist
d7ad6d320f Switch default session converter to JDK
The Jackson-based session converter doesn't work as expected, so switching to JDK-based one for now until we can write more tests and determine what is wrong.
2017-09-06 09:43:39 -05:00
Greg Turnquist
92dd4f8401 Polishing. 2017-08-30 10:36:34 -05:00
Greg Turnquist
42a83f937a Allow overriding Mongo parameters through reactive annotation 2017-08-30 10:29:38 -05:00