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.
Annotation-based security in JSF 2.3
From the course: Java EE 8: JavaServer Faces JSF 2.3
Annotation-based security in JSF 2.3
- [Instructor] In this video, I'm going to show you how to configure a couple of components inside a JSF application with some of the new annotations in Java EE8. I'll show you how to configure a credential store in your JSF application. By a credential store, I mean the repository from which the application will load authentication details. Before I go too far, a word from my application server sponsors. If you're running Apache Tomcat or similar, you'll need to manually add the Soteria dependency in Maven configuration. Here I have it. From line 24 to 29 is my Soteria dependency from the group org.glassfish.soteria and the artifact is javax.security.enterprise version 1.0. I have my scope here set to provided because I plan to deploy this on GlassFish 5, which is a fully Java EE compliant application server. It will provide the dependencies to me. So if you're running Tomcat, you probably need to set that to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.