org.springframework.flex.messaging.security
Class EndpointInterceptor

java.lang.Object
  extended by org.springframework.security.intercept.AbstractSecurityInterceptor
      extended by org.springframework.flex.messaging.security.EndpointInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.MessageSourceAware

public class EndpointInterceptor
extends org.springframework.security.intercept.AbstractSecurityInterceptor
implements org.aopalliance.intercept.MethodInterceptor

Security interceptor that secures messages being passed to BlazeDS endpoints based on the security attributes configured for the endpoint being invoked.

Author:
Jeremy Grelle

Field Summary
 
Fields inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor
logger, messages
 
Constructor Summary
EndpointInterceptor()
           
 
Method Summary
 EndpointDefinitionSource getObjectDefinitionSource()
           
 java.lang.Class getSecureObjectClass()
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
           
 org.springframework.security.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
           
 void setObjectDefinitionSource(EndpointDefinitionSource newSource)
           
 
Methods inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointInterceptor

public EndpointInterceptor()
Method Detail

getSecureObjectClass

public java.lang.Class getSecureObjectClass()
Specified by:
getSecureObjectClass in class org.springframework.security.intercept.AbstractSecurityInterceptor

obtainObjectDefinitionSource

public org.springframework.security.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
Specified by:
obtainObjectDefinitionSource in class org.springframework.security.intercept.AbstractSecurityInterceptor

getObjectDefinitionSource

public EndpointDefinitionSource getObjectDefinitionSource()

setObjectDefinitionSource

public void setObjectDefinitionSource(EndpointDefinitionSource newSource)

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable