Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 70635 invoked from network); 9 Mar 2005 15:41:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 15:41:11 -0000 Received: (qmail 22878 invoked by uid 500); 9 Mar 2005 15:40:56 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 22776 invoked by uid 500); 9 Mar 2005 15:40:55 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list general@ws.apache.org Received: (qmail 22738 invoked by uid 500); 9 Mar 2005 15:40:55 -0000 Delivered-To: apmail-ws-site-cvs@apache.org Received: (qmail 22710 invoked by uid 99); 9 Mar 2005 15:40:55 -0000 X-ASF-Spam-Status: No, hits=-9.6 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 09 Mar 2005 07:40:52 -0800 Received: (qmail 70229 invoked by uid 1203); 9 Mar 2005 15:40:50 -0000 Date: 9 Mar 2005 15:40:50 -0000 Message-ID: <20050309154050.70228.qmail@minotaur.apache.org> From: dims@apache.org To: ws-site-cvs@apache.org Subject: cvs commit: ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util AxisUtil.html package-frame.html package-summary.html package-tree.html package-use.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dims 2005/03/09 07:40:50 Added: targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util AxisUtil.html package-frame.html package-summary.html package-tree.html package-use.html Log: Update WSS4J web site. Revision Changes Path 1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util/AxisUtil.html Index: AxisUtil.html =================================================================== AxisUtil (Apache WSS4J 1.0 API)

org.apache.ws.axis.security.util
Class AxisUtil

  java.lang.Object
    extended byorg.apache.ws.axis.security.util.AxisUtil
  

public class AxisUtil
extends java.lang.Object

Axis Utility methods.

Author:
Davanum Srinivas (dims@yahoo.com).

Constructor Summary
AxisUtil()
           
 
Method Summary
static int decodeAction(java.lang.String action, java.util.Vector actions)
          Returns first WS-Security header for a given actor.
static javax.xml.soap.SOAPMessage toSOAPMessage(org.w3c.dom.Document doc)
          Convert a DOM Document into a soap message.
static javax.xml.soap.SOAPMessage updateSOAPMessage(org.w3c.dom.Document doc, javax.xml.soap.SOAPMessage message)
          Update soap message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisUtil

  public AxisUtil()
Method Detail

toSOAPMessage

  public static javax.xml.soap.SOAPMessage toSOAPMessage(org.w3c.dom.Document doc)
                                                  throws java.lang.Exception
Convert a DOM Document into a soap message.

Parameters:
doc -
Returns:
Throws:
java.lang.Exception

updateSOAPMessage

  public static javax.xml.soap.SOAPMessage updateSOAPMessage(org.w3c.dom.Document doc,
                                                             javax.xml.soap.SOAPMessage message)
                                                      throws java.lang.Exception
Update soap message.

Parameters:
doc -
message -
Returns:
Throws:
java.lang.Exception

decodeAction

  public static int decodeAction(java.lang.String action,
                                 java.util.Vector actions)
                          throws org.apache.axis.AxisFault
Returns first WS-Security header for a given actor. Only one WS-Security header is allowed for an actor.

Returns:
Throws:
javax.xml.soap.SOAPException - public static SOAPHeaderElement getSecurityHeader( SOAPEnvelope env, String actor) throws SOAPException { SOAPHeader header = env.getHeader(); if (header == null) { return null; } Iterator headerElements = header.examineHeaderElements(actor); while (headerElements.hasNext()) { SOAPHeaderElement he = (SOAPHeaderElement) headerElements.next(); Name nm = he.getElementName();

// find ws-security header if (nm.getLocalName().equalsIgnoreCase(WSConstants.WSSE_LN) && nm.getURI().equalsIgnoreCase(WSConstants.WSSE_NS)) { return he; } } return null; }

org.apache.axis.AxisFault


Copyright © 2004-2005 Apache Web Services. All Rights Reserved. 1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util/package-frame.html Index: package-frame.html =================================================================== org.apache.ws.axis.security.util (Apache WSS4J 1.0 API) org.apache.ws.axis.security.util
Classes 
AxisUtil
1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util/package-summary.html Index: package-summary.html =================================================================== org.apache.ws.axis.security.util (Apache WSS4J 1.0 API)

Package org.apache.ws.axis.security.util

Class Summary
AxisUtil Axis Utility methods.
 



Copyright © 2004-2005 Apache Web Services. All Rights Reserved. 1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util/package-tree.html Index: package-tree.html =================================================================== org.apache.ws.axis.security.util Class Hierarchy (Apache WSS4J 1.0 API)

Hierarchy For Package org.apache.ws.axis.security.util

Package Hierarchies:
All Packages

Class Hierarchy

  • class java.lang.Object
    • class org.apache.ws.axis.security.util.AxisUtil


Copyright © 2004-2005 Apache Web Services. All Rights Reserved. 1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/util/package-use.html Index: package-use.html =================================================================== Uses of Package org.apache.ws.axis.security.util (Apache WSS4J 1.0 API)

Uses of Package
org.apache.ws.axis.security.util

No usage of org.apache.ws.axis.security.util



Copyright © 2004-2005 Apache Web Services. All Rights Reserved.