Giter Site home page Giter Site logo

auth-client's Introduction

auth-client

  1. jar包形式,maven项目,使用git;使用proguard混淆后,将此jar包加入到最终的war包或jar包中
  2. 验证方式 用户主动提供机器信息,auth-server生成24位随机秘钥,auth-server给出Fx加密方式代号;将Fx和24位随机秘钥一并放入应用包中提供给客户,Fx(机器信息,24位随机秘钥)=授权码; 将附有授权码的文件提供给用户,放在应用根目录,不需要重新启动应用即可生效
  3. 未授权限制 auth-client端定期本地验证机器及授权信息,每天m次,如果当天内连续n次失败(n<m),则在th后停止服务(过滤器将所有接口调用拦截并返回不可用描述json) 将即将停止服务的信息,通过一定渠道通知给客户 auth-server
  4. 用户注册。需要提供公司信息及联系人信息
  5. 确定Fx算法,确定24位随机秘钥key,使用Fx(机器信息,24位随机秘钥)生成授权码sequenceKey,将Fx,key,sequenceKey写入文件并放在应用根目录
  6. 用户 - 应用 - 机器 - 授权码清单,上次验证时间及结果,当前是否在线可用

auth-client's People

Contributors

kelvinliu11 avatar

Watchers

 avatar  avatar

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.