22 questions
0
votes
1
answer
114
views
Spring-Lemon auth token expiration
I use Spring-Lemon library for my spring boot project. I use a web front-end to my application. My question is, how to know if my auth token is about to expire? Documentation said a Get context ...
0
votes
1
answer
39
views
LemonWebSecurityConfig customization
I use SpringLemon for my project. I would like to customize authorizeRequests method so that any request that starts with "/xyz" is only accessible for authenticated users. ("/xyz/abc", /xyz/def", "...
0
votes
1
answer
26
views
Using Submodules Within SpringLemon
I want to make use to the exception handling features within SpringLemon. Do I need to include all of SpringLemon (i.e. the main library and other configuration elements)
I've tried creating the ...
0
votes
1
answer
422
views
Spring Lemon: Response headers Set-Cookie and X-XSRF-TOKEN are missing
For my current project I use Spring Lemon library with 1.0.0.RC1 version. When I make an /api/core/context request I don't get Set-Cookie and X-XSRF-TOKEN headers.
For my earlier projects I used ...
1
vote
3
answers
2k
views
Angular login withCredentials:true doesnt work
Logging in using restAPIfails in browser , but works in postman.
here is my angular code for login, which throws me 401
login(username: string, password: string) {
const httpHeaders = new ...
0
votes
1
answer
487
views
Spring Boot OAuth2 when implicit JWT is created?
How can I get details from the OAuth2 SSO Principal into my JWT? (instance of OAuth2Authentication getDetails as OAuth2AuthenticationDetails getDecodedDetails returns null)
I have...
Angular 6 client ...
0
votes
0
answers
86
views
Spring Lemon dependency failing in POM
I follow the spring lemon tutorial for using the spring lemon I included the Spring Lemon dependency but the spring lemon dependency cannot be downloaded, It says "Missing artifact com....
0
votes
1
answer
59
views
Secured spring request handler with Apikey and user roles using spring lemon
Can I be enriched with some code snippets for securing certain request handlers with user roles and apikey using spring lemon please.
0
votes
1
answer
82
views
JSON login with spring-lemon
I'm using spring-lemon for my web application project. Spring-lemon uses standard form login by default, which works fine. Now, however, I need to use authentication with json request, something like ...
1
vote
1
answer
99
views
spring lemon - getting AccessDeniedException on email verification
I am using spring lemon and a reactjs app on the client side. I successfully register a new user, and when the user clicks the email link he is redirected to a screen in the react app which sends a ...
0
votes
0
answers
34
views
spring lemon - "Request method 'GET' not supported" on email verification
I am trying to use spring lemon for user handling. I am sending a registration request which gets a 201 response and sends an email to the user, but when the user clicks the link he gets a "Request ...
0
votes
0
answers
2k
views
Getting 404 Not Found Trying to Login User
I am able to signup and verify a user using Google's Advanced Rest Client. However, when I try to login the user, I get this response:
{
"timestamp": 1471401958802
"status": 404
"error": ...
0
votes
1
answer
69
views
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 ...
0
votes
0
answers
63
views
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 ...
1
vote
2
answers
4k
views
Special characters with JPA, JDBC, and MySQL
I use JPA, JDBC and MySQL for my Spring Boot project. I have some trouble with special characters.
If I write an SQL query via JdbcTemplate, it's just fine. I can get back "á" characters.
But if it'...