API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.ws. WebServiceContext View Source
Author(s)
Since
JAX-WS 2.0
Version
Serial
Hierarchy
 WebServiceContext
Subinterfaces
Description
public interface WebServiceContext
  A WebServiceContext makes it possible for a web service endpoint implementation class to access message context and security information relative to a request being served.
See also:    Resource
Methods
Hide/Show inherited methods
public MessageContext getMessageContext ()
  Returns the MessageContext for the request being served at the time this method is called.
public Principal getUserPrincipal ()
  Returns the Principal that identifies the sender of the request currently being serviced.
public boolean isUserInRole (String role)
  Returns a boolean indicating whether the authenticated user is included in the specified logical role.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar