Class ConversationStateUpdateFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.web.login.ConversationStateUpdateFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class ConversationStateUpdateFilter extends org.exoplatform.container.web.AbstractFilter
Filter is used to update ConversationState with necessary attributes after login of user. It needs to be configured in filter chain after SetCurrentIdentityFilter !!!
Author:
Marek Posolda
  • Field Summary

    Fields inherited from class org.exoplatform.container.web.AbstractFilter

    config, servletContextName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    bindCredentialsToConversationState(org.gatein.wci.security.Credentials credentials)
    Add credentials to ConversationState.
    void
     
    void
    doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)
     

    Methods inherited from class org.exoplatform.container.web.AbstractFilter

    afterInit, getContainer, getServletContext, init, requirePortalEnvironment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConversationStateUpdateFilter

      public ConversationStateUpdateFilter()
  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

      public void destroy()
    • bindCredentialsToConversationState

      protected void bindCredentialsToConversationState(org.gatein.wci.security.Credentials credentials)
      Add credentials to ConversationState.
      Parameters:
      credentials -