Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Undertow support for form-based authentications ? #109

Open
@albert-kam

Description

@albert-kam

Dear StubbornJava, i'm really glad i stumbled on your web !

I'm thinking on using undertow for my next project and..

  1. I have been thinking about self implementing cookie-based sessions with a simple logic where upon login, a unique session id is generated and stored in the cookie + on every request there's a handler to check on this whether it exists to continue processing or redirect to login page for the protected routes.

  2. Logout will just clear the cookie and remove the session, which for now i will store in-mem, maybe will just change into redis or something else.

  3. And there will be protected routes, and there are non-protected ones.

Do you happen to have any examples for these, or maybe there's already an existing custom handler in the undertow library that can deal with this ?

I have checked pac4j-undertow but i'm looking for something more simpler for now, because i dont need integrations with 3rd party accounts yet.

I'd appreciate any pointers or links to other tutorials if you happen to know any.

Big thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp