1 package fr.paris.lutece.plugins.mylutece.service; 2 3 import java.util.Collection; 4 import java.util.List; 5 6 import fr.paris.lutece.portal.service.security.LuteceUser; 7 8 9 /** 10 * The Interface IMyluteceExternalRoleService. 11 */ 12 public interface IMyluteceExternalRoleService { 13 14 15 /** 16 * Provides roles. 17 * 18 * @param user the user 19 * @return the collection 20 */ 21 Collection<String> providesRoles( final LuteceUser user ); 22 23 /** 24 * Gets the providers. 25 * 26 * @return the providers 27 */ 28 List<IMyLuteceExternalRolesProvider> getProviders(); 29 30 31 }