Interface RowLevelSecurityService
- All Superinterfaces:
RowLevelSecurityProvider
- All Known Implementing Classes:
RowLevelSecurityServiceImpl
Provides row-level security to the various CRUD operations in the admin
This security service can be extended by the use of RowLevelSecurityProviders
, of which this service has a list.
To add additional providers, add this to an applicationContext merged into the admin application:
<bean id="blCustomRowSecurityProviders" class="org.springframework.beans.factory.config.ListFactoryBean" >
<property name="sourceList">
<list>
<ref bean="customProvider" />
</list>
</property>
</bean>
<bean class="org.broadleafcommerce.common.extensibility.context.merge.LateStageMergeBeanPostProcessor">
<property name="collectionRef" value="blCustomRowSecurityProviders" />
<property name="targetRef" value="blRowLevelSecurityProviders" />
</bean>
- Author:
- Phillip Verheyden (phillipuniverse), Brian Polster (bpolster)
-
Method Summary
Modifier and TypeMethodDescriptionGets all of the registered providersMethods inherited from interface org.broadleafcommerce.openadmin.server.security.service.RowLevelSecurityProvider
addFetchRestrictions, canAdd, canRemove, canUpdate, getFetchRestrictionRoot, validateAddRequest, validateRemoveRequest, validateUpdateRequest
-
Method Details
-
getProviders
List<RowLevelSecurityProvider> getProviders()Gets all of the registered providers- Returns:
- the providers configured for this service
-