@ApplicationScoped public class SecurityIntegration extends Object
Mutation operations must be checked explicitly in the REST classes using the Security bean and invoking
one of its can*() methods. The creation of the security resources associated with the newly created inventory
entities is handled automagically by this class which does that by observing the mutation events on the inventory.
| Constructor and Description |
|---|
SecurityIntegration() |
| Modifier and Type | Method and Description |
|---|---|
void |
react(AbstractElement<?,?> entity,
Action<?,?> action) |
void |
start(InventoryInitialized event) |
void |
stop(DisposingInventory event) |
public void start(@Observes
InventoryInitialized event)
public void stop(@Observes
DisposingInventory event)
public void react(AbstractElement<?,?> entity, Action<?,?> action)
Copyright © 2015 Red Hat, Inc.. All rights reserved.