ruchithf    2005/06/13 03:16:24

  Modified:    wss4j/src/org/apache/ws/axis/security/trust STSAgent.java
  Log:
  Updating the WS-Trust ...message.token.* stuff
  
  Revision  Changes    Path
  1.4       +1 -21     
ws-fx/wss4j/src/org/apache/ws/axis/security/trust/STSAgent.java
  
  Index: STSAgent.java
  ===================================================================
  RCS file: 
/home/cvs/ws-fx/wss4j/src/org/apache/ws/axis/security/trust/STSAgent.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- STSAgent.java     1 Jun 2005 10:54:49 -0000       1.3
  +++ STSAgent.java     13 Jun 2005 10:16:24 -0000      1.4
  @@ -36,8 +36,6 @@
   import org.apache.ws.axis.security.WSDoAllReceiver;
   import org.apache.ws.axis.security.WSDoAllSender;
   import org.apache.ws.security.trust.message.token.RequestSecurityToken;
  -import org.apache.ws.security.trust.message.token.RequestType;
  -import org.apache.ws.security.trust.message.token.TokenType;
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
   
  @@ -117,7 +115,7 @@
                log.debug("Endpoint Address : "+url);
                env = new SOAPEnvelope();
                doc = env.getAsDocument();
  -             reqSecTok=new RequestSecurityToken(doc);
  +             //reqSecTok=new RequestSecurityToken(doc);
       }
       
   
  @@ -136,24 +134,6 @@
       }
       
       /**
  -     * Sets token type element
  -     * @param value
  -     */
  -    public void setTokenTypeElement(String value){
  -        TokenType tokenType=new TokenType(this.doc);
  -        tokenType.setValue(value);
  -        this.reqSecTok.addToken(tokenType.getElement());
  -    }
  -    /**
  -     * Sets request type element
  -     * @param value
  -     */
  -    public void setRequestTypeElement(String value){
  -        RequestType requestType=new RequestType(this.doc);
  -        requestType.setValue(value);
  -        this.reqSecTok.addToken(requestType.getElement());
  -    }
  -    /**
        * Use this method to add any element to the request
        * @param element
        */
  
  
  

Reply via email to