[
https://issues.apache.org/jira/browse/TOMEE-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis Monteiro resolved TOMEE-2992.
----------------------------------------
Fix Version/s: 8.0.7
9.0.0-M2
Assignee: Jean-Louis Monteiro
Resolution: Fixed
> [Certification/TCK] Tomcat Callback handler not consistent with authenticator
> -----------------------------------------------------------------------------
>
> Key: TOMEE-2992
> URL: https://issues.apache.org/jira/browse/TOMEE-2992
> Project: TomEE
> Issue Type: Improvement
> Reporter: Jean-Louis Monteiro
> Assignee: Jean-Louis Monteiro
> Priority: Major
> Fix For: 9.0.0-M2, 8.0.7
>
>
> Tomcat supports JASPIC since version 8.5, but it does not pass the TCK due to
> a CallbackHandler issue. The
> org.apache.catalina.authenticator.jaspic.CallbackHandlerImpl class is not
> consistent with what is done in AuthenticatorBase.
>
> The callback handler keeps adding to the subject everytime it's called which
> results in many principals being added to the same subject.
>
> But on the other hand the authenticator base only pulls the first principal
> from the Subject.
>
> We should either merge all principals in the authenticator base or merge in
> the callback handler.
>
>
>
> See issue
> https://github.com/eclipse-ee4j/jakartaee-tck/issues/575
--
This message was sent by Atlassian Jira
(v8.3.4#803005)