Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Access Specifier Manipulation issue reported by Fortify in Struts 1.x


Need help to resolve A6 Security Misconfiguration issue reported by fortify tool.

Detail below:, line 130 (Access Specifier Manipulation)

The call to method setAccessible() on line 130 changes an access specifier.

128 //
129 if(!oSuperFields[i].isAccessible())
130 oSuperFields[i].setAccessible(true);
131 oSuperFieldObj = oSuperFields[i].get(this);
132 } catch (IllegalAccessException e) {

The method holding above code snippet is "Private"

Please provide suitable solution if any. Thanks in advance. :) 

2 answers

0 votes

Upgrade to a version of Jira that no longer uses struts (it has not for quite a while!)

0 votes

If you use Spring, you can use ReflectionUtils.makeAccessible(field) to make that field accessible. Fortify does not complain about this 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you