nothing to do! i read again only two null strings...
it's really strange!
in the jsp is simple: i need only this:
*request.getRemoteUser(),request.getRemoteAddr()
*
and seem to be simple even in wicket... only one right of code... but...
why doesn't httpservletrequest give me the right values?


Luca

2009/1/22 James Carman <[email protected]>

> Right, just use the servlet API for this one (and Igor's pointing out
> how to get to the API below)
>
> On Thu, Jan 22, 2009 at 11:42 AM, Igor Vaynberg <[email protected]>
> wrote:
> > servlethttprequest
> > r=((webrequest)getrequestcycle().getrequest()).gethttpservletrequest();
> >
> > -igor
> >
> > On Thu, Jan 22, 2009 at 8:40 AM, Luca Provenzani <[email protected]>
> wrote:
> >> my application works on an apache-tomcat server. And on this server my
> >> client has his authentication system that is similar to the Apache Basic
> >> Authentication. Than, i need to read remoteUser that contains the id of
> the
> >> user.
> >>
> >> thank you for your attention
> >>
> >> Luca
> >>
> >> 2009/1/22 Bert <[email protected]>
> >>
> >>> On Wed, Jan 21, 2009 at 14:37, Luca Provenzani <[email protected]>
> wrote:
> >>> > Thank You for answer Bert
> >>> >
> >>> > I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm
> for
> >>> > Italy ;-), because now i'm working for an other project).
> >>> that would be the same timezone as me (germany)
> >>>
> >>> > but...
> >>> >  i need to retrieve the authenticated remoteUser, not the UserAgent,
> how
> >>> can
> >>> > i do this?
> >>>
> >>> what do you mean with remoteUser? the Authentification the user has on
> his
> >>> PC?
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>>
> >>>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to