Re: Apache + PAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 26, 2001 at 03:28:09AM +0000, fabiogil@linuxbr.com.br wrote:
> Problem: After authentication of login, in case that login will
> be validates, the aplication web needs to know of User ID (username)
> that he was typed. Somebody would know to say me as
> should get this information of the apache, using the Java language?

Use
	String username = request.getRemoteUser();

inside your JSP.

It will return null when the user is not authenticated and the
authenticated name otherwise. Please see the API documentation for
HttpServletRequest for more information.

Ingo





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux