Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 93313 invoked by uid 500); 16 Dec 2002 17:52:58 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 93304 invoked from network); 16 Dec 2002 17:52:57 -0000 Message-ID: From: "Saravanan Markandeyan" To: "'axis-user@xml.apache.org'" Subject: REPOST: Exception in MessageContext.getOperation (Help pleaseeee) Date: Mon, 16 Dec 2002 11:52:49 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2A52B.F30A9910" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2A52B.F30A9910 Content-Type: text/plain > 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 > ------_=_NextPart_001_01C2A52B.F30A9910 Content-Type: text/html Content-Transfer-Encoding: quoted-printable 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=3Daxis-user&m=3D103661425524= 592&w=3D2

    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

------_=_NextPart_001_01C2A52B.F30A9910--