Comments (10)
@cemo , I've just pushed initial implementation of Spring Security Facelets Taglib support at JSF Spring Boot Starter integration submodule. (branch security)
It is a mixed solution from spring webflow and from @domdorn.
Added springsecuritytaglib.xml including authorize, authenticated and anonymous tags and areAllGranted, areAnyGranted, areNotGranted, isAllowed, isAuthenticated and isAnonymous functions.
JSF Spring Boot Starter included org.springframework.boot:spring-security-taglibs dependency. Client application has to include org.springframework.boot:spring-boot-starter-security dependency.
from joinfaces.
@cemo , I think jsf facelets spring security library is exactly what you're looking for. It does not uses spring-webflow.
However, it was deployed at google code and it is not able to download anymore :(
I will contact dominik (library author) to know if he could deploy to maven central.
from joinfaces.
@cemo what do you think about fork specific spring security facelets spring-webflow classes into these project? Create a separate project could be better approach?
from joinfaces.
Spring Team expects a contribution from community to support JSF. Almost all issues related to JSF has been marked as contributions welcome
in JIRA.
I think that this project would be the correct place to gather community efforts.
So +1 to bring these classes into this project.
from joinfaces.
Thank you for you comments @cemo. Let's do our best to improve JSF and Spring Boot ecosystem!
@domdorn answered me. His spring security facelets taglib is at github. He'll push maven central soon.
I'm a happy spring taglib-jsf20-spring-3 library user with jsf 2.2, spring 4.2 and springsecurity 4.2 versions.
The main advantage of spring security facelets taglib library over spring-webflow is that it is dedicated to solve jsf facelets and spring security integration. The facelets tags are equivalent. Maybe including all spring-webflow stuff is not a good solution at this moment.
from joinfaces.
Great!! I'll give a try asap.
from joinfaces.
I've just pushed some changes related to reorganize classnames and introduced FullyAuthorized tag.
I look forward your accurate comments @nyilmaz
from joinfaces.
I have successfully applied your snapshot version in which you did add taglibs. No problems so far. I also added a sample (in fact rearranged your example project). You can check it out @ nyilmaz/jsf-spring-boot-starter-example@6195ad2
from joinfaces.
Thanks a lot. I'll release it today. I'll rearrange example project with your code too.
from joinfaces.
Implemented in #53
from joinfaces.
Related Issues (20)
- Version 5.0.0 seems like not compatible with Spring-Data-Jpa after maven packaged HOT 8
- Startup error: Admin Faces and Weld CDI conflict - Ambiguous dependencies for type... HOT 5
- [Joinfaces 5] OmniFaces faces-views-scan-paths not working HOT 1
- jakarta bean validation is not working anymore
- I fixed Mojarra just for JoinFaces, please update Mojarra
- War deployment of Joinfaces 5.0.2 Startup Error. HOT 1
- Doesn't see the webapp when there are multiple modules. HOT 3
- Include instructions on how to switch from Mojarra 3 to 4 (Jakarta Faces) HOT 3
- Upgrade to spring boot v3 'OCPsoft Rewrite Filter' is not loading HOT 4
- Current Spring/Spring Boot Vulnerabilities: Please release JoinFaces 4.7.11 + 5.0.6! HOT 2
- Can't build gradle project with 5.0.6 HOT 2
- Angularfaces link is broken HOT 1
- Blank page as no faces EL is resolved in page. HOT 2
- Tomcat war deployment not working HOT 1
- Problem with Spring Boot Container HOT 3
- Provide a joinfaces bom without spring-boot-dependencies HOT 8
- Could not release joinfaces 5.2.0-rc1 HOT 1
- omnifaces not working in packaged jar in spring boot 3.2.0-RC1 HOT 1
- rewrite-spring-boot-starter not working with spring-aot
- Error with rewrite with joinfaces 3.2.0-rc2 HOT 3
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 joinfaces.