public interface RowLevelSecurityService extends RowLevelSecurityProvider
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>
Modifier and Type | Method and Description |
---|---|
List<RowLevelSecurityProvider> |
getProviders()
Gets all of the registered providers
|
addFetchRestrictions, canAdd, canRemove, canUpdate, getFetchRestrictionRoot, validateAddRequest, validateRemoveRequest, validateUpdateRequest
List<RowLevelSecurityProvider> getProviders()
Copyright © 2022. All rights reserved.