Questions tagged as 'spring-security'

1
answer

Duplicate value in the bank when inserting new users with an already used Role (Spring-Security)

Hello I'm creating a simple web application with SpringMVC and Spring Security. I made the User and Roles class as follows: @Entity public class Usuario implements UserDetails { private static final long serialVersionUID = 1L; @Id pr...
asked by 06.02.2016 / 03:57
1
answer

ERROR TO MANY REDIRECTS Spring Security Core and Grails

Well, I'm developing a Grails application and I've decided to implement authorization and authentication. It's working perfectly, however. I've decided to change the login form to my form, not the Spring Security Core standard. However, I'm havin...
asked by 13.05.2015 / 17:06
1
answer

Is it safe to entrust the security of an application to Spring Security?

I am developing a reasonably simple yet fairly distributed system that involves including use of EJBs and other agents, which requires both Authentication and Authorization. The system will be composed initially by Spring + Hibernate + JSF +...
asked by 02.06.2015 / 18:53
1
answer

User authentication with H2 bank in Kotlin Spring Boot Application

Problem: Authenticate user using H2 database in Spring Security Context: The application is done using Spring, the user class is this @Entity data class Usuario( @NotEmpty var nome:String = "", @NotEmpty var...
asked by 14.05.2018 / 00:40
1
answer

Setting up CORS in Spring Security

I need to configure Spring Security to accept requests from external applications. I do not know how to do it, I have a project in Spring Boot and Spring Security where I only accept request from the same source. Must accept AJAX request using a...
asked by 11.08.2017 / 20:01
1
answer

Notifier of any event that the user performs in the system [closed]

I'm using Spring Framework for java and would like to create I can create a warning type, <scan> , which shows in the table that a new row was added (this line comes from the database), and clicking on it to disappear implying that t...
asked by 14.01.2016 / 18:28
1
answer

Error in applicationContext-security.xml

My 1st xml file applicationContext-security.xml: <?xml version="1.0" encoding="UTF-8"?> <b:beans xmlns="http://www.springframework.org/schema/security" xmlns:b="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org...
asked by 03.09.2014 / 01:46
0
answers

Java Spring, error authenticating with active diretory

I personally, in my company implemented an active diretory environment, and we were asked to develop an application that authenticates there, the environment is already created and the guy from the infra sent me the parameters so that access can...
asked by 11.12.2018 / 13:08
0
answers

Load JWT signature key from a dynamic base

I have implemented an Authorization Server using AuthorizationServerConfigurerAdapter and the users and clients are configured from the implementation of the UserDetailsService and ClientDetailsService services that collect...
asked by 06.12.2018 / 20:31
1
answer

Permissions Spring Security

I'm having problems with user permissions using Spring Security. Signing the user assigns him the permission that is due to him, however when accessing the system the option in the menu that the user would have access does not appear. Here's...
asked by 07.11.2018 / 18:30