cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Rocha" <rica...@apache.org>
Subject RE: [vote] extend FOM_Request with remoteUser
Date Tue, 08 Jul 2003 16:28:29 GMT
> I'd like to propose an extension to the FOM_Request class 
> with the property 'remoteUser'.

+1, your use case depicts a valid scenario



> Use case
> --------
> The servlet container is configured for 'basic 
> authentication'. The Flow script needs the login name to map 
> it to a User object.
> 
> Alternative
> -----------
> Use Input Module to pass the remoteUser to the Flow script
> 
> Rational
> --------
> I see it as a often used pattern to map a login name to a 
> user object. I don't see why a Flow script shouldn't have 
> access to the Requests getRemoteUser method directly through the FOM.
> 
> My vote is +1 to add the remoteUser property to the FOM_Request class.
> 
> Giacomo
> 
> BTW: I have the changes ready to be committed on my HD ;-)
> 


Mime
View raw message