Results 1 to 1 of 1
- 01-28-2010, 02:46 AM #1Member
- Join Date
- Jan 2010
- Rep Power
JDBCrealm FORM based problem. But BASIC working perfectly alright!
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 :)
- By davesquire in forum Java ServletReplies: 1Last Post: 09-25-2009, 06:00 PM
- By Mrs. Deswal in forum NetworkingReplies: 1Last Post: 07-01-2009, 08:05 AM
- By archmisha in forum Java ServletReplies: 1Last Post: 02-06-2009, 10:27 AM
- By sundarjothi in forum Advanced JavaReplies: 8Last Post: 05-28-2008, 07:00 AM
- By nicemothi in forum XMLReplies: 0Last Post: 04-04-2008, 09:36 AM