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

2023-12-19 Thread Lukasz Lenart
pon., 18 gru 2023 o 19:45 Ralph Grove napisał(a): > Ok, so you use the bootstrap plugin so this the problem https://github.com/struts-community-plugins/struts2-bootstrap/pull/109 yet this isn't released yet and we should do it Regards -- Łukasz mobile +48 606 323 122

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

2023-12-18 Thread Ralph Grove
> On Dec 17, 2023, at 10:04 AM, Lukasz Lenart wrote: > > sob., 16 gru 2023 o 19:10 Ralph Grove napisał(a): >> The setup action declares it this way: >> >>private HashMap statuses; >> >>statuses = User.getStatusMap(); >> >> >> And in the User class it’s created in the get

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

2023-12-18 Thread Prasanth
2023-12-18 11:51:43,756 WARN [com.opensymphony.xwork2.ognl.SecurityMemberAccess] (default task-1075) Access to non-public [private java.lang.String LoginAction.username] is blocked! 2023-12-18 11:51:43,757 WARN [com.opensymphony.xwork2.ognl.SecurityMemberAccess] (default task-1075) Access to

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

2023-12-17 Thread Lukasz Lenart
sob., 16 gru 2023 o 19:10 Ralph Grove napisał(a): > The setup action declares it this way: > > private HashMap statuses; > > statuses = User.getStatusMap(); > > > And in the User class it’s created in the get method: > > public static HashMap getStatusMap() { > HashMap

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

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:

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

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

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

2023-12-15 Thread Grove, Ralph - groverf
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 [protected java.lang.String org.apache.struts2.components.UIBean.disabled] is