I have not set any default-target url. I had it before but then Spring Security redirected me to the default-target url everytime I logged in. But I want that the user stays on the page where the...
Type: Posts; User: bennyn; Keyword(s):
I have not set any default-target url. I had it before but then Spring Security redirected me to the default-target url everytime I logged in. But I want that the user stays on the page where the...
Today I played a bit around with securing my webpages. If want to access http://localhost:8080/ksw/page then Spring Security blocks me and wants me to login (yeah!). After a successful login, Spring...
You are fantastic! Logout seems to work now. :)
My urlrewrite.xml is:
To secure http://localhost:8080/ksw/page I have to write this in my applicationContext-security.xml:
If I access...
I use version 3.2. With your configuration the Login works now!
I had to change the form action url in my login.jsp from:
To:
The only things which are not working yet is the "Logout" and...
Ok, I did this but then my GlassFish v3 application server claims:
Here is my login.jsp:
And some lines from my applicationContext-security.xml:
Maybe you can see an error in it... I'm...
Hi __dev18 and eggsy84. Thank you very much for your help!
With your advice I have made it. :)
But there is still a problem.
My application context path is /ksw and is deployed to...
I also have some problems to get Spring Security work with Spring 3 and Tuckey 3.0.4.
Here is my: web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0"...
I now use the following applicationContext-security.xml which works:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
...
Hey, you're right. I had to extract the "aspectj-1.5.4.jar" to get "aspectjrt.jar" and "aspectjweaver.jar".
After I added the "aspectjweaver.jar" to my Libraries the "Class not found"-error has...
Hi,
I've got a working Spring Web MVC application and now I want to implement Spring Security for protected websites.
For the applicationContext-security.xml I use the following code:
...