Class MyLuteceDefaultRoleProvider
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.service.MyLuteceDefaultRoleProvider
-
- All Implemented Interfaces:
ILuteceUserRolesProvidedDescription,IMyLuteceExternalRolesProvider
public class MyLuteceDefaultRoleProvider extends java.lang.Object implements IMyLuteceExternalRolesProvider
This class is used to provide default roles for myluteceusers
-
-
Constructor Summary
Constructors Constructor Description MyLuteceDefaultRoleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<LuteceUserRoleDescription>getLuteceUserRolesProvided(java.util.Locale locale)Gets the lutece user attributes provided.java.util.Collection<java.lang.String>providesRoles(fr.paris.lutece.portal.service.security.LuteceUser user)Provides roles to the LuteceUser user
-
-
-
Method Detail
-
providesRoles
public java.util.Collection<java.lang.String> providesRoles(fr.paris.lutece.portal.service.security.LuteceUser user)
Description copied from interface:IMyLuteceExternalRolesProviderProvides roles to the LuteceUser user- Specified by:
providesRolesin interfaceIMyLuteceExternalRolesProvider- Parameters:
user- the LuteceUser- Returns:
- the list of the roles
-
getLuteceUserRolesProvided
public java.util.List<LuteceUserRoleDescription> getLuteceUserRolesProvided(java.util.Locale locale)
Gets the lutece user attributes provided.- Specified by:
getLuteceUserRolesProvidedin interfaceILuteceUserRolesProvidedDescription- Returns:
- the lutece user attributes provided
-
-