[ 
https://issues.apache.org/jira/browse/SLING-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779923#comment-13779923
 ] 

Bertrand Delacretaz commented on SLING-3119:
--------------------------------------------

On the dev list, Felix notes that the regexp pattern might not be compatible 
with future versions of the HTTP service, so please don't mark this issue 
resolved for now. 

The current code should work but we probably need to handle the /system/console 
exception inside the doFilter(...) call. Performance is not an issue as this 
filter is meant to be active during system startup only.
                
> Startup Filter: move to HTTP filter to prevent authentication before startup 
> has completed
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-3119
>                 URL: https://issues.apache.org/jira/browse/SLING-3119
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Ben Peter
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: SLING-3119.patch
>
>
> The current StartupFilter implementation is a Sling filter which prevents 
> requests from being processed only after all HTTP filters have been called 
> and authentication has been handled.
> Making this an HTTP filter registered with the Felix ExtHttpService would 
> answer requests with 503 much earlier.
> Such a filter must still allow access to felix.webconsole.manager.root, 
> typically /system/console

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to