How it works...
By simply using the ConfigurationName parameter, you can connect to restricted sessions. It is usually a good idea to host very few restricted configurations and use a proper RBAC concept on these configurations so that you don't confuse your users too much.
Changes to role capabilities are applied immediately for new connections, whereas session configurations need to be registered.
This recipe had you connect to the session configuration you registered in the Creating a JEA session configuration recipe automatically by using the role capabilities that were assigned from the Creating a JEA role recipe. In Steps 3 to 7, you saw that restricted sessions can still be used like any other session type.
Step 8 then showed you how ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access