GithubHelp home page GithubHelp logo

自定义登录器验证器 about sso HOT 2 CLOSED

kawhii avatar kawhii commented on August 13, 2024
自定义登录器验证器

from sso.

Comments (2)

kawhii avatar kawhii commented on August 13, 2024

AuthenticationHandler
https://apereo.github.io/cas/development/installation/Configuring-Custom-Authentication.html

from sso.

kawhii avatar kawhii commented on August 13, 2024

通过访问https://passport.sso.com:8443/cas/login?service=http%3A%2F%2Flocalhost%3A8083%2Fcallback%3Fclient_name%3Dcas
输入admin 系统为SSO即可登录


核心模块为sso-support/sso-support-custom-auth

实现

  1. 覆盖defaultWebflowConfigurer(CasWebflowConfigurer) 注册自定义流程
  2. 重写createRememberMeAuthnWebflowConfig把自定义的Credential绑定到credential
  3. viewLoginForm添加绑定属性
  4. 添加自定义人认证器AuthenticationHandler
  5. 注册自定义认证器并且设置order
  6. 依赖jar包(插拔)

from sso.

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.