PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

org.picketlink.trust.jbossws.handler
Class AbstractWSAuthorizationHandler

java.lang.Object
  extended by org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
      extended by org.picketlink.trust.jbossws.handler.AbstractWSAuthorizationHandler
All Implemented Interfaces:
Handler, SOAPHandler

public abstract class AbstractWSAuthorizationHandler
extends AbstractPicketLinkTrustHandler

Base class for authorization handlers for POJO Web services based on the Authorize Operation on the JBossWS Native stack

Since:
Apr 11, 2011
Author:
Darran Lofthouse, Anil.Saldhana@redhat.com, Pedro Silva

Field Summary
protected  Map<String,List<String>> cache
           
static String UNCHECKED
           
 
Fields inherited from class org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
AUTHZ_MGR_LOOKUP, headers, logger, SEC_MGR_LOOKUP
 
Constructor Summary
AbstractWSAuthorizationHandler()
           
 
Method Summary
protected  org.jboss.security.AuthorizationManager getAuthorizationManager(MessageContext msgContext)
          Returns the AuthorizationManager associated with the application's security domain.
protected  InputStream getWSSE(javax.servlet.ServletContext context)
           
protected  boolean handleInbound(MessageContext msgContext)
           
protected  InputStream load(ClassLoader cl)
           
protected  Set<Principal> rolesSet(List<String> roles)
           
 
Methods inherited from class org.picketlink.trust.jbossws.handler.AbstractPicketLinkTrustHandler
close, getAssertionFromSubject, getHeaders, getSecurityDomainName, getSecurityHeaderElement, getServletContext, getUsername, handleFault, handleMessage, handleOutbound, lookupJNDI, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNCHECKED

public static final String UNCHECKED
See Also:
Constant Field Values

cache

protected Map<String,List<String>> cache
Constructor Detail

AbstractWSAuthorizationHandler

public AbstractWSAuthorizationHandler()
Method Detail

handleInbound

protected boolean handleInbound(MessageContext msgContext)
Overrides:
handleInbound in class AbstractPicketLinkTrustHandler

rolesSet

protected Set<Principal> rolesSet(List<String> roles)

getWSSE

protected InputStream getWSSE(javax.servlet.ServletContext context)

load

protected InputStream load(ClassLoader cl)

getAuthorizationManager

protected org.jboss.security.AuthorizationManager getAuthorizationManager(MessageContext msgContext)
                                                                   throws ConfigurationException

Returns the AuthorizationManager associated with the application's security domain.

Parameters:
msgContext -
Returns:
Throws:
ConfigurationException

PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.