跳到主内容

ShardingSphere

shardingsphere-elasticjob-ui 已内置 Casdoor,按下面的步骤配置即可。

步骤1:部署Casdoor​

部署 Casdoor. 见 服务器安装。确认服务器在运行,并且能在 Casdoor 登录页登录(例如 admin / 123)。

步骤2:配置Casdoor应用并在ShardingSphere中配置应用​

  1. 创建或使用一个已有的 Casdoor 应用 img 把 Redirect URLs 设为登录后要跳转的地址;记下所选的值,下一步要用。

  2. 在证书编辑页复制你的 Certificate

    img

  3. 在ShardingSphere中配置应用

    找到要配置的 application.properties(或同类文件)。

    img

    接下来,我们需要从Casdoor应用中复制数据并粘贴到应用中。

    img

  4. 测试一下

    img