Skip to content
Discussion options

You must be logged in to vote

Security is handled in handlers - similar to your routing handlers. As security is bound by path, and we use path matching of the routing.

This means that filters cannot have security available, as they happen before routing.

If you would need security at this point, you would need to implement it yourself - i.e. create a filter that is (somehow) configured to know how to secure the application (which endpoints, whether to authenticate, authorize etc.), and then use the existing Helidon APIs to execute the authentication and authorization - i.e. replicate what is now written in io.helidon.webserver.security.SecurityHandler#handle - application of authentication and authorization is done in

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tvallin
Comment options

tvallin Apr 23, 2025
Collaborator

@dansiviter
Comment options

@tvallin
Comment options

tvallin Apr 24, 2025
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by tomas-langer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants