-----Ursprüngliche Nachricht-----
Von: Saravanan Markandeyan [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 16. Dezember 2002 18:53
An: '[EMAIL PROTECTED]'
Betreff: REPOST: Exception in MessageContext.getOperation (Help pleaseeee)
I am trying to authorize users on a per-method-call basis.
Basically, to check for user credentials before allowing a
particular call to proceed. I do this in a handler. I have a
handler set up which performs authentication. What I
also need to do is find the method name so that I can
figure out whether or not the method that was called is something
that this user is allowed to call. I tried the MessageContext.getOperation(),
for some reason it always returns a null. I also checked the axis users mailing list,
someone had this problem earlier and also, there was a solution that
was posted which involved performing operations on the SOAPEnvelope (Getting the
body and getting all the elements).http://marc.theaimsgroup.com/?l=axis-user&m=103661425524592&w=2
That is a way to do it, though, in my case,
this is something that I need to do on EVERY request. I was wondering
if anyone knows of another way to do and also if the MessageContext.getOperation()
has a BUG?Thanks in advance
-Saravanan
Title: Nachricht
Hi
Saravanan,
I am
at the same point like you are, but even not so far. But: if you know how to do
and the onmly thing that detains you from using this, is that you have to do it
on every Reaquest: Why dont you write a handler and invoke on every
request?
Greetings from Hamburg/Germany