Package org.apache.ws.security.trust

Examples of org.apache.ws.security.trust.STSManager.handleRequest()


           
            //creates an STSManager and handover server-config.wsdd parameters in a hash table
            log.debug("STSServerHandler: calling STSManager");
            STSManager stsMgr =
                    new STSManager(this.getOptions());
            docRes = stsMgr.handleRequest(docReq, docRes);
            log.debug("STSServerHandler: STSManager has done the job");
            ByteArrayOutputStream os = new ByteArrayOutputStream();
            XMLUtils.outputDOM(docRes, os, true);
            //modify the current message
            sPartRes.setCurrentMessage(os.toByteArray(), SOAPPart.FORM_BYTES);           
View Full Code Here


              docReq = ((SOAPEnvelope) sPartReq.getEnvelope()).getAsDocument();
              docRes = ((SOAPEnvelope) sPartRes.getEnvelope()).getAsDocument();

              STSManager stsMgr =
                      new STSManager(this.options);
              docRes = stsMgr.handleRequest(docReq, docRes);
//              log.debug("STSServerHandler: STSManager has done the job");
              ByteArrayOutputStream os = new ByteArrayOutputStream();
              XMLUtils.outputDOM(docRes, os, true);
              //modify the current message
              sPartRes.setCurrentMessage(os.toByteArray(), SOAPPart.FORM_BYTES);  
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.