Class TrustedApplicationFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class TrustedApplicationFilter
    extends HandleFilter
    implements javax.servlet.Filter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void doFilter​(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)  
      uk.ac.warwick.sso.client.SSOConfiguration getConfig()  
      uk.ac.warwick.sso.client.SSOHandler getHandler()  
      uk.ac.warwick.sso.client.trusted.TrustedApplicationsManager getTrustedApplicationsManager()  
      uk.ac.warwick.userlookup.UserLookupInterface getUserLookup()  
      void init​(javax.servlet.FilterConfig ctx)  
      void setConfig​(uk.ac.warwick.sso.client.SSOConfiguration config)  
      void setConfigLocation​(java.lang.String configLocation)  
      void setConfigSuffix​(java.lang.String configSuffix)  
      void setHandler​(uk.ac.warwick.sso.client.trusted.TrustedApplicationHandler handler)  
      void setTrustedApplicationsManager​(uk.ac.warwick.sso.client.trusted.TrustedApplicationsManager trustedApplicationsManager)  
      void setUserLookup​(uk.ac.warwick.userlookup.UserLookupInterface userLookup)  
      • Methods inherited from class java.lang.Object

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

      • TrustedApplicationFilter

        public TrustedApplicationFilter()
    • Method Detail

      • setConfigLocation

        public void setConfigLocation​(java.lang.String configLocation)
      • setConfigSuffix

        public void setConfigSuffix​(java.lang.String configSuffix)
      • init

        public void init​(javax.servlet.FilterConfig ctx)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest servletRequest,
                             javax.servlet.ServletResponse servletResponse,
                             javax.servlet.FilterChain filterChain)
                      throws java.io.IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter
      • getConfig

        public uk.ac.warwick.sso.client.SSOConfiguration getConfig()
        Specified by:
        getConfig in class HandleFilter
      • getHandler

        public uk.ac.warwick.sso.client.SSOHandler getHandler()
        Specified by:
        getHandler in class HandleFilter
      • setHandler

        public void setHandler​(uk.ac.warwick.sso.client.trusted.TrustedApplicationHandler handler)
      • setConfig

        public void setConfig​(uk.ac.warwick.sso.client.SSOConfiguration config)
      • getUserLookup

        public uk.ac.warwick.userlookup.UserLookupInterface getUserLookup()
      • setUserLookup

        public void setUserLookup​(uk.ac.warwick.userlookup.UserLookupInterface userLookup)
      • getTrustedApplicationsManager

        public uk.ac.warwick.sso.client.trusted.TrustedApplicationsManager getTrustedApplicationsManager()
      • setTrustedApplicationsManager

        public void setTrustedApplicationsManager​(uk.ac.warwick.sso.client.trusted.TrustedApplicationsManager trustedApplicationsManager)