Class PicketlinkSTSIntegrationFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.sso.agent.filter.PicketlinkSTSIntegrationFilter
All Implemented Interfaces:
javax.servlet.Filter

public class PicketlinkSTSIntegrationFilter extends org.exoplatform.container.web.AbstractFilter
Filter for set SamlCredential into SecurityClient, which enables to propagate authentication from SAML2 ticket into underlying EJB or WS calls.
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
    void
     
    void
    doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
     
    protected Subject
    JBoss specific way for obtaining a Subject.

    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

    • PicketlinkSTSIntegrationFilter

      public PicketlinkSTSIntegrationFilter()
  • Method Details

    • doFilter

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

      public void destroy()
    • getCurrentSubject

      protected Subject getCurrentSubject()
      JBoss specific way for obtaining a Subject. TODO: is JBoss specific way needed? subject should be available in ConversationState
      Returns:
      subject