Metatype descriptor for SlingAuthenticator inconsistent with actual default
value
---------------------------------------------------------------------------------
Key: SLING-432
URL: https://issues.apache.org/jira/browse/SLING-432
Project: Sling
Issue Type: Bug
Components: Core
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: 2.0.0
The Metatype descriptor defines the default value for the auth.anonymous
parameter to be "false", which the actual default value in the
SlingAuthenticator class is defined as "true". This is inconsistent and causes
confusion when comparing the displayed default configuration in the Sling
Console Configuration screen to the actual behaviour.
The fix is to use the recently added "valueRef" attribute for the @scr.property
tag to refer to the constant describing the actual default value.
The same fix should be applied to the other configuration properties in the
SlingAuthenticator class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.