Casbin = way to authorization
A place for Casbin developers and users
现在注册
已注册用户请  登录
主题样式选择
默认主题样式 ✅
知乎主题样式 
tldyl
tldyl

Week5 (July 29-Aug. 4)

Weekly summary:

1.Studied the casbin policy. 2.Fixed issue #41, modify adapter policies before modifying memory

Before coding:

First of all, I checked the reference link sent to me by my tutor. In the changed file, I found classes and methods that have not been implemented by jCasbin. So I'm ready to integrated these classes and methods. However, I found that some methods in the reference code return two return values at a time, which is not allowed in Java. These two return values represent the matching effect List (list type), whether it was successfully found (boolean type). If the list is empty, it means it is not found, and the Boolean value is false. According to this, I decided to divide this method into two methods: one returns the list type, and the other calls the method that returns the list type, and returns the Boolean value according to the search result.

Next week:

1.Preparing for implementation of an interface compatible with Spring Security.

关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   50 人在线   最高记录 50   ·     选择语言  ·     选择编辑器
创意工作者们的社区
World is powered by code
VERSION: c3b0ae8 · 20ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
♥ Do have faith in what you're doing.