Class DelegateHeaderPrincipalProvider

    • Method Detail

      • getDelegate

        public Principal getDelegate​(javax.servlet.http.HttpServletRequest request)
        Parameters:
        request - from which the principal header is extracted
        Returns:
        null if no delegate found, and the delegate if one found
        Throws:
        RepositoryConfigurationException - if more than one delegate found
      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
        Specified by:
        init in interface javax.servlet.Filter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        IOException
        javax.servlet.ServletException
      • destroy

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