July 2018
Intermediate to advanced
268 pages
7h 36m
English
This is the final setup in our CAS client project setup. We will have an unsecured page containing a link to a secured page. When the secured page is accessed, CAS SSO kicks in and the user is navigated to the CAS authentication page. Once you log in using the credentials (casuser/password), the user is taken to the secured page, where we display the authenticated username.
We will create an ndexController that has the root folder routing (/). This navigates the user to the index.html page.
Create IndexController.java in a new package (preferably in the controllers package):
@Controllerpublic class IndexController { @GetMapping("/") public String index() { return "index"; }}
Create the index.html file in the ...
Read now
Unlock full access