Package er.extensions.appserver

Examples of er.extensions.appserver.ERXWOContext


      statefulActionFaultInfo.setMessage("INVALID_LOGIN");
      throw new StatefulActionException("INVALID_LOGIN", statefulActionFaultInfo);
    };
     
        MessageContext mc = wsContext.getMessageContext();
        ERXWOContext context = (ERXWOContext) mc.get(ERWSWOHTTPConnection.ERJAXWS_ERXWOCONTEXT);
       
        ((Session)context.session()).authenticated = true;   
  }
View Full Code Here


  @Override
  @WebMethod
  public String testAction(String name) throws StatefulActionException {
        MessageContext mc = wsContext.getMessageContext();
        ERXWOContext context = (ERXWOContext) mc.get(ERWSWOHTTPConnection.ERJAXWS_ERXWOCONTEXT);
       
        if(!((Session)context.session()).authenticated)
    {
      StatefulActionFaultInfo statefulActionFaultInfo = new StatefulActionFaultInfo();
      statefulActionFaultInfo.setMessage("NOT_AUTHENTICATED");
      throw new StatefulActionException("NOT_AUTHENTICATED", statefulActionFaultInfo);
    }
View Full Code Here

TOP

Related Classes of er.extensions.appserver.ERXWOContext

Copyright © 2018 www.massapicom. 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.