Interface IPluginProfileFilterExtension

    • Method Detail

      • getAttributeType

        @NotBlank
        @NotBlank String getAttributeType()
        Returns the type of attributes that this extension provides. The type needs to be unique in the system and is used to distinguish different attributes from one another. Therefore the type can't be blank. The attribute type must not contain the symbol "#".
        Returns:
        the type of attributes that this extension provides. Cannot be blank and cannot be "JSON_PATH"!
      • getAttributeOptions

        List<IPluginProfileFilterAttribute> getAttributeOptions​(IPluginProfileFilterAttributeOptionsGetParams params)
        Returns a list of profile attribute options (left-hand side) for which a single (atomic) filter can be set. This method should always return a complete list of the available attribute options for the given parameters (authentication client).
        Parameters:
        params - Parameters with the client descriptors.
        Returns:
        a list of profile attributes for which filters can be set.
      • getMatchConditions

        List<EMatchCondition> getMatchConditions​(IPluginProfileFilterMatchConditionGetParams params)
        Returns a list of available match conditions for single (atomic) filter based on the filter attribute (left-hand side) and client (IClientDescriptor). This limits the list of available match conditions to choose from. If the list is empty or null than the default list of match conditions will be available.
        Parameters:
        params - for determining the list of available match conditions.
        Returns:
        a list of recommended match conditions for a single (atomic) filter.
      • getProfileAttributeValue

        Object getProfileAttributeValue​(IPluginProfileFilterEvaluationParams params)
        Evaluates the profile attribute value for the given parameters (attribute name & profile)
        Parameters:
        params - containing the attribute name and user profile.
        Returns:
        the value of the given profile attribute in the given user profile.