Interface SecurityPolicyResourceLoader

  • All Known Implementing Classes:
    JsonSecurityPolicyLoader

    public interface SecurityPolicyResourceLoader
    The Interface SecurityPolicyResourceLoader that handles the policy file permission parsing and loading.
    • Method Detail

      • loadFeaturePermissions

        java.util.List<FeaturePolicyPermission> loadFeaturePermissions​(@Nullable
                                                                       java.io.InputStream inputStream)
        Load feature permissions. Returns an empty list if no file is found or if an exception occurred during the parsing.
        Parameters:
        inputStream - the inputStream of the policy file.
        Returns:
        the list of permissions.