NOT THREAD SAFE: mutable instance variables
return this.jaxwsContextDelegate.getEndpointReference(clazz, params);
return this.jaxwsContextDelegate.getEndpointReference(params);
return this.jaxwsContextDelegate.getMessageContext();
return this.jaxwsContextDelegate.getRequestPacket();
// This could be an EJB endpoint; check the threadlocal variable WebPrincipal p = (WebPrincipal) principal.get(); if (p != null) { return p; } // This is a servlet endpoint return this.jaxwsContextDelegate.getUserPrincipal();
Switch sw = Switch.getSwitch(); InvocationManager mgr = sw.getInvocationManager(); Object o = mgr.getCurrentInvocation().getContainerContext(); if(o instanceof StatelessSessionContainer) { StatelessSessionContainer cont = (StatelessSessionContainer) o; boolean res = cont.getSecurityManager().isCallerInRole(role); return res; } // This is a servlet endpoint return this.jaxwsContextDelegate.isUserInRole(role);
this.jaxwsContextDelegate = wsc;
msgContext.set(ctxt);
principal.set(p);