Skip to content
CAS in the cloud LELEU Jérôme edited this page Mar 21, 2022 · 3 revisions

You can protect (authentication + authorization) the URLs of web application/services by using the SecurityFilter.

>> Read the documentation to understand its behavior and the available options.

For example:

before("/facebook", new SecurityFilter(config, "FacebookClient"));

The default internal components of the SecurityFilter are: JEESessionStore.INSTANCE, SparkHttpActionAdapter.INSTANCE, DefaultSecurityLogic.INSTANCE and SparkContextFactory.INSTANCE.

Clone this wiki locally