Class MyLuteceUserRoleProvider

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.mylutece.service.ILuteceUserRolesProvidedDescription, fr.paris.lutece.plugins.mylutece.service.IMyLuteceExternalRolesProvider

    public final class MyLuteceUserRoleProvider
    extends java.lang.Object
    implements fr.paris.lutece.plugins.mylutece.service.IMyLuteceExternalRolesProvider
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MyLuteceUserRoleProvider getInstance()
      Returns the instance of the singleton
      void init()  
      java.util.Collection<java.lang.String> providesRoles​(fr.paris.lutece.portal.service.security.LuteceUser user)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface fr.paris.lutece.plugins.mylutece.service.ILuteceUserRolesProvidedDescription

        getLuteceUserRolesProvided
    • Method Detail

      • init

        public void init()
      • getInstance

        public static MyLuteceUserRoleProvider getInstance()
        Returns the instance of the singleton
        Returns:
        The instance of the singleton
      • providesRoles

        public java.util.Collection<java.lang.String> providesRoles​(fr.paris.lutece.portal.service.security.LuteceUser user)
        Specified by:
        providesRoles in interface fr.paris.lutece.plugins.mylutece.service.IMyLuteceExternalRolesProvider