Class ApplicationTypeConstraint.Factory

    • Method Detail

      • getStandardUserConstraint

        public Constraint getStandardUserConstraint​(StandardRole role,
                                                    Action.ActionEffect actionEffect)
        Description copied from interface: ConstraintFactory
        Provides a constraint suitable for the given role in the standard WildFly role based access control system.
        Parameters:
        role - the role
        actionEffect - the Action.ActionEffect for which the constraint is relevant
        Returns:
        the constraint. Cannot return null
      • getRequiredConstraint

        public Constraint getRequiredConstraint​(Action.ActionEffect actionEffect,
                                                Action action,
                                                TargetAttribute target)
        Description copied from interface: ConstraintFactory
        Provides a constraint appropriate for the given action and target
        Parameters:
        actionEffect - the Action.ActionEffect for which the constraint is relevant
        action - the action
        target - the attribute that is the target of the action
        Returns:
        the constraint. Cannot return null
      • getRequiredConstraint

        public Constraint getRequiredConstraint​(Action.ActionEffect actionEffect,
                                                Action action,
                                                TargetResource target)
        Description copied from interface: ConstraintFactory
        Provides a constraint appropriate for the given action and target
        Parameters:
        actionEffect - the Action.ActionEffect for which the constraint is relevant
        action - the action
        target - the resource that is the target of the action
        Returns:
        the constraint. Cannot return null
      • internalCompare

        protected int internalCompare​(org.jboss.as.controller.access.constraint.AbstractConstraintFactory other)
        Compare this AbstractConstraintFactory to another. Similar contract to Comparable.compareTo(Object) except that a return value of 0 does not imply equality; rather it implies indifference with respect to order. The intended use for this method is in Comparable.compareTo(Object) implementations where the class implementing the method has no preference with respect to order and is willing to go with the preference of the passed in object if it has one.
        Parameters:
        other - the other constraint factory
      • getRequiredConstraint

        public Constraint getRequiredConstraint​(Action.ActionEffect actionEffect,
                                                JmxAction action,
                                                JmxTarget target)
        Description copied from interface: ConstraintFactory
        Provides a constraint appropriate for the given action and target
        Parameters:
        actionEffect - the Action.ActionEffect for which the constraint is relevant
        action - the action
        target - the jmx bean that is the target of the action
        Returns:
        the constraint. Cannot return null