Errai 3.0.1-SNAPSHOT

org.jboss.errai.security.client.local.callback
Class DefaultBusSecurityErrorCallback

java.lang.Object
  extended by org.jboss.errai.security.client.local.callback.DefaultBusSecurityErrorCallback

@ApplicationScoped
public class DefaultBusSecurityErrorCallback
extends Object

Catches SecurityExceptions. If an UnauthenticatedException is caught, Errai Navigation is directed to the LoginPage. If an UnauthorizedException is caught, Errai Navigation is directed to the SecurityError page.

Author:
Max Barkley

Constructor Summary
DefaultBusSecurityErrorCallback(SecurityContext context)
           
 
Method Summary
 void handleError(Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBusSecurityErrorCallback

@Inject
public DefaultBusSecurityErrorCallback(SecurityContext context)
Method Detail

handleError

public void handleError(Throwable throwable)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.