struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon.Ridgway" <Jon.Ridg...@upco.co.uk>
Subject RE: How to do 'isUserInRole(unauthenticated)'?
Date Wed, 24 Apr 2002 10:31:08 GMT
Hi,

One way to ascertain if a user has not logged in is to call
request.getUserPrincipal (), if this is null the user has not yet logged in.

Jon.

-----Original Message-----
From: jfc100 [mailto:jfc100@btopenworld.com] 
Sent: 24 April 2002 12:08
To: Struts-User
Subject: How to do 'isUserInRole(unauthenticated)'?

Hi,

Is it possible to determine by calling isUserInRole('unauthenticated'), 
where 'unauthenticated' is an identifier of the anonymous (i.e. the 
not-logged-in) user?

Joe


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message