eclipse-ee4j / eclipse-ee4j/metro-wsit

Exposing private type via a public getter/setter method

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
Component: security Priority: Minor Type: Bug
Dominant language
Java
Stars
6
Forks
21
Avg merge
10h 2m
Merged PRs (30d)
1

Description

The class com.sun.xml.wss.provider.wsit.ConfigHelper contains
get/setConfigData() methods that expose an inner private ConfigData class.
Please fix it by either lowering the getter/setter visibility or increasing the
ConfigData class visibility, as appropriate.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.0]

Source: [https://github.com/javaee/metro-wsit/issues/1196](https://github.com/javaee/metro-wsit/issues/1196)
Author: glassfishrobot

Contributor guide

Open the contributing guide

Research direction

Start by locating com.sun.xml.wss.provider.wsit.ConfigHelper and inspecting the visibility of ConfigData and its getConfigData()/setConfigData() methods. Confirm that the public API no longer exposes a private type, choosing the visibility arrangement appropriate for the class design; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.