• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

integrate JSF using Primefaces ui & Joinfaces & Spring Boot & Spring security

 
Saloon Keeper
Posts: 28701
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here you go: https://gogs.mousetech.com/mtsinc7/gourmetj-springboot

You can see it running at https://gourmetj.mousetech.com, although it may complain about the security cert (I'm hoping to fix that soon).

It is exactly what you asked for: JSF, Spring Boot, Spring Secury, Spring JPA and more. It has both public pages and secured pages.

You can use the POM as a reference for your own project. You can also build and run a copy of the app on your desktop, although it will need to have a database set up for it, I can help with that if you want that.
 
Tim Holloway
Saloon Keeper
Posts: 28701
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I merged your stuff with the following thread. I hope that is okay by you.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm trying to integrate JSF with Spring Boot using Primefaces ui & Joinfaces & Spring Boot and Spring security, so I just added all the dependencies required and the dependency provided by the Joinfaces GitHub repo
https://github.com/joinfaces/joinfaces-maven-jar-example/tree/5.3.x
but I can't use any primefaces components or find the right spring security configuration to allow some public pages like login or register page etc..
can I use the @GetMapping and @Controller to make request etc ...
so please if someone from you guys has already worked with JSF, Joinfaces, Primefaces, and spring security, and can help me I'd appreciate it, I've been stuck on this issue for 4 days.

peace.

here is my pom:


Folder structure
resources
-- META-INF
---- resources
-------- assets
-------- pages
---------- auth
------------ login.xhtml
------------ register.xhtml
-------- dashboard.xhtml
-------- master-page.xhtml


my spring config


my RegisterMBean

 
Hicham Amine
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Tim Holloway, thanks for sharing this repo, I'll try to check and read the content to start a new project and do the right configuration.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic