in Education by
I have a GWT application that I am trying to login using spring security. Currently, after a successful login, I am redirected back to the Login page. I am guessing this is because of my spring configuration and my lack of spring security knowledge. In my spring-security.xml I define my intercepts like so: I am guessing that the issue is on the access=isAuthenticated() but I am not sure. I want it to redirect to the gwt page/app which will handle the view based on the role returned. I made a very simple gwt app with this method and it worked. I am using the Spring generated login page and not a JSP. spring-security.xml <?xml version="1.0" encoding="UTF-8"?> <!-- This is where we configure Spring-Security --> JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
This turned out to be two things. 1) I needed to add the user-expressions="true" so it would pick up the access= 2) I had a custom user Authentication class and forgot to set the the Authenticated boolean to true. Both of these got it working correctly.

Related questions

0 votes
    I compiled the version in svn tagged as gwt2.4rc. Now there are a couple of more libraries than I ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 3, 2022 in Education by JackTerrance
0 votes
    I am working on RAPHAEL-GWT and am able to generate the raphael diagram. My problem is that it is ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    In our organization we are developing an ldap based Authentication, and Authorization with Single Sign On on ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    The ___________________ is a standard for exchanging authentication and authorization information between different ... Database Programming Techniques of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    What are the authentication modes in ASP.NET for security?...
asked Apr 7, 2021 in Education by JackTerrance
0 votes
    How do I redirect to another route without a hard refresh? I created an ionic / angular app for ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I have a behat+mink scenario where a step visits a URL (mink), and the controller puts something ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    So I am trying to creating simple Login Page with help of the Spring Boot and Security. So what I ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I have implemented Spring Security in my application. I have used default implementation, i.e., I have ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    How Is Spring Security Implemented In a Spring Boot Application?...
asked Nov 15, 2020 in Technology by Editorial Staff
0 votes
    The one that ships with IDEA is nothing more than a GWT project creation tool. Is there a better ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    The one that ships with IDEA is nothing more than a GWT project creation tool. Is there a better ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    The one that ships with IDEA is nothing more than a GWT project creation tool. Is there a better ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    I am able to create and run a simple GWT application by creating all the files myself. It works ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 20, 2022 in Education by JackTerrance
0 votes
    I understand that if the gwt application needs to support multiple locale values, all of them should be ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 11, 2022 in Education by JackTerrance
...