...
For example, your fcrepo.properties file might look like this:
Code Block | ||||
---|---|---|---|---|
| ||||
fcrepo.auth.principal.roles.enabled=true fcrepo.auth.principal.roles.list=fedoraUser,fedoraAdmin,tomcat-role-1,tomcat-role-2 |
And your web.xml would be updated to look like this:
Code Block | ||||
---|---|---|---|---|
| ||||
<web-app> ... <security-constraint> ... <auth-constraint> <role-name>fedoraUser</role-name> <role-name>fedoraAdmin</role-name> <role-name>tomcat-role-1</role-name> <role-name>tomcat-role-2</role-name> </auth-constraint> </securty-constraint> </web-app> |
...