Custom UserAuth - No forwarding to MainPage

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: 9C0EB6BDE4FB115FFE87811F5BADD8BA
16:30:05,238 WARN UserAuthorityServiceImpl,http-8080-Processor25:500 - Added following external roles to: lexow
ROLE_ANONYMOUS
ROLE_USER

16:30:05,247 WARN UserAuthorityServiceImpl,http-8080-Processor25:536 - Updated user: lexow. Roles are now:
ROLE_USER
ROLE_ANONYMOUS
ROLE_ADMINISTRATOR

16:30:05,292 WARN UserAuthorityServiceImpl,http-8080-Processor25:542 - Updated user: lexow. Roles are now:
ROLE_USER
ROLE_ANONYMOUS
ROLE_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 user
DetailService: (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/pro...
senton9999's picture
Joined: Aug 29 2006 - 12:12am
Last seen: 16 years 9 months ago

2 Answers:

Anyone an idea??

thx in advance!
senton9999's picture
Joined: Aug 29 2006 - 12:12am
Last seen: 16 years 9 months ago

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...

vsoneta's picture
994
Joined: Feb 4 2009 - 5:50am
Last seen: 14 years 4 months ago
Feedback