Class WebServiceContextAnnot

java.lang.Object
org.apache.axis2.jaxws.description.builder.WebServiceContextAnnot
All Implemented Interfaces:
jakarta.xml.ws.WebServiceContext

public class WebServiceContextAnnot extends Object implements jakarta.xml.ws.WebServiceContext
  • Method Details

    • isUserInRole

      public boolean isUserInRole(String role)
      Specified by:
      isUserInRole in interface jakarta.xml.ws.WebServiceContext
      Parameters:
      role - The role to check.
      Returns:
      Returns boolean indicating whether user is in Role
    • getMessageContext

      public jakarta.xml.ws.handler.MessageContext getMessageContext()
      Specified by:
      getMessageContext in interface jakarta.xml.ws.WebServiceContext
      Returns:
      Returns the messageContext.
    • getUserPrincipal

      public Principal getUserPrincipal()
      Specified by:
      getUserPrincipal in interface jakarta.xml.ws.WebServiceContext
      Returns:
      Returns the userPrincipal.
    • setUserInRole

      public void setUserInRole(boolean isUserInRole)
      Parameters:
      isUserInRole - The isUserInRole to set.
    • setMessageContext

      public void setMessageContext(jakarta.xml.ws.handler.MessageContext messageContext)
      Parameters:
      messageContext - The messageContext to set.
    • setUserPrincipal

      public void setUserPrincipal(Principal userPrincipal)
      Parameters:
      userPrincipal - The userPrincipal to set.
    • getEndpointReference

      public <T extends jakarta.xml.ws.EndpointReference> T getEndpointReference(Class<T> arg0, Element... arg1)
      Specified by:
      getEndpointReference in interface jakarta.xml.ws.WebServiceContext
    • getEndpointReference

      public jakarta.xml.ws.EndpointReference getEndpointReference(Element... arg0)
      Specified by:
      getEndpointReference in interface jakarta.xml.ws.WebServiceContext
    • annotationType

      public Class<Annotation> annotationType()