David,

Thanks for your reply. Can you please elaborate your answer. I could create
the user in jetspeed using my own portlet and invoking PortalAdministration.
However, I would like to check the validate the user existence by myself
before the portal validates the login. I think this could be done by
implement valves. In separate thread, i am working with Ron on valves but
still i have few questions around working with valves. Please kindly look
into this thread. 

http://old.nabble.com/session-listener-not-working-td30239157.html

====================
 PortalAdministration pam = (PortalAdministration)
portletContext.getAttribute(CommonPortletServices.CPS_PORTAL_ADMINISTRATION);
                        UserManager usermgr = (UserManager)
portletContext.getAttribute(CommonPortletServices.CPS_USER_MANAGER_COMPONENT);
                                      usermgr.addUser(.....)
======================

Thanks for your time again.

Regards,
Srini.


David Taylor-23 wrote:
> 
> On Wed, Nov 17, 2010 at 2:46 PM, SriniPitta <[email protected]>
> wrote:
>>
>> Hi,
>>
>> If the user is not registered in jetspeed database I want to perform an
>> additional functionality and create the user in jetspeed portal with the
>> provided username and password.
>>
> Have you had a look at the User Registration portlet - it should do
> what you need
> 
> 
>> for example, if 'user A' is registered in jetspeed, 'user A' should be
>> allowed to login into Portal. If 'user B' is not registered and if 'user
>> B'
>> attempts to login into portal, i need to know that 'user B' does not
>> exist
>> in portal and need to perform an additional functionality and finally
>> should
>> create the 'user B' in portal database.
>>
>> As i see that 'j2-admin::LoginPortlet' is handling the jetspeed default
>> login functionality how can i tailor this to suit my requirement. Can i
>> have
>> a filter so that it invokes my filter and checks the user existence in
>> jetspeed database ? If yes, please do let me know how i could add this
>> filter before it invokes the default login portlet.
>>
>> Thanks,
>> Srini.
>> --
>> View this message in context:
>> http://old.nabble.com/Extending-existing-jetspeed-login-portlet-functionality-tp30239155p30239155.html
>> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 
> 
> -- 
> David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Extending-existing-jetspeed-login-portlet-functionality-tp30239155p30279802.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to