Class WebServiceContextAnnot
java.lang.Object
org.apache.axis2.jaxws.description.builder.WebServiceContextAnnot
- All Implemented Interfaces:
WebServiceContext
-
Method Summary
Modifier and TypeMethodDescription<T extends EndpointReference>
TgetEndpointReference(Class<T> arg0, Element... arg1) getEndpointReference(Element... arg0) booleanisUserInRole(String role) voidsetMessageContext(MessageContext messageContext) voidsetUserInRole(boolean isUserInRole) voidsetUserPrincipal(Principal userPrincipal)
-
Method Details
-
isUserInRole
- Specified by:
isUserInRolein interfaceWebServiceContext- Parameters:
role- The role to check.- Returns:
- Returns boolean indicating whether user is in Role
-
getMessageContext
- Specified by:
getMessageContextin interfaceWebServiceContext- Returns:
- Returns the messageContext.
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceWebServiceContext- Returns:
- Returns the userPrincipal.
-
setUserInRole
public void setUserInRole(boolean isUserInRole) - Parameters:
isUserInRole- The isUserInRole to set.
-
setMessageContext
- Parameters:
messageContext- The messageContext to set.
-
setUserPrincipal
- Parameters:
userPrincipal- The userPrincipal to set.
-
getEndpointReference
- Specified by:
getEndpointReferencein interfaceWebServiceContext
-
getEndpointReference
- Specified by:
getEndpointReferencein interfaceWebServiceContext
-
annotationType
-