CAS Authentication

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
h1. How to customize user access rights with a CAS authentication enabled ?


h2. Spring configuration

By default, Petals View CAS authentication manager is plugged with a user rights manager that provides all rights to all authenticated users. If you would like to customize this behavior, you need to configure an other user rights manager. This could be done in the *PETALSVIEW_ROOT{*}*/WEB-INF/spring/petals-view-security.xml* file. You have to change the bean called {color:#000000}"{color}{color:#000000}myUserDetailsService{color}{color:#000000}"{color} to point to your custom user detail service. Here is the code snippet showing the default user details service configuration provided by Petals View.


In Memory user details service isn't for production purposes. Use LDAP, JDBC or something else to connect to your user repository in production environment.{info}
h2. Available roles 

Once you have customized the user details service to connect to your enterprise user repository, you need to add some specific roles to the users to customized their Petals View access right. Here is a list of available roles: 

ROLE_FLOWREFMANAGER : allows the user to access to the Flow Referential management section.

ROLE_FLOWMANAGER : allows the user to access to the Flow instances management section.
{warning}You must add the role "ROLE_AUTH" to all users authorized to access to the Petals View web application.{warning}
USERMANAGER
FLOWREFMANAGER
FLOWMANAGER