akka-http-session - Web & mobile client-side akka-http sessions, with optional JWT support

  •        12

akka-http is an Akka module, originating from spray.io, for building reactive REST services with an elegant DSL. akka-http is a great toolkit for building backends for single-page or mobile applications. In almost all apps there is a need to maintain user sessions, make sure session data is secure and cannot be tampered with.

https://softwaremill.com/open-source/
https://github.com/softwaremill/akka-http-session

Tags
Implementation
License
Platform

   




Related Projects

cookie - Cookie authentication plugin

  •    Javascript

Cookie authentication provides simple cookie-based session management. The user has to be authenticated via other means, typically a web form, and upon successful authentication the browser receives a reply with a session cookie. The cookie uses Iron to encrypt and sign the session content. Subsequent requests containing the session cookie are authenticated and validated via the provided validateFunc in case the cookie's encrypted content requires validation on each request.

cookie-session - Simple cookie-based session middleware

  •    Javascript

Simple cookie-based session middleware. A user session can be stored in two main ways with cookies: on the server or on the client. This module stores the session data on the client within a cookie, while a module like express-session stores only a session identifier on the client within a cookie and stores the session data on the server, typically in a database.

Akka HTTP - The Streaming-first HTTP server/module of Akka

  •    Scala

The Akka HTTP modules implement a full server- and client-side HTTP stack on top of akka-actor and akka-stream. It's not a web-framework but rather a more general toolkit for providing and consuming HTTP-based services. While interaction with a browser is of course also in scope it is not the primary focus of Akka HTTP.

sessions - Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends

  •    Go

gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.First we initialize a session store calling NewCookieStore() and passing a secret key used to authenticate the session. Inside the handler, we call store.Get() to retrieve an existing session or create a new one. Then we set some session values in session.Values, which is a map[interface{}]interface{}. And finally we call session.Save() to save the session in the response.

squbs - Akka/Akka HTTP for Large-Scale Production Deployments

  •    Scala

squbs (pronounced "skewbs") is a software container and a suite of components enabling standardization and operationalization of Akka and Akka HTTP applications/services in a large scale, managed, cloud environment. It standardizes how Akka applications are deployed in different environments and how they are hooked up to the operational environments of large, internet-scale organizations.Also check out these slightly more advanced samples.


Redisson - Redis based In-Memory Data Grid for Java

  •    Java

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server. Rich Redis client.

session - Simple session middleware for koa

  •    Javascript

Simple session middleware for Koa. Defaults to cookie-based sessions and supports external stores. The cookie name is controlled by the key option, which defaults to "koa:sess". All other options are passed to ctx.cookies.get() and ctx.cookies.set() allowing you to control security, domain, path, and signing among other settings.

session - Simple session middleware for Express

  •    Javascript

Create a session middleware with the given options. Note Session data is not saved in the cookie itself, just the session ID. Session data is stored server-side.

reactive-microservices - Project showcasing different microservice communication styles using Scala, Akka, Play and other tools from Scala ecosystem

  •    Scala

Reactive microservices is an Typesafe Activator Template completely devoted to microservices architecture. It lets you learn about microservices in general - different patterns, communication protocols and 'tastes' of microservices. All these concepts are demonstrated using Scala, Akka, Play and other tools from Scala ecosystem. For the sake of clarity, we skipped topics related to deployment and operations. To feel comfortable while playing with this template, make sure you know basics of Akka HTTP which is a cornerstone of this project. We recently released an Akka HTTP activator template that may help you start. At least brief knowledge of Akka remoting, Akka persistence, Akka streams and Play Framework websockets is also highly recommended.

akka-http-json - Integrate some of the best JSON libs in Scala with Akka HTTP

  •    Scala

Mix ArgonautSupport, FailFastCirceSupport or ErrorAccumulatingCirceSupport, JacksonSupport, Json4sSupport, PlayJsonSupport, UpickleSupport or AvroSupport into your Akka HTTP code which is supposed to (un)marshal from/to JSON. Don't forget to provide the type class instances for the respective JSON libraries, if needed. Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

flask-sockets - Elegant WebSockets for your Flask apps.

  •    Python

Elegant WebSockets for your Flask apps. Combining WebSockets with Ajax (XHR) endpoints also comes handy with the support of session handling built-in to sockets as well. As an example you could use an Ajax login call which would create a new session and accordingly set a secure HttpOnly cookie to the browser. After authorization, you can connect to the WebSocket endpoint and reuse the session handling from Flask there as well (as shown here: https://pythonhosted.org/Flask-Session/). Access to other custom cookies is also possible via Flasks request.cookies property.

akka-http-scala-js-websocket-chat - An example app that integrates akka-http and scala-js to implement a websocket chat

  •    Scala

A simple chat app that uses akka-http backend and a scala.js frontend to implement a simple websocket based chat application.Navigate to http://localhost:8080/.

sessions - Gin middleware for session management

  •    Go

Gin middleware for session management with multi-backend support (currently cookie, Redis, Memcached, MongoDB, memstore).

csurf - CSRF token middleware

  •    Javascript

Node.js CSRF protection middleware. Requires either a session middleware or cookie-parser to be initialized first.

SecureCookieHttpModule

  •    ASPNET

Secure your session cookie (and other session-based) cookies for replay attacks using this easy to use ASP.NET HttpModule.

Session Service

  •    ASPNET

"Homelidays Session Service" makes it easier for ASP developers to share the Classic ASP Session State with ASP.NET by storing the Session State into a SQL Server database. Homelidays Session Service eases a step by step migration from ASP to ASP.NET. It's developed in C++ / C#.

generic-session - koa session store with memory, redis or others.

  •    Javascript

Notice: koa-session support external store now, please migrate to koa-session. Generic session middleware for koa, easy use with custom stores such as redis or mongo, supports defer session getter.

akka-http-rest - Example of reactive REST service written on akka-http with slick

  •    Scala

Goal of example is to show how create reactive REST services on Lightbend stack with Akka and Slick. Example contains complete REST service for entity interaction.

Auth MemCache Cookie

  •    Java

This is a apache v2.0 authentication module. Based on html form authentication and cookie authentication session. Cookie session are stored in memcache deamon. Can be used has an simple quot;Single Signe-Onquot; (SSO).

tomcat-redis-session-manager - Redis-backed non-sticky session store for Apache Tomcat

  •    Java

Sessions are stored into Redis immediately upon creation for use by other servers. Sessions are loaded as requested directly from Redis (but subsequent requests for the session during the same request context will return a ThreadLocal cache rather than hitting Redis multiple times.) In order to prevent collisions (and lost writes) as much as possible, session data is only updated in Redis if the session has been modified. The manager relies on the native expiration capability of Redis to expire keys for automatic session expiration to avoid the overhead of constantly searching the entire list of sessions for expired sessions.