Class DefaultUserMembershipListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>
io.meeds.portal.security.listener.DefaultUserMembershipListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>

public class DefaultUserMembershipListener extends org.exoplatform.services.listener.Listener<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>
This listener is triggered at the whole first user login to add its default memberships switch configuration made on SecuritySettingService
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultUserMembershipListener(org.exoplatform.container.ExoContainer container)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • DefaultUserMembershipListener

      public DefaultUserMembershipListener(org.exoplatform.container.ExoContainer container)
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState> event) throws Exception
      Throws:
      Exception