-
1. Re: Portal Login
soshah Aug 25, 2006 2:25 PM (in response to jkoek)Jeroen-
The Tomcat Form Authenticator uses the Login Page location configured during its configuration in the web.xml. Thats why it looks like Tomcat is complaining.
If you want to integrate/swap different LoginModule implementations, you should be able to do it in the jboss-portal.sar/conf/login-config.xml
Thanks
Sohil -
2. Re: Portal Login
nhatnam Aug 27, 2006 10:54 PM (in response to jkoek)Hi all,
I'm very new to JbossPortal. I've deployed jboss-portal.sar and installed MySQL database named "jbossportal". Now i can run the homepage of the Portal but i couldn't login. It reported "Invalid user login". I checked there's no user in table "jbp_users".
Could u tell me where to check the user existed? The default user "admin" was not accepted.
Thankyou. -
3. Re: Portal Login
peterj Aug 28, 2006 11:46 AM (in response to jkoek)nhatanm, please see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967854
-
4. Re: Portal Login
jkoek Sep 6, 2006 2:31 AM (in response to jkoek)Sorry for my late response.
But I don't want to inject a different LoginModule.
I want to use the default LoginModule.
My deployment may not be portal specific.
So I want to call the /portal/j_security_check from within my own portlet.
Jeroen. -
5. Re: Portal Login
halversp Sep 7, 2006 2:32 PM (in response to jkoek)I want to call the /portal/j_security_check from within my own portlet.
You can't. "j_security_check" is not a real URL, but a magic bullet which only the underlying web app server (e.g. Tomcat) is allowed to fire or catch, part of the J2EE form-login spec. As far as I know the only way to initiate a forms-based login is to force a redirect to a protected URL, triggering the app server's login protocol implicitly. I'd settle for a proprietary hook into tomcat just to do it manually, but I've not found such a call.
p -
6. Re: Portal Login
shareme Sep 10, 2006 4:54 PM (in response to jkoek)Hello,
Originally I was using MySQL5 mis confugred ie was not in strict mode however my data soruce was not correct and thus got could not create tables first time..
So I than corrrect the datasource and restarted with could not log in as user or admin..
SO I than stopped server and deleted default/tmp, default,data, default/log, and default work with the same results of not being able to log in with user/user or admin/admin..
I did a Mysqladmin check and yes the user table is at zero..
My solution is to create a new db and pint my JBossPortal bundled install to that db and thus problem solved..
Thus I guess the answer to org thread should be if originally deployed wrong using MYSQL5 ie the my.ini or the datasource was incorrect than you need to create a new db or re-create org db and than restart server to fix admin/admin user/user login problems. -
7. Re: Portal Login
damchy Sep 15, 2006 7:22 AM (in response to jkoek)I have the same problem as jkoek and I have one question!?
Is it possible to make own login portlet on the same way as originally login.jsp?
I try this http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin , but POST
method doesn't work. No username and password are POSTED to originally login.jsp .Why?
Can somebody help me please, how to do own login portlet. -
-
9. Re: Portal Login
gersonjohan Aug 1, 2007 1:12 PM (in response to jkoek)
hello damchy I have the same problem as you in jboss portal 2.6. It seems that session is erased before arriving at login.jsp.
You could solve the problem?
Thanks,
Gerson Samaniego