Interface PolicyExecutor

  • All Known Implementing Classes:
    JavaxElPolicyExecutor

    public interface PolicyExecutor
    Custom executor of policy statements.
    • Method Detail

      • supports

        default boolean supports​(String policyStatement,
                                 ProviderRequest request)
        Can be used to tell the PolicyValidator that this statement is supported by this policy executor. If there are more than one executors configured, first provider that supports a statement will execute it.
        Parameters:
        policyStatement - statement as configured through EndpointConfig
        request - request of current security exchange, containing environment, subject, and object
        Returns:
        true if this executor supports the statement, false otherwise