Details
-
Type:
Enhancement
-
Status: Closed
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 11
-
Fix Version/s: 18
-
Component/s: security-libs
-
Subcomponent:
-
Resolved In Build:b17
-
CPU:generic
-
OS:generic
-
Verification:Verified
Description
A DESCRIPTION OF THE PROBLEM :
My application is running with a custom list of security providers. The list is passed to the application in an alternate java security file like:
% java -Djava.security.properties=/path/to/my/java.security ...
The list of security providers in the file is:
```
security.provider.1=BCFIPS C:HYBRID;ENABLE{All}
security.provider.2=SUN
security.provider.3=BCJSSE fips:BCFIPS
security.provider.4=
```
When I start the application, it outputs "invalid entry for security.provider.4" on standard error, but otherwise behaves as intended.
If I remove the "security.provider.4" line, all providers from master security file with priority 4+ (like SunJSSE, SunJCE) are registered. This is not acceptable.
Can we stop logging "invalid entry..." when an empty entry is encountered?
My application is running with a custom list of security providers. The list is passed to the application in an alternate java security file like:
% java -Djava.security.properties=/path/to/my/java.security ...
The list of security providers in the file is:
```
security.provider.1=BCFIPS C:HYBRID;ENABLE{All}
security.provider.2=SUN
security.provider.3=BCJSSE fips:BCFIPS
security.provider.4=
```
When I start the application, it outputs "invalid entry for security.provider.4" on standard error, but otherwise behaves as intended.
If I remove the "security.provider.4" line, all providers from master security file with priority 4+ (like SunJSSE, SunJCE) are registered. This is not acceptable.
Can we stop logging "invalid entry..." when an empty entry is encountered?