[jboss-user] [JBoss Portal] New message: "Why does Portal setup with a custom login still require an entry in JBP_USERS?"
Iain Millar
do-not-reply at jboss.com
Thu Mar 18 05:34:15 EDT 2010
User development,
A new message was posted in the thread "Why does Portal setup with a custom login still require an entry in JBP_USERS?":
http://community.jboss.org/message/532739#532739
Author : Iain Millar
Profile : http://community.jboss.org/people/IainMillar
Message:
--------------------------------------------------------------
Hi,
I've setup JBOSS Portal to use my own authentication policy which points to my own database scheme with username and passwords.
My issue is that I still get a "HTTP Status 500 - No authenticated user" error when trying to access the dashboard (after "sucessfully" logging in with user details from the custom schema). If I put a corresponding entry in the JBP_USERS table with the same username then I can access the dashboard (the entry doesn't require a password, the username just needs to be set to allow me access).
I know that the custom authentication policy is being used successfully because even with the entry in JBP_USERS I wasn't able to access the dashbopard until I setup the "Authenticated" role for my users in the custom schema (so I know it's using the roles from that schema).
Can anyone suggest a reason why this entry is still required in JBP_USERS even thought the custom schema and authentication policy are being used? I'm assuming the portal code is taking the username from the session (after the successful login) and trying to match it to it's own database for some reason but I'm not sure why it should be doing this.
Any help would be greatly appreciated.
Iain.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532739#532739
More information about the jboss-user
mailing list