GithubHelp home page GithubHelp logo

Comments (8)

huyinghuan avatar huyinghuan commented on May 3, 2024

在尝试部署测试过程中,我觉得应该可以允许禁掉sso对接...

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

如果要禁掉SSO,那么这套系统就必需内建一套账号系统,或者允许匿名使用

from f2etest.

huyinghuan avatar huyinghuan commented on May 3, 2024

通过修改sso.js
image

这样是否就可以绕过验证了? 因为没有仔细读源码,是否还有需要修改的地方?

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

不行,必需要有访问者的用户名和姓名。
用户名是用来和windows集群同步账号的,姓名是用来显示当前你是谁的。

from f2etest.

huyinghuan avatar huyinghuan commented on May 3, 2024

那是否可以通过手动写入数据到session来绕开它?

PS 这个东西应该做个可配置就方便了,毕竟不是每个公司都有这样的安全需要, 比如用一个配置较好的服务器拖N个虚拟机来耍.这些虚拟机就只做测试使用. 

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

可以考虑下一个版本,做一个匿名访问版本的。
把临时用户名写在cookie里,如果cookie是空的,就生成一个新的临时用户名,如果有了,就用这个用户名访问。

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

不过我更建议是能对接到SSO上,这样可以统计用户的使用数据,哪些用户激活了,哪些没使用过。

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

改为默认使用内置的匿名SSO:e0a7777

from f2etest.

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.