@ApplicationScoped public class ClientSecurityExceptionMessageResolver extends Object
Constructor and Description |
---|
ClientSecurityExceptionMessageResolver() |
Modifier and Type | Method and Description |
---|---|
void |
consumeExceptionMessage(Throwable exception,
Consumer<String> messageConsumer)
Main entry point for handling all security management related errors.
|
void |
registerMessageResolvers() |
public ClientSecurityExceptionMessageResolver()
@PostConstruct public void registerMessageResolvers()
public void consumeExceptionMessage(Throwable exception, Consumer<String> messageConsumer)
exception
- The exception for being displayedmessageConsumer
- Consumes the message to display, if applies. Otherwise it's not called.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.