Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 30594 invoked from network); 9 Mar 2005 15:21:51 -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:21:51 -0000 Received: (qmail 24354 invoked by uid 500); 9 Mar 2005 15:21:50 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 24301 invoked by uid 500); 9 Mar 2005 15:21:50 -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 24288 invoked by uid 500); 9 Mar 2005 15:21:50 -0000 Delivered-To: apmail-ws-site-cvs@apache.org Received: (qmail 24285 invoked by uid 99); 9 Mar 2005 15:21:50 -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:21:48 -0800 Received: (qmail 30559 invoked by uid 1203); 9 Mar 2005 15:21:47 -0000 Date: 9 Mar 2005 15:21:47 -0000 Message-ID: <20050309152147.30558.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/trust package-frame.html package-summary.html package-tree.html package-use.html STSAgent.html STSAgentAddressingConfiguration.html STSServerHandler.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dims 2005/03/09 07:21:47 Added: targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/trust package-frame.html package-summary.html package-tree.html package-use.html STSAgent.html STSAgentAddressingConfiguration.html STSServerHandler.html Log: Update WSS4J web site. Revision Changes Path 1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/trust/package-frame.html Index: package-frame.html =================================================================== org.apache.ws.axis.security.trust (Apache WSS4J 1.0 API) org.apache.ws.axis.security.trust
Classes 
STSAgent
STSAgentAddressingConfiguration
STSServerHandler
1.1 ws-site/targets/ws-fx/wss4j/docs/apidocs/org/apache/ws/axis/security/trust/package-summary.html Index: package-summary.html =================================================================== org.apache.ws.axis.security.trust (Apache WSS4J 1.0 API)

Package org.apache.ws.axis.security.trust

Class Summary
STSAgent  
STSAgentAddressingConfiguration This is used to provide the addressing headers required by the STSAgent
STSServerHandler  
 



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

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

Package Hierarchies:
All Packages

Class Hierarchy

  • class java.lang.Object


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

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

Packages that use org.apache.ws.axis.security.trust
org.apache.ws.axis.security.trust   
 

Classes in org.apache.ws.axis.security.trust used by org.apache.ws.axis.security.trust
STSAgentAddressingConfiguration
          This is used to provide the addressing headers required by the STSAgent
 



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

org.apache.ws.axis.security.trust
Class STSAgent

  java.lang.Object
    extended byorg.apache.ws.axis.security.trust.STSAgent
  

public class STSAgent
extends java.lang.Object

Author:
Malinda Kaushalye, Ruchith (ruchith.fernando@gmail.com) STSAgent is an axis specific component resides in the client side to request a token. The main task is to act as an Agent on behalf of the STS.

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
STSAgent(java.lang.String url, java.util.Hashtable senderOptions, java.util.Hashtable receiverOptions)
          Agent initialization without addressing support I don't think this will be used at all :-?
STSAgent(java.lang.String url, java.util.Hashtable senderOptions, java.util.Hashtable receiverOptions, STSAgentAddressingConfiguration addConfig)
          Agent initialization
 
Method Summary
 org.w3c.dom.Document getDoc()
           
 org.apache.axis.message.SOAPEnvelope getEnv()
           
 RequestSecurityToken getReqSecTok()
           
 java.lang.String getUrl()
          to retrieve the endpoint url of the agent
 org.w3c.dom.Element request()
          request call Thank goes to David Del Vecchio for giving his code(=>idea)
 void setAnyElement(org.w3c.dom.Element element)
          Use this method to add any element to the request
 void setEnv(org.apache.axis.message.SOAPEnvelope e)
           
 void setReqSecTok(RequestSecurityToken reqSecTok)
           
 void setRequestTypeElement(java.lang.String value)
          Sets request type element
 void setTokenTypeElement(java.lang.String value)
          Sets token type element
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

  static org.apache.commons.logging.Log log
Constructor Detail

STSAgent

  public STSAgent(java.lang.String url,
                  java.util.Hashtable senderOptions,
                  java.util.Hashtable receiverOptions,
                  STSAgentAddressingConfiguration addConfig)
           throws javax.xml.rpc.ServiceException,
                  java.net.MalformedURLException,
                  java.lang.Exception
Agent initialization

Parameters:
url - Endpoint Address
senderOptions - WSDoAllSender options
addConfig - Addressing configuration for the STSAgent
Throws:
javax.xml.rpc.ServiceException
java.net.MalformedURLException
java.lang.Exception
See Also:
WSDoAllReceiver, WSDoAllSender, STSAgentAddressingConfiguration

STSAgent

  public STSAgent(java.lang.String url,
                  java.util.Hashtable senderOptions,
                  java.util.Hashtable receiverOptions)
           throws javax.xml.rpc.ServiceException,
                  java.net.MalformedURLException,
                  java.lang.Exception
Agent initialization without addressing support I don't think this will be used at all :-?

Parameters:
url -
senderOptions -
receiverOptions -
Throws:
javax.xml.rpc.ServiceException
java.net.MalformedURLException
java.lang.Exception
Method Detail

setTokenTypeElement

  public void setTokenTypeElement(java.lang.String value)
Sets token type element

Parameters:
value -

setRequestTypeElement

  public void setRequestTypeElement(java.lang.String value)
Sets request type element

Parameters:
value -

setAnyElement

  public void setAnyElement(org.w3c.dom.Element element)
Use this method to add any element to the request

Parameters:
element -

request

  public org.w3c.dom.Element request()
                              throws org.apache.axis.AxisFault,
                                     java.lang.Exception
request call Thank goes to David Del Vecchio for giving his code(=>idea)

Returns:
Throws:
org.apache.axis.AxisFault
java.lang.Exception

getDoc

  public org.w3c.dom.Document getDoc()

getEnv

  public org.apache.axis.message.SOAPEnvelope getEnv()

setEnv

  public void setEnv(org.apache.axis.message.SOAPEnvelope e)
              throws java.lang.Exception
Throws:
java.lang.Exception

getReqSecTok

  public RequestSecurityToken getReqSecTok()

setReqSecTok

  public void setReqSecTok(RequestSecurityToken reqSecTok)

getUrl

  public java.lang.String getUrl()
to retrieve the endpoint url of the agent

Returns:

setUrl

  public void setUrl(java.lang.String url)


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

org.apache.ws.axis.security.trust
Class STSAgentAddressingConfiguration

  java.lang.Object
    extended byorg.apache.ws.axis.security.trust.STSAgentAddressingConfiguration
  

public class STSAgentAddressingConfiguration
extends java.lang.Object

This is used to provide the addressing headers required by the STSAgent

Author:
Ruchith

Constructor Summary
STSAgentAddressingConfiguration()
           
 
Method Summary
 org.apache.axis.message.addressing.AddressingHeaders getHeaders()
          Return the configured addressing headers
 void setAction(java.lang.String actionUri)
          Set the action URI
 void setFaultTo(java.lang.String endpoint)
          Set the from EPR
 void setFrom(java.lang.String endpoint)
          SEt the from EPR
 void setRepyTo(java.lang.String endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STSAgentAddressingConfiguration

  public STSAgentAddressingConfiguration()
Method Detail

setAction

  public void setAction(java.lang.String actionUri)
                 throws org.apache.axis.types.URI.MalformedURIException
Set the action URI

Parameters:
actionUri -
Throws:
MalformedURIException
org.apache.axis.types.URI.MalformedURIException

setFrom

  public void setFrom(java.lang.String endpoint)
               throws org.apache.axis.types.URI.MalformedURIException
SEt the from EPR

Parameters:
endpoint -
Throws:
MalformedURIException
org.apache.axis.types.URI.MalformedURIException

setFaultTo

  public void setFaultTo(java.lang.String endpoint)
                  throws org.apache.axis.types.URI.MalformedURIException
Set the from EPR

Parameters:
endpoint -
Throws:
MalformedURIException
org.apache.axis.types.URI.MalformedURIException

getHeaders

  public org.apache.axis.message.addressing.AddressingHeaders getHeaders()
Return the configured addressing headers

Returns:

setRepyTo

  public void setRepyTo(java.lang.String endpoint)
                 throws org.apache.axis.types.URI.MalformedURIException
Throws:
org.apache.axis.types.URI.MalformedURIException


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

org.apache.ws.axis.security.trust
Class STSServerHandler

  java.lang.Object
    extended byorg.apache.axis.handlers.BasicHandler
        extended byorg.apache.ws.axis.security.trust.STSServerHandler
  
All Implemented Interfaces:
org.apache.axis.Handler, java.io.Serializable

public class STSServerHandler
extends org.apache.axis.handlers.BasicHandler

Author:
Malinda Kaushalye

STSServerHandler is a handler which resides in the response path of the Security Token Service end. STSServerHandler currently performs following tasks

  • Get the request from the message context
  • Create an STSManager and handover the task to be carried out.
  • Get the resulted SOAP enevelop from STSManager
  • Set the current message of the message context
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
STSServerHandler()
           
 
Method Summary
 void invoke(org.apache.axis.MessageContext msgCntxt)
          Invoke method of handler
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

  static org.apache.commons.logging.Log log
Constructor Detail

STSServerHandler

  public STSServerHandler()
Method Detail

invoke

  public void invoke(org.apache.axis.MessageContext msgCntxt)
              throws org.apache.axis.AxisFault
Invoke method of handler

Throws:
org.apache.axis.AxisFault


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