...
Code Block | ||||
---|---|---|---|---|
| ||||
<bean name="containerRolesPrincipalProvider" class="org.fcrepo.auth.common.ContainerRolesPrincipalProvider" p:roleNames="my-new-tomcat-role"/> <bean name="authenticationProvider" class="org.fcrepo.auth.common.ServletContainerAuthenticationProvider" p:fad-ref="fad" p:principalProviders-ref="containerRolesPrincipalProvider"/> |
Container Roles Principal Provider
ContainerRolesPrincipalProvider is a PrincpalProivder that obtains its set of principals from web.xml.
New roles must be specified in web.xml as shown below. The default role is fedoraUser.
...