Re: getting the basic auth-name

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 UTC