public interface ConstraintFactory extends Comparable<ConstraintFactory>
Implementations of this interface should implement #equals(Object)
and #hashCode()
such that two factories that produce the same constraints can be treated as equal in hash-based collections.
Modifier and Type | Method and Description |
---|---|
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
Action action,
TargetAttribute target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
Action action,
TargetResource target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getRequiredConstraint(Action.ActionEffect actionEffect,
JmxAction action,
JmxTarget target)
Provides a constraint appropriate for the given
action and target |
Constraint |
getStandardUserConstraint(StandardRole role,
Action.ActionEffect actionEffect)
Provides a constraint suitable for the given
role in the standard WildFly
role based access control system. |
compareTo
Constraint getStandardUserConstraint(StandardRole role, Action.ActionEffect actionEffect)
role
in the standard WildFly
role based access control system.role
- the roleactionEffect
- the Action.ActionEffect
for which the constraint is relevantnull
Constraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetAttribute target)
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the attribute that is the target of the actionnull
Constraint getRequiredConstraint(Action.ActionEffect actionEffect, Action action, TargetResource target)
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the resource that is the target of the actionnull
Constraint getRequiredConstraint(Action.ActionEffect actionEffect, JmxAction action, JmxTarget target)
action
and target
actionEffect
- the Action.ActionEffect
for which the constraint is relevantaction
- the actiontarget
- the jmx bean that is the target of the actionnull
Copyright © 2023 JBoss by Red Hat. All rights reserved.