senton9999 Posted September 4, 2006 Share Posted September 4, 2006 I implemented an authenticationprovider and an authentication service.The provider basically ignores all authentication checks as a first step and the service generates a user with predefined roles from the request. So far so good, the jasper server now accepts the login, also it writes that the user is authenticated but the forward to the main page still does not work, it still is stuck in the login page. The affect server log says: WARN LoggerListener,http-8080-Processor25:55 - Authentication event InteractiveAuthenticationSuccessEvent: lexow; details: org.acegisecurity.ui.WebAuthenticationDetails@fffc7f0c: RemoteIpAddress: 127.0.0.1; SessionId: 9C0EB6BDE4FB115FFE87811F5BADD8BA16:30:05,238 WARN UserAuthorityServiceImpl,http-8080-Processor25:500 - Added following external roles to: lexowROLE_ANONYMOUSROLE_USER 16:30:05,247 WARN UserAuthorityServiceImpl,http-8080-Processor25:536 - Updated user: lexow. Roles are now:ROLE_USERROLE_ANONYMOUSROLE_ADMINISTRATOR 16:30:05,292 WARN UserAuthorityServiceImpl,http-8080-Processor25:542 - Updated user: lexow. Roles are now:ROLE_USERROLE_ANONYMOUSROLE_ADMINISTRATOR Well as it seems the server accepts the authentication for the foreign datasources now, but does not do anything afterwards. Is it possible that i forgot to change something in the config-files? Attached are the two source files, the authentication provider and the userDetailService: (packed zip file due to upload restrictions) thx for every advice! [file name=provider-075fed1dfead4ed37e5c8139b07e342f.zip size=3041]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/provider-075fed1dfead4ed37e5c8139b07e342f.zip[/file] Link to comment Share on other sites More sharing options...
senton9999 Posted September 7, 2006 Author Share Posted September 7, 2006 Anyone an idea?? thx in advance! Link to comment Share on other sites More sharing options...
vsoneta Posted May 5, 2009 Share Posted May 5, 2009 Did you ever get this working.. I am having the same issue.. I am getting the username and password (using JAAS) on to the login page.. but not going to the mainpage... Please let me know what did you do... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now