cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: Cocoon and security
Date Tue, 13 May 2003 16:26:49 GMT
Stephan Michels wrote:
> On Tue, 13 May 2003, Chris Pratt wrote:
>>Am I missing something....all I want to do is check who is loged in at the
>>start of the site and then send them to one of two places.
>>is the user name sent as a parameter? then i could check that.
>>but this all seems too hard?
> As I said, a simple selector should fulfill your needs.


> If you want the username instead, test for request.getUserPrincipal()

Which can be accessed through {request:getUserPrincipal}
There's no selector to use with InputModules, but some Matchers
are shipped that can be configured to use them. It's not as nice
as a selector but can be used for similar purposes.


C h r i s t i a n       H a u l
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message