From the course: Java EE 8: JavaServer Faces JSF 2.3

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Java EE 8 Security API support in JSF 2.3

Java EE 8 Security API support in JSF 2.3

From the course: Java EE 8: JavaServer Faces JSF 2.3

Start my 1-month free trial

Java EE 8 Security API support in JSF 2.3

- JavaEE 8 brought us Soteria, the new code over configuration security API. This isn't a JSF specific gift, but I'm going to show you what's in store. Soteria in conjunction with CDI brings us a slew of annotations that allow us to programmatically configure things like credentials, data source, the log in page, session handling and more. For example, we have annotations that would help configure how a JSF page should present authorization and authentication challenges to the user. We also have annotations that will help to configure where the JSF application should look up the credentials. Remember, it used to be that we'd need to configure identity stores as part of the application server configuration or a bunch of config files bundled with the app. Soteria is a cleaner, lighter weight and developer friendly way to add authentication functionality to you JSF web application. This isn't a full on Soteria tutorial.…

Contents