Hi,

Indeed, pac4j is the security framework used for authentication.

It feels like a dependency issue as the InternalAttributeHandler component
has been removed in pac4j v4.1.0.

What are the versions of the pac4j dependencies?

Thanks.
Best regards,
Jérôme



Le ven. 13 nov. 2020 à 15:58, Frédéric Lohier <[email protected]> a
écrit :

> Hello,
>
> I am trying to setup the CAS Management webapp 6.2.2 with CAS Server
> 6.2.5. but I am running into the following issue :
>
> When I log in the CAS Management webapp with a user that exists in the
> users.json file of the Management webapp, the authentication with CAS is
> successfull but I get the message "Management app is not available" in the
> GUI and in the cas-management.log file, I get the error:
>
> ERROR
> [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas-management].[dispatcherServlet]]
> - <Servlet.service() for servlet [dispatcherServlet] in context with path
> [/cas-management] threw exception [Handler dispatch failed; nested
> exception is java.lang.NoSuchMethodError:
> 'org.pac4j.core.profile.InternalAttributeHandler
> org.pac4j.core.profile.ProfileHelper.getInternalAttributeHandler()'] with
> root cause>
>
> java.lang.NoSuchMethodError:
> 'org.pac4j.core.profile.InternalAttributeHandler
> org.pac4j.core.profile.ProfileHelper.getInternalAttributeHandler()'
>
> Any idea where this issue could come from?
>
> From my understanding, pac4j is the component evaluating the identity's
> attributes coming from CAS server.
>
> With CAS Management in debug log-level, I can see all attributes of the
> authenticated identity coming from CAS server in the cas-management.log.
>
> Could it be a dependency issue? I build CAS Management with the following
> gradle properties :
> # Versions
> casmgmt.version=6.2.2
> cas.version=6.2.5
> springBootVersion=2.2.8.RELEASE
> appServer=-tomcat
> sourceCompatibility=11
> targetCompatibility=11
> gradleMavenPluginVersion=5.1.1
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0498530b-b40a-4e14-9267-58c31a7148cen%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0498530b-b40a-4e14-9267-58c31a7148cen%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LyKAModUTL7FYf%2BPcF-fuFX16v8dJyvu6jNyutGFUQfbA%40mail.gmail.com.

Reply via email to