org.springframework.flex.messaging.security
Class SecurityExceptionTranslationAdvice

java.lang.Object
  extended by org.springframework.flex.messaging.security.SecurityExceptionTranslationAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.AfterAdvice, org.springframework.aop.ThrowsAdvice

public class SecurityExceptionTranslationAdvice
extends java.lang.Object
implements org.springframework.aop.ThrowsAdvice

Catches SpringSecurityExceptions and translates them to appropriate BlazeDS SecurityExceptions to be rethrown so that a proper AMF error will be sent back to the client.

Author:
Jeremy Grelle

Constructor Summary
SecurityExceptionTranslationAdvice()
           
 
Method Summary
 void afterThrowing(org.springframework.security.SpringSecurityException ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityExceptionTranslationAdvice

public SecurityExceptionTranslationAdvice()
Method Detail

afterThrowing

public void afterThrowing(org.springframework.security.SpringSecurityException ex)