org.apache.camel.component.shiro.security
Class ShiroSecurityProcessor

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.processor.DelegateAsyncProcessor
          extended by org.apache.camel.component.shiro.security.ShiroSecurityProcessor
All Implemented Interfaces:
org.apache.camel.AsyncProcessor, org.apache.camel.DelegateProcessor, org.apache.camel.Navigate<org.apache.camel.Processor>, org.apache.camel.Processor, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

public class ShiroSecurityProcessor
extends org.apache.camel.processor.DelegateAsyncProcessor

Processor that executes the authentication and authorization of the Subject accordingly to the ShiroSecurityPolicy.


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateAsyncProcessor
processor
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
ShiroSecurityProcessor(org.apache.camel.Processor processor, ShiroSecurityPolicy policy)
           
 
Method Summary
 boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
           
 
Methods inherited from class org.apache.camel.processor.DelegateAsyncProcessor
doStart, doStop, getProcessor, hasNext, next, process, processNext, setProcessor, setProcessor, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShiroSecurityProcessor

public ShiroSecurityProcessor(org.apache.camel.Processor processor,
                              ShiroSecurityPolicy policy)
Method Detail

process

public boolean process(org.apache.camel.Exchange exchange,
                       org.apache.camel.AsyncCallback callback)
Specified by:
process in interface org.apache.camel.AsyncProcessor
Overrides:
process in class org.apache.camel.processor.DelegateAsyncProcessor


Apache Camel