Questions tagged as 'spring-security'

1
answer

Problem with Spring Security and AngularJS

I'm trying to set up my site so that I skip the login in a view in AngularJS (my view in angle is called /validate#/validateusername/ ) but I could not get it, any suggestions on how I can achieve this? @Autowired public void configureGl...
asked by 29.01.2016 / 23:54
1
answer

Spring boot security http basic with oauth2 resource server

I am trying to configure a spring boot web application to use the basic http security which will be used for the web pages, and additional I need to implement OAuth2 security for an android application to connect. The problem I have is that t...
asked by 06.06.2018 / 02:44
2
answers

Grant or restrict permissions to routes through roles in Spring Security in Spring Boot

Good morning everyone, I have an application in Spring Boot in which I implemented Spring Security. I have managed to log in and have access to all the routes once logged in, and also restriction to all routes when the session has not been start...
asked by 04.11.2018 / 20:06
1
answer

Personalized access in Spring Security

Someone could help me in an access through Spring Security, I require that the authentication (Login) be done through a stored procedure (SP), which returns a character 'V' or 'F' as the case may be. How do I tell Spring Security which interp...
asked by 19.03.2016 / 01:44
1
answer

Problem Logout Spring Security

I have a problem doing "Logout" in my application, every time the user logout, redirect him to ask for his credentials again, but if the user refreshes the window (< kbd> F5 ) re-login, what I'm looking for is the way to kill the session every...
asked by 11.02.2016 / 15:36
0
answers

Failure in security filters with spring security

I am working on a project in Java and have a CAS, and SSO, for this I have to implement some filters in web.xml and a key ssl requirement for communication with an LDAP tree that I put in my apache2, when I run the apache tomcat, are those filte...
asked by 06.11.2018 / 22:49
0
answers

org.springframework.beans.factory.UnsatisfiedDependencyException when I do @Autowired

I have a problem when publishing my project on my server, I have tried several solutions and none of them worked, I have all the annotations correctly as well as the XML configuration so I must be ignoring something. UserController.java @...
asked by 05.08.2018 / 09:56
0
answers

Problem / Doubt with Spring Security and Spring Boot

Good morning, I'm working with Spring Boot 1.4.2.RELEASE, Spring Security 4.1.3.RELEASE, and Java 8. For the security configuration I have the following class: @Configuration @EnableWebSecurity public class SecurityConfig extends WebSecurit...
asked by 19.06.2017 / 20:14
0
answers

Problems With showing a jsp in iframe with spring security and html5

I try to embed this url in my iframe but it does not appear <li><a href="<c:url value="./MisFinanzas.htm"/>" target="ventana_iframe">Saldos</a></li> This is my iframe: <iframe src="myIframe" name...
asked by 12.04.2017 / 18:27
0
answers

How can I disable CSRF only for my api with spring security? [closed]

I'm creating a project with spring using spring security but I'm having problem only with my api (all controllers are working correctly with csrf). But it seems like the csrf is causing problems to my api, because when I make a request to my api...
asked by 12.03.2017 / 16:11