[JBoss Portal] - Re: About JBoss Portal 2.6 ...
by thomas.heute@jboss.com
The user management is basically divided into 2 parts, a user service that takes care of storing user properties and the interface itself (the user portlet).
What you can do is just work on the portlet that communicates with the service. You wouldn't have to touch the service itself.
Of course you can use the existing portlet as a start and modify the existing one.
It's flexible so you can drop part of the portal without afffecting the other components. (you can disable the embedded user portlet and add your own, you could also replace the user management service if you don't like it)
Output for final users rely in portlets and themes, you can keep the portal framework, add your own portlets and layout/theme without having to recompile the sources.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050295#4050295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050295
17 years, 6 months
[Beginners Corner] - Re: Doubts about the authenticaton process
by Marcos_APS
"PeterJ" wrote : The easiest, and correct, way to do what you want to do is write your own login module, hence my reason for pointing you to a prior discussion of this topic (if you look carefully at that topic, that user also had encrypted password in the database and thus could not use the DatabaseServerLoginModule to perform the login and had to write his own login module). The DatabaseServerLoginModule should provide you with a reasonable template (or you could subclass it) within which you can do your own work to validate the user and return the collection of roles.
I agree with you, Peter and that's exactly what I'm going to do. But there's a part of my doubt that is a little more simple: if I use j_security_check and name my input texts in the login page j_username and j_password, will JBoss pass these values to my own login module? If so, I'm done.
Thank you.
Marcos
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050293#4050293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050293
17 years, 6 months