public class MyWebContext extends Object implements WebServiceContext
| Constructor and Description | 
|---|
| MyWebContext(String username,
            Set<String> roles) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends EndpointReference> | getEndpointReference(Class<T> arg0,
                    Element... arg1) | 
| EndpointReference | getEndpointReference(Element... arg0) | 
| MessageContext | getMessageContext() | 
| Principal | getUserPrincipal() | 
| boolean | isUserInRole(String arg0) | 
public MessageContext getMessageContext()
getMessageContext in interface WebServiceContextpublic Principal getUserPrincipal()
getUserPrincipal in interface WebServiceContextpublic boolean isUserInRole(String arg0)
isUserInRole in interface WebServiceContextpublic EndpointReference getEndpointReference(Element... arg0)
getEndpointReference in interface WebServiceContextpublic <T extends EndpointReference> T getEndpointReference(Class<T> arg0, Element... arg1)
getEndpointReference in interface WebServiceContextCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.