Questions tagged as 'spring-security'

0
answers

Error in AuthenticationManager spring security JWT

I have a problem several days ago, I am trying to implement Spring Security, but it gives me an authentication error, I made a debug and I find that the exception is in the AuthenticationManager in the class that I detail below tog...
asked by 12.06.2018 / 14:29
0
answers

Field authenticationManager in ... required a bean of type 'org.springframework.security.authentication.AuthenticationManager'

I am using vaadin with spring boot and I try to incorporate the security of spring, I take an example and it works correctly with previous versions of spring boot and vaadin, but when updating the version, the same program gives me that error. I...
asked by 29.05.2018 / 03:03
0
answers

Java, Spring Security: How to configure Spring Securiry to allow requests with certificates .x509 (.pfx)?

I have an application with Java and Spring Security in which the user must log in to be able to make any request. Now I want that for a particular request, I can access through a certificate (.pfx). My question is, how should I configure in Spri...
asked by 08.05.2018 / 00:18
1
answer

Cord Sring - Error in Firefox browser

I've ever happened to them that when they open their website in google chrome, internet explore works all the CORD but when I open it with Mozilla Firefox I get this error:    Request from another blocked source: the same source policy preven...
asked by 20.04.2018 / 18:22
0
answers

Error when deploying spring Error creating bean with name 'JettyServletWebServerFactory'

I want to deploy my spring v2.0.1 project and with spring security, but it gives me a lot of headaches when I activate it, it boosts me multiple errors if I do not activate the security everything goes as normal.    Can not upload deployment:...
asked by 07.04.2018 / 01:18
0
answers

DO NOT ARRIVE AUTHORIZATION TO MY SPRING BOOT REST FROM VUE.JS

I want to consume my api rest from Spirng in Vue.js but I never get the api rest the JWT that I sent from VUE.JS. They have some idea because this is generated. Here I leave my spring boot java code: public class AccountCredentials {...
asked by 03.03.2018 / 07:50
0
answers

Problems with loading the spring and spring security config XML

Good I have problems to implement the spring security, I had previously configured the spring freamworks and its beans and it works perfect. Now that I have put the spring security beans when I use java, I get a NullPointer error. The problem is...
asked by 03.02.2018 / 00:31
0
answers

error when deploying security.xml to my spring project?

Good, I am wanting to integrate spring security to my project. my wev.xml is: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sche...
asked by 22.01.2018 / 22:17
1
answer

Security by roles in spring boot api

Good, I'm having a problem with the securization of my API, I have everything mounted, a login that returns a token which passed through headers and a series of classes that authorize me to enter thanks to that token, but I want to go beyond tha...
asked by 04.01.2018 / 16:38
1
answer

Session problem: Apache (Proxy) + Tomcat 7 + Spring Security + Remember-Me cookie

Why does the user session not work correctly when it expires and is retrieved by the existing remember-me cookie? I have a strange error when I enabled the option to remember-me in Spring Security. When the session expires it does not redir...
asked by 22.11.2017 / 15:11