Questions tagged as 'spring-security'

0
answers

interceptUrlMap defined as a Map is not supported error when adding interceptors in grails application

I'm developing a web application using Grails and I'm trying to implement authentication via spring security plugin. Java.lang.IllegalArgumentException: interceptUrlMap defined as a Map is not supported; must be specified as a List of Maps as...
asked by 27.06.2018 / 05:29
0
answers

Error in project: java.sql.SQLException: Can not create JDBC driver of class '' for connect URL 'null' - JavaParaWeb

I'm studying Java for the book "Java for Web 2nd Ed.", I was going quiet, but I stopped at the following error: abr 12, 2018 11:39:31 PM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTÊNCIA: [SetPropertiesRule]{Server/Servi...
asked by 13.04.2018 / 04:43
1
answer

403: Access is denied / Spring security

I'm having trouble working with the Spring Secutiry. When I add this line below, I get status 403 when I try to access the url. @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true) public class WebSecurityConfig extends WebSec...
asked by 05.04.2018 / 18:10
0
answers

Error accessing controller - spring securiy

I'm finding this error strange. Class that is reporting on the console: package br.com.netsoft.configuracao.auth; import io.jsonwebtoken.ExpiredJwtException; import java.io.IOException; import javax.servlet.FilterChain; import javax.serv...
asked by 06.04.2018 / 19:48
0
answers

Angular and Spring security

The code is giving this exception: I'm using this code as an example: link 11:01:59,863 ERROR [br.com.netsoft.configuracao.security.JwtTokenUtil] (default task-6) : io.jsonwebtoken.MalformedJwtException: Unable to read JSON value: �z��&am...
asked by 25.03.2018 / 16:12
1
answer

How to customize the denied access url? (spring social facebook)

In class ProviderSignInController We have the oauth2ErrorCallback method. When the user cancels authorization in facebook it is redirected to: /signin?error=access_denied&error_description=Permissions+error I need to customiz...
asked by 23.03.2018 / 21:21
1
answer

Could not verify the CSRF token because your session was not found

I am using Spring security 4.2.3 and spring 4.2.5 when I run the login screen and the user registration screen works correctly when I ask to access the home screen. this error appears: messageCould not verify the provided CSRF token because yo...
asked by 05.03.2018 / 14:22
1
answer

Spring Secuirty dependency error

I am not able to adjust the dependencies of my Spring security, I tried to download the libraries 4.3.5 but could not deploy. I'm not using pom so I need help, my library: Error compiling: Grave: Context initialization failed...
asked by 02.03.2018 / 14:08
1
answer

Problem when recovering JWT in Angular

On server-side I have a service using Spring Security and JWT for authentication and authorization, on the client side I have a SPA in Angular. The problem occurs when I try to authenticate because I get 200 as a status code, but I can not recov...
asked by 07.03.2018 / 12:34
0
answers

I am trying to upgrade from spring security 3.0.5 to 4.2.3

I'm trying to switch from spring security 3.0.5 to 4.2.3 but I'm having a very serious dependency problem. In this project I was forced not to use mavem or anything of the kind. And the problem (I just added the partially working library) is bet...
asked by 26.02.2018 / 13:21