Questions tagged [spring-lemon]

Spring Lemon is a library containing the essential configurations and code needed for developing REST APIs using Spring Framework and Spring Boot.

Spring Lemon is a library containing the essential configurations and code needed for developing REST APIs using Spring Framework and Spring Boot. It also contains a production-grade, extensible user module having features like sign up, sign in, verify email, update profile, forgot password, change password, change email, captcha validation etc..

22 questions
0
votes
1 answer

How to configure spring lemon to send emails via Sendgrid?

I successfully sent emails via sendgrid's SMTP api, without change to my spring-lemon code. I did it just by configuring environment variables on cloudfoundry. I would now like to use sendgrid java library I then created the following class …
mozexty
  • 44
  • 1
  • 6
0
votes
0 answers

Why is LemonUtil.getMessage() isn't replacing the variables?

In the signup process of Spring Lemon, I'm trying to send the verification email. I've put messages_en.properties and messages_fr.properties in my resourcesfolder. Here is the relevant content of…
mozexty
  • 44
  • 1
  • 6
0
votes
1 answer

How to properly serialize a VersionedEntity?

I have an entity like this : @Entity public class Shop extends VersionedEntity { @Column private String name; @Column private String url; @Column private String status; private String description; I'm now…
mozexty
  • 44
  • 1
  • 6
0
votes
1 answer

Could we make spring-lemon available in maven public repository?

I'm trying to deploy a spring-lemon app from github. But the way the documentation advised to obtain and install the jar, isn't working. While I keep on trying to sort this out, I wonder if it's possible to make spring-lemon available in maven…
mozexty
  • 44
  • 1
  • 6
0
votes
1 answer

How to add more user Roles in Spring Lemon?

Spring Lemon comes with UNVERIFIED, BLOCKED and ADMIN Roles. I'm refering to the Role interface in the AbstractUser class. What do I do in my code, to have several additionnal roles ? I need two roles, say TEACHER, and STUDENT, and also to make the…
mozexty
  • 44
  • 1
  • 6
0
votes
1 answer

Spring Lemon is sending a wrong verification link

I know spring lemon is available at application-url/api/core. So, on my development environment for instance, it should be available at http:/ /localhost:8081/api/core/. And on subscription, users should get the following link : http:/…
mozexty
  • 44
  • 1
  • 6
0
votes
2 answers

How to make @ManyToOne work with Spring Lemon?

I have an existing Spring MVC + Spring Security + Thymeleaf project. My intention is to add Spring Lemon functionalities to it. I followed Spring Lemon Getting Started guide, and built a Lemon-powered project. It runs successfully. Now I'm…
mozexty
  • 44
  • 1
  • 6
1
2