Package er.examples.erjaxws.ws

Examples of er.examples.erjaxws.ws.StatefulAction.authenticate()


    /* setting this property is essential for enabling stateful mode in our client proxy
     * after setting this, session cookies will be passed to the server on subsequent
     * requests */
    ((BindingProvider) sAction).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);

    sAction.authenticate("name", "password");
    serverOutput = sAction.testAction("test");
   
    return null;
  }
 
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.