eozmen410 commented on pull request #442:
URL: https://github.com/apache/wicket/pull/442#issuecomment-679196121


   > IMHO the additions to Application would be better located in 
WebApplication#internalInit().
   > CSP is enforced there too.
   
   AFAICT the `internalInit()` method is called before `init()`, since we 
expect the users to configure their policies for COOP and COEP in the `init()` 
method, and we will add the listeners with the configs if they are not 
`DISABLED`, if we move the `secuirtyInit()` to `WebApplication#internalInit()` 
the configuration decisions made by the user in their `WebApplication#init()` 
will not have an effect on listener behavior.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to