org.jboss.errai.security.client.local.callback
Class DefaultBusSecurityErrorCallback
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBusSecurityErrorCallback
@Inject
public DefaultBusSecurityErrorCallback(SecurityContext context)
handleError
public void handleError(Throwable throwable)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.