Comments (4)
As far as I know, in React world (which changes every day) the "standard" way to do auth is to pay for something like Okta or Auth0 (now also Okta). JavaScript / TypeScript world is too complicated and too fluid, and thus there are 1000s of startups and SAAS services that are trying to provide products to make applications work in that world.
However, I am no react expert by any means, and avoid JavaScript altogether in favor of Jakarta EE / Jakarta Faces w/Shiro. Currently, there is something like htmx that's gaining popularity, which is basically Jakarta Faces that's trying to be rewritten in TypeScript / Node.
IMHO Jakarta EE / MicroProfile / Jakarta Faces have more features, more stable and much simpler than anything in the JavaScript world.
from shiro.
The project I'm working on is a publicly funded one (with no funding for paying other companies, so we need to rely on open source with nice licenses);
Jakarta EE is not an option for us (starting with the fact that I wont find students who want work for us and use Java in frontend development), although I understand the points you make clearly. I'm personally not primarily a web dev but have tons of experiences with Angular, then also a few with react and some with pure JS, Python frameworks (no typing => pain) and so on.
Has someone in the community developed a general JavaScript API for authentication with the Fuseki Server based on REST (or websockets) yet? That is actually the core of my question :)
thanks!
from shiro.
I am not familiar with "Fuseki Server" but I would try to ask that community as well.
(starting with the fact that I wont find students who want work for us and use Java in frontend development)
I have to push back on that. There are plenty of students that are interested and will do that.
from shiro.
There is an older Angular library listed in the "Ports" section of the Shiro site.
https://shiro.apache.org/integration.html#ports
It could be used as a starting point.
That said, using permissions on the frontend is mostly about user experience, you still need to protect any backend resources. (e.g. the backend can tell the frontend what capabilities the user has, the frontend could disable them. But this doesn't prevent an attacker from accessing those resources)
from shiro.
Related Issues (20)
- [Bug] RememberMe does not Remember me after deletion of SessionCookie
- [Question]PermissionAnnotationHandler.java line 81~86 HOT 6
- [Enhancement] Check that Shiro compiles with JDK 21
- Fix code scanning alert - Failure to use secure cookies
- [Question] Inject CDI managed bean in Shiro AuthorizingRealm HOT 5
- [Enhancement] Update CI to use JDK 11, 17 and 21
- [Bug] AspectJ tests fail when compiling subsequent times from root
- [Question] SaltedAuthenticationInfo implementation not working HOT 6
- commons-beanutils upgrade HOT 2
- OSGI Missing Provide-Capability entry for org.apache.shiro.crypto.hash.HashSpi HOT 1
- spring boot 2.x End of Support is 2023-11-24, it is coming, suggest shiro 2 directly upgrade to spring boot 3 HOT 4
- When will it support spring boot 3.0
- Upgrade to Common-cli 1.6.0
- Upgrade to common-codec 1.16.0
- Upgrade to ASF pom parent 30
- [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0 HOT 2
- Redirect users to access deny page if they do not have specific role HOT 3
- [Question] springboot running output problem HOT 3
- [BeanPostProcessorChecker] WARN o.s.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker HOT 14
- Support for GraalVMs native-image HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shiro.