Apache CXF API

org.apache.cxf.interceptor.security
Class SimpleAuthorizingInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
          extended by org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>
Direct Known Subclasses:
SecureAnnotationsInterceptor

public class SimpleAuthorizingInterceptor
extends AbstractAuthorizingInInterceptor


Constructor Summary
SimpleAuthorizingInterceptor()
           
 
Method Summary
protected  List<String> getExpectedRoles(Method method)
          Returns a list of expected roles for a given method.
 void setGlobalRoles(String roles)
           
 void setMethodRolesMap(Map<String,String> rolesMap)
           
 
Methods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
authorize, getDenyRoles, getTargetMethod, handleMessage
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAuthorizingInterceptor

public SimpleAuthorizingInterceptor()
Method Detail

getExpectedRoles

protected List<String> getExpectedRoles(Method method)
Description copied from class: AbstractAuthorizingInInterceptor
Returns a list of expected roles for a given method.

Specified by:
getExpectedRoles in class AbstractAuthorizingInInterceptor
Parameters:
method - Method
Returns:
list, empty if no roles are available

setMethodRolesMap

public void setMethodRolesMap(Map<String,String> rolesMap)

setGlobalRoles

public void setGlobalRoles(String roles)

Apache CXF API

Apache CXF