Code Monkey home page Code Monkey logo

Comments (1)

assouktim avatar assouktim commented on September 27, 2024

On Tock, to perform authentication with the CAS protocol, we use the following two pac4j libs: pac4j-core (v6.0.1) and vertx-pac4j (v6.0.2)
vertx-pac4j uses vertx-core, which has undergone huge changes, but vertx-pac4j has not kept up.

What is blocking :
In pac4j-vertx, to create the io.vertx.ext.web.handler.AuthenticationHandler, we use the org.pac4j.vertx.handler.impl.SecurityHandler implementation.
This class launches the following method in static:
static { Config.defaultProfileManagerFactory("VertxProfileManager", (ctx, store) -> { return new VertxProfileManager((VertxWebContext)ctx, (VertxSessionStore)store); }); }
Except that org.pac4j.core.config.Config.defaultProfileManagerFactory no longer exists in core as of v6.

// logs : java.lang.NoSuchMethodError: 'void org.pac4j.core.config.Config.defaultProfileManagerFactory(java.lang.String, org.pac4j.core.profile.factory.ProfileManagerFactory)'

So, as long as the vertx-pac4j lib hasn't been updated with the core changes, we should stick with pac4j-core: 5.7.3

from tock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.