Results 1 to 1 of 1
- 01-28-2010, 02:46 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 1
- Rep Power
- 0
JDBCrealm FORM based problem. But BASIC working perfectly alright!
Hello,
I successfully configured Glassfish to work with JDBCrealm using Basic Auth. But it's not working for Jsp page. My jsp page is simple using j_security_check and j_username and j_password. It throws me to UnAuthorizedAccess page (login error page). It's strange that it's working for basic auth and not for form based. What can be potential problem can anybody tell?
Also the structure of JDBCrealm table requirement is so ugly, i mean why is it so unnormalized? what if i want to change the structure? like
Users(Userid int, Username varchar(50), Userpassword varchar(50))
Roles(Roleid int, Rolename varchar(20))
UsersXRoles(UsersXRolesId int, UserId int, RoleId int)
??How should i configure this now?
Thanks in advance :)
Similar Threads
-
Form Based Authentication fails with unicode characters
By davesquire in forum Java ServletReplies: 1Last Post: 09-25-2009, 06:00 PM -
Form based authentication
By Mrs. Deswal in forum NetworkingReplies: 1Last Post: 07-01-2009, 08:05 AM -
Form Based Authentication
By archmisha in forum Java ServletReplies: 1Last Post: 02-06-2009, 10:27 AM -
Java mail problem(working in intranet,but not working in iternet)
By sundarjothi in forum Advanced JavaReplies: 8Last Post: 05-28-2008, 07:00 AM -
how to search xml file data based on the given keyword from html form?
By nicemothi in forum XMLReplies: 0Last Post: 04-04-2008, 09:36 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks