-
Notifications
You must be signed in to change notification settings - Fork 9
Apply security
CAS in the cloud LELEU Jérôme edited this page Mar 24, 2022
·
3 revisions
You can protect (authentication + authorization) the URLs of web application/services by using the SecurityHandler
.
>> Read the documentation to understand its behavior and the available options.
Example:
PathHandler path = new PathHandler();
path.addExactPath("/facebook/index.html", SecurityHandler.build(DemoHandlers.protectedIndex, config, "FacebookClient"));
The default internal components of the SecurityHandler
are: UndertowSessionStore
, UndertowHttpActionAdapter.INSTANCE
, DefaultSecurityLogic.INSTANCE
and UndertowContextFactory.INSTANCE
.