org.apache.geronimo.axis2.pojo
Class POJOWebServiceContext

java.lang.Object
  extended by 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.


Constructor Summary
POJOWebServiceContext()
           
 
Method Summary
static void clear()
           
 MessageContext getMessageContext()
           
 Principal getUserPrincipal()
           
 boolean isUserInRole(String user)
           
static void setMessageContext(MessageContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POJOWebServiceContext

public POJOWebServiceContext()
Method Detail

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-2007 Apache Software Foundation. All Rights Reserved.