@ApplicationScoped public class DefaultBusSecurityErrorCallback extends Object
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.Constructor and Description |
---|
DefaultBusSecurityErrorCallback(SecurityContext context) |
@Inject public DefaultBusSecurityErrorCallback(SecurityContext context)
public void handleError(Throwable throwable)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.