com.jivesoftware.forum.webservices.server.xfire
Class PermissionHandler
java.lang.Object
org.codehaus.xfire.handler.AbstractHandler
com.jivesoftware.forum.webservices.server.xfire.PermissionHandler
- All Implemented Interfaces:
- org.codehaus.xfire.handler.Handler
public class PermissionHandler
- extends org.codehaus.xfire.handler.AbstractHandler
Checks The results from WSS4J Security Handler. If the UsernameToken provided by WSS4j is for a valid
user we will create an AuthToken
and store it for the user. This auth token can be acquired using
WSUtil.getAuthToken()
.
Fields inherited from interface org.codehaus.xfire.handler.Handler |
ROLE |
Method Summary |
protected AuthToken |
acquireAuthToken(org.apache.ws.security.WSUsernameTokenPrincipal principal)
|
java.util.List |
groupNameList(java.util.Iterator groups)
|
void |
invoke(org.codehaus.xfire.MessageContext context)
|
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler |
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionHandler
public PermissionHandler()
invoke
public void invoke(org.codehaus.xfire.MessageContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
acquireAuthToken
protected AuthToken acquireAuthToken(org.apache.ws.security.WSUsernameTokenPrincipal principal)
groupNameList
public java.util.List groupNameList(java.util.Iterator groups)
Copyright © 1999-2006 Jive Software.