eclipse-ee4j / eclipse-ee4j/metro-wsit
Wrong error code in case of empty/null username
- Dominant language
- Java
- Stars
- 6
- Forks
- 21
- Avg merge
- 10h 2m
- Merged PRs (30d)
- 1
Description
Hello,
there is a wrong error code in case of empty username:
WSS1409: Invalid UsernameToken both nonce and created are absent
(A grep in the code shows that 1409 is used at a place where you check whether the username is null or empty string)
Best regards,
Miljen Mikic
#### Environment
Glassfish 3.1.2, Linux CentOS
#### Affected Versions
[2.2]
Source: [https://github.com/javaee/metro-wsit/issues/1654](https://github.com/javaee/metro-wsit/issues/1654)
Author: glassfishrobot
Contributor guide
Research direction
Start by locating the code use of WSS1409 for a null or empty username, as identified by the issue's grep. Determine the intended error-code mapping for both cases and verify that the relevant existing checks report it correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authentication, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100