public interface ICustomerAuthorizationFilter
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
CustomerAuthorizationFilterChain chain)
Filters the specified customer depending on the user authorizations
|
void |
doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer,
CustomerAuthorizationFilterChain chain)
Filters the specified list of customers depending on the user authorizations
|
void doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
CustomerAuthorizationFilterChain chain)
throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Filters the specified customer depending on the user authorizations
The implementation has to throw an AccessDeniedException if the user is not authorized to access the customer. Otherwise, it must call the method
chain.doFilter( user, customer ).
user - the usercustomer - the customer to checkchain - the filter chain to call if the user is authorized to access the customerfr.paris.lutece.portal.service.admin.AccessDeniedException - if the user is not authorized to access the customervoid doFilter(fr.paris.lutece.portal.business.user.AdminUser user,
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer,
CustomerAuthorizationFilterChain chain)
Filters the specified list of customers depending on the user authorizations
The implementation has to remove from the list all the customers the user is not authorized to access. Once it is done, it must call the method
chain.doFilter( user, listCustomer ).
user - the userlistCustomer - the list of customers to filterchain - the filter chain to call once the treatment is doneCopyright © 2018 City of Paris. All rights reserved.