casdoor / casdoor-java-sdk Goto Github PK
View Code? Open in Web Editor NEWJava client SDK for Casdoor
Home Page: https://github.com/casdoor/casdoor
License: Apache License 2.0
Java client SDK for Casdoor
Home Page: https://github.com/casdoor/casdoor
License: Apache License 2.0
I found a lot of duplicated codes in each services. IMO we can provide a more generic service ( Maybe named CasdoorCrudService ) to achive the common crud actions of entities.
public class CasdoorCrudService<T> extends CasdoorService {
public CasdoorResponse<List<T>, Integer> query(String action, Map<String, String> queryParams) { }
public T get(String action) { }
public T get(String action, String id) {}
public boolean create(String action, T t) {}
public boolean update(String action, String id, T t) {}
public boolean delete(String action, T t) {}
}
Issue: casdoor/casdoor-go-sdk#80
Port to Java from Go: casdoor/casdoor-go-sdk#84
master
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
The deployment to maven failed for an unknown reason.
Please check the logs on the CI server to see what happened.
Good luck with your project ✨
Your semantic-release bot 📦🚀
Similar to: casdoor/casdoor-nodejs-sdk#53
The group tree means this part: https://door.casdoor.com/trees/built-in
The group tree mainly relies on the data returned by the get-groups API. But the returned data is a list. The Casdoor frontend code will build the tree from the list. We may need to do so too. There are two ways:
In the master branch, the version in pom.xml is still 1.0. Should it be updated?
Like jCasbin or this one: jcasbin/redis-watcher#7
hi,developer!
user login by oauth2.0,but can't get role info。
please support the sdk to method of get role info!
Use GPT
The API /api/get-tokens
to get the list of tokens is also always empty
ref: casdoor-spring-boot-starter README
casdoor-springboot-starter depends on this sdk, so it must wait for the completion of this sdk
The API interface in the latest version of casdoor-java-sdk does not match the casdoor interface. For example: the attributes of the object "CasdoorResponse" returned by the api interface in sdk is inconsistent with the "Response" attributes of casdoor.
Like: casdoor/casdoor-go-sdk#76
Fix: #57 and casdoor/casdoor#2233
The api "parseJwtToken" need return the JWT exp time or check the exp.
The jwt exp time setted is no use now.
Currently, developers using Casdoor must import casdoor-js-sdk on the front-end while importing casdoor-java-sdk on the back-end. If not, they must construct URLs for the signin and signup pages by themselves.
I‘m considering providing constructed URLs from the SDK so that developers can redirect pages on the back-end.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.