Giter Site home page Giter Site logo

Spring Security support about joinfaces HOT 10 CLOSED

joinfaces avatar joinfaces commented on May 12, 2024
Spring Security support

from joinfaces.

Comments (10)

persapiens avatar persapiens commented on May 12, 2024 1

@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.

persapiens avatar persapiens commented on May 12, 2024

@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.

persapiens avatar persapiens commented on May 12, 2024

@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.

cemo avatar cemo commented on May 12, 2024

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.

persapiens avatar persapiens commented on May 12, 2024

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.

nyilmaz avatar nyilmaz commented on May 12, 2024

Great!! I'll give a try asap.

from joinfaces.

persapiens avatar persapiens commented on May 12, 2024

I've just pushed some changes related to reorganize classnames and introduced FullyAuthorized tag.

I look forward your accurate comments @nyilmaz

from joinfaces.

nyilmaz avatar nyilmaz commented on May 12, 2024

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.

persapiens avatar persapiens commented on May 12, 2024

Thanks a lot. I'll release it today. I'll rearrange example project with your code too.

from joinfaces.

persapiens avatar persapiens commented on May 12, 2024

Implemented in #53

from joinfaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.