i tried printing out log4j debug messaging and looks like spring is not spitting out any message
my log4j.properties file looks like but i am not seeing any messages in the output
log4j.rootCategory=DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %t %c{2}:%L - %m%n
log4j.category.org.springframework=DEBUG
Thats one problem
The other problem i have is for example the first time when i go to secure page for example
http://domian:8080/era/secure/MyAccount.load.action
the request gets intercepted and i see login page, i enter my username and password and the request comes to attemptAuthentication and i see we create the correct user object with granted authority as ROLE_USER
return new org.springframework.security.core.userdetails.User(user.getEmail(),
user.getNewPassword(), notPending, true, true, notDisabled, grantedAuthcollection)
and i also see the jSESSION cookie created.
so i assume the next time when i hit the same url again
http://domian:8080/era/secure/MyAccount.load.action
it should let me go that url but its again redirecting it to login page.
i am really doubting could there be some issue with jetty working with spring security.
any advice?