Re: New warning message appearing with version 6.3 - SecurityMemberAccess - Access to non-public ... is blocked!

2023-12-16 Thread Ralph Grove
> On Dec 16, 2023, at 1:41 PM, Dale Newfield wrote: > > Unrelated to your question, but why do you create redundant maps every time > your static getter method is called? (And note they're mutable.) > > You can eliminate all that syntax, remove the getter side-effects, and add > the safety o

Re: New warning message appearing with version 6.3 - SecurityMemberAccess - Access to non-public ... is blocked!

2023-12-16 Thread Dale Newfield
Unrelated to your question, but why do you create redundant maps every time your static getter method is called? (And note they're mutable.) You can eliminate all that syntax, remove the getter side-effects, and add the safety of immutability with Lombok and the Map static constructors: @Getter

Re: New warning message appearing with version 6.3 - SecurityMemberAccess - Access to non-public ... is blocked!

2023-12-16 Thread Ralph Grove
> On Dec 16, 2023, at 11:29 AM, Lukasz Lenart wrote: > > pt., 15 gru 2023 o 16:34 Grove, Ralph - groverf napisał(a): >> >> After upgrading from Struts 6.1.1 to 6.3.0.2, these messages began appearing >> in the log, always four at a time: >> >> [WARN ] 2023-12-15 07:33:15 [https-jsse-nio-84

Re: New warning message appearing with version 6.3 - SecurityMemberAccess - Access to non-public ... is blocked!

2023-12-16 Thread Lukasz Lenart
pt., 15 gru 2023 o 16:34 Grove, Ralph - groverf napisał(a): > > After upgrading from Struts 6.1.1 to 6.3.0.2, these messages began appearing > in the log, always four at a time: > > [WARN ] 2023-12-15 07:33:15 [https-jsse-nio-8443-exec-109] > SecurityMemberAccess - Access to non-public [protecte

Re: Add context to CspInterceptor reportUri

2023-12-16 Thread Lukasz Lenart
sob., 16 gru 2023 o 17:04 Andreas Sachs napisał(a): > > Hello, > i'm using the CspInterceptor and want to add a reportUri. The destination is > an action defined in my application. > > To set the reportUri in struts.xml i have to specify the complete url (with > context). > > /context/report.act

Add context to CspInterceptor reportUri

2023-12-16 Thread Andreas Sachs
Hello, i'm using the CspInterceptor and want to add a reportUri. The destination is an action defined in my application. To set the reportUri in struts.xml i have to specify the complete url (with context). /context/report.action Is there a parameter to get the context? //report.action