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 WebServiceContext
public Principal getUserPrincipal()
getUserPrincipal
in interface WebServiceContext
public boolean isUserInRole(String arg0)
isUserInRole
in interface WebServiceContext
public EndpointReference getEndpointReference(Element... arg0)
getEndpointReference
in interface WebServiceContext
public <T extends EndpointReference> T getEndpointReference(Class<T> arg0, Element... arg1)
getEndpointReference
in interface WebServiceContext
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.