AXIS provides an 'AuthenticatedUser' interface
(org.apache.axis.security.AuthenticatedUser) to represent a user that has
been successfully authenticated. The AuthenticatedUser is stored within
the MessageContext under the key org.apache.axis.MessageContext.AUTH_USER.
I would think that
MessageContext.getCurrentContext
().getProperty(MessageContext.AUTH_USER) != null
Would be an appropriate test.
HTH,
Ian
Maciek Zywno
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
et.pl> cc:
Subject: an interceptingfilter analogy in
axis ?
02/27/2004
05:48 AM
Please respond
to axis-user
hello
I have a webapp that uses filter that checks if user is logged in. How
can I implement the similar solution in axis?By means of some handler?
Could you give me any suggestions?
regards
This transmission may contain information that is privileged, confidential and/or
exempt from disclosure under applicable law. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution, or use of the
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED.
If you received this transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard copy format. Thank
you.