org.apache.geronimo.axis2.pojo
Class POJOWebServiceContext
java.lang.Object
org.apache.geronimo.axis2.pojo.POJOWebServiceContext
- All Implemented Interfaces:
- WebServiceContext
public class POJOWebServiceContext
- extends Object
- implements WebServiceContext
Implementation of WebServiceContext for POJO WS to ensure that getUserPrincipal()
and isUserInRole() are properly handled.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POJOWebServiceContext
public POJOWebServiceContext()
getMessageContext
public final MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface WebServiceContext
getUserPrincipal
public final Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface WebServiceContext
isUserInRole
public final boolean isUserInRole(String user)
- Specified by:
isUserInRole
in interface WebServiceContext
setMessageContext
public static void setMessageContext(MessageContext ctx)
clear
public static void clear()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.