Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.webservices.server.xfire
Class PermissionHandler

java.lang.Object
  extended by org.codehaus.xfire.handler.AbstractHandler
      extended by 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().


Field Summary
 
Fields inherited from interface org.codehaus.xfire.handler.Handler
ROLE
 
Constructor Summary
PermissionHandler()
           
 
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
 

Constructor Detail

PermissionHandler

public PermissionHandler()
Method Detail

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)

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.