@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
.
To completely disable the auth completely do following:
DUMMY flag to true in SecurityIntegration class.hawkular-inventory-dist.war in
dist/src/main/resources/wildfly/patches/standalone.xsl in hawkular/hawkular
repo.jboss-web.xml and web.xml
(it's commented there).NOTE1: it can be disabled also only partially, for instance if the be always the same.
NOTE2: This may be useful to measure the impact of security aspects to the overall performance.
| Constructor and Description |
|---|
SecurityIntegration() |
Copyright © 2015–2016 Red Hat. All rights reserved.