Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compatible with pac4j 6.0.0-RC7 #209

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

spinscale
Copy link
Contributor

This removes the JavalinWebContext and uses only servlet calls.

Note: This is WIP! Currently the JavalinPac4jExample class allows every call endpoint, if logged in once, and I do not know whether this is the correct approach or not - checked one previous version and this behaviour already existed, so it's ok?

src/main/java/org/pac4j/javalin/CallbackHandler.java Outdated Show resolved Hide resolved
src/main/java/org/pac4j/javalin/LogoutHandler.java Outdated Show resolved Hide resolved
src/main/java/org/pac4j/javalin/SecurityHandler.java Outdated Show resolved Hide resolved
@leleuj
Copy link
Member

leleuj commented Jul 19, 2023

As soon as you are authenticated, you can access any protected endpoint (if no specific authorization is requested), the client only defines the authentication method when you are not authenticated.

@leleuj leleuj merged commit c809cf9 into pac4j:master Aug 1, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants