W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

Re: getting the basic auth-name

From: Antonio Ramirez <anto@www10.w3.org>
Date: Tue, 21 Jan 1997 01:06:07 EST
Message-Id: <199701210606.BAA00272@tatanka.mit.edu>
To: www-jigsaw@www10.w3.org

You can use this:

String authuser = 
	request.getState(www.jigsaw.auth.GenericAuthFilter
				.STATE_AUTHUSER)

if(authuser == null)
  // no GenericAuthFilter behind us
else
  // use it

There are several filters that use request states to tag on this
useful information to the incoming request.


--
======================================================================
Antonio Ramirez / 450 Memorial Dr. / Cambridge, MA 02139
anto@mit.edu, anto@w3.org
Received on Tuesday, 21 January 1997 01:06:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT