April 2018
Intermediate to advanced
202 pages
4h 48m
English
Frequently, web applications have two main screens. One for visitors who are not authenticated, and one for users who are authenticated. It makes sense to implement the UI in a way that reflects this exactly. The idea is to create two custom components (using the Composite class); one for public access, and one for authenticated users. So, for now, let's suppose we have a custom PublicComponent class that shows the login form and a PrivateComponent that shows something like the following:

When the user is successfully authenticated, the PrivateComponent is shown. When the Logout button is clicked, the ...
Read now
Unlock full access