portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: Getting a user's role in Velocity
Date Fri, 09 Jan 2004 15:27:14 GMT
Hi Boyd,

Here is a very easy approach that I use, just wrap
o.a.j.services.JetpseedSecurity in a global pull tool.

Hth,
*================================* 
| Scott T Weaver                 |
| <weaver@apache.org>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*

> -----Original Message-----
> From: Fletcher, Boyd C. J9C534 [mailto:Boyd.Fletcher@je.jfcom.mil]
> Sent: Friday, January 09, 2004 2:24 AM
> To: Jetspeed Users List; jetspeed-dev@jakarta.apache.org
> Subject: Getting a user's role in Velocity
> 
> Is there a way to test if a user is in a role in a velocity template?
> 
> something like hasRole(username,rolename).
> 
> Also is there a list of the functions and data structures availbale to
> Velocity? I.e. the $!user
> 
> thanks,
> 
> boyd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message