Class AbstractAttributePredicate

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • useUnfilteredAttributes

        private boolean useUnfilteredAttributes
        Whether to look at filtered or unfiltered attributes.
    • Constructor Detail

      • AbstractAttributePredicate

        public AbstractAttributePredicate()
        Constructor.
    • Method Detail

      • isUseUnfilteredAttributes

        public boolean isUseUnfilteredAttributes()
        Get whether to source the input attributes from the unfiltered set.
        Returns:
        whether to source the input attributes from the unfiltered set
      • setUseUnfilteredAttributes

        public void setUseUnfilteredAttributes​(boolean flag)
        Set whether to source the input attributes from the unfiltered set.

        Defaults to true.

        Parameters:
        flag - flag to set
      • allowNullAttributeContext

        protected boolean allowNullAttributeContext()
        Get the result of the predicate in the case the attribute context is null.
        Returns:
        null context result
      • hasMatch

        protected abstract boolean hasMatch​(@Nonnull @NonnullElements
                                            Map<String,​IdPAttribute> attributeMap)
        Abstract implementation of the condition to evaluate.
        Parameters:
        attributeMap - the attributes to evaluate
        Returns:
        the condition result