This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Portals and Portlets and the fly likes disappear Login portlet after login into portal in bluenog portal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "disappear Login portlet after login into portal in bluenog portal" Watch "disappear Login portlet after login into portal in bluenog portal" New topic
Author

disappear Login portlet after login into portal in bluenog portal

balaji bobba
Greenhorn

Joined: Nov 16, 2009
Posts: 2
Hi All,

I want to disappear login portlet after logging into the bluenog portal,
Please help its very urjent
Thanks
ramesh prabhakaran
Greenhorn

Joined: Nov 29, 2009
Posts: 1
Hi Balaji,

You can edit the fragment in the .psml where the login portlet resides to include the following

This will make sure that the users who have guest constraint will see the login portlet and once they logged in, it will be hidden.

<security-constraints>
<security-constraint>
<roles>user</roles>
</security-constraint>
<security-constraints-ref>guest-only</security-constraints-ref>
</security-constraints>

Thanks
Prabha
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

prabha karan wrote:

Please check your private messages for an important administrative matter
balaji bobba
Greenhorn

Joined: Nov 16, 2009
Posts: 2
Hi prabhakaran ,

Thanks for your valueble Reply,
through portal administartor-->portlet manager i changed security contraint for login portlet is guest-only,after that login portlet is not appearing in my portal. even i am not getting login portlet before login also, now there is no login portlet in my portlet.
Can you please tell me how i will get my login portlet..?

Thanks in Advance
Balaji Bobba
 
Don't get me started about those stupid light bulbs.
 
subject: disappear Login portlet after login into portal in bluenog portal