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

Investigate Undertow IP Access Control Handler Extension #19

Open
slominskir opened this issue Mar 25, 2024 · 1 comment
Open

Investigate Undertow IP Access Control Handler Extension #19

slominskir opened this issue Mar 25, 2024 · 1 comment

Comments

@slominskir
Copy link
Member

It would be useful to handle internal network traffic differently than external traffic. An all-or-nothing block or allow can be accomplished with Undertow's built-in IP Access Control Handler. This could be a good example starting point for a custom Handler. Specifically requiring login to view pages, but only if offsite could be useful. Needs to be aware of X-Forwarded-For. Probably redirect to /sso. A Servlet filter is probably easier to create, but would need to be installed per app. The declarative security in web.xml is also all or nothing so we don't have fine grain access control.

@slominskir
Copy link
Member Author

See IPAuthFilter example used in Presenter: JeffersonLab/presenter#6

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

No branches or pull requests

1 participant