[
https://issues.apache.org/jira/browse/SLING-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman updated SLING-12885:
--------------------------------
Description:
The AuthenticationHandler.FAILURE_REASON_CODES enum is marked as deprecated but
it is still used as the value of the
JakartaAuthenticationHandler.FAILURE_REASON_CODE request attribute.
Any custom login page can not inspect the reason code using the enum without
ignoring or suppressing warnings about usage of the deprecated enum type.
was:
The AuthenticationHandler.FAILURE_REASON_CODES enum is marked as deprecated but
it is still used as the value of the
JakartaAuthenticationHandler.FAILURE_REASON_CODE request attribute.
Any custom login page can not inspect the reason code without ignoring or
suppressing warnings about usage of the deprecated enum type.
> AuthenticationHandler.FAILURE_REASON_CODES is deprecated with no
> non-deprecated replacement
> -------------------------------------------------------------------------------------------
>
> Key: SLING-12885
> URL: https://issues.apache.org/jira/browse/SLING-12885
> Project: Sling
> Issue Type: Improvement
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: Auth Core 2.0.2
>
>
> The AuthenticationHandler.FAILURE_REASON_CODES enum is marked as deprecated
> but it is still used as the value of the
> JakartaAuthenticationHandler.FAILURE_REASON_CODE request attribute.
> Any custom login page can not inspect the reason code using the enum without
> ignoring or suppressing warnings about usage of the deprecated enum type.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)