PolicyEnforcementProvider

data class PolicyEnforcementProvider(val version: String, val id: String, val name: String, val description: String)

A data class representing a policy enforcement provider.

Constructors

Link copied to clipboard
constructor(version: String, id: String, name: String, description: String)

Functions

Link copied to clipboard

Adds an AuthorizationAtom to this policy enforcement provider.

Link copied to clipboard
fun export(file: String)

Exports this policy enforcement provider to a file.

Link copied to clipboard
fun getAtom(atomId: String, variables: Map<String, String>?): AuthorizationAtom?

Gets an AuthorizationAtom from this policy enforcement provider.

Link copied to clipboard
fun replaceVariables(variables: Map<String, String>?, strings: List<String>?): List<String>?

Replaces variables in the given list of strings with their corresponding values from the given map of variables. If the list of strings is null, null is returned. If the map of variables is null or empty, the original list of strings is returned.

Properties

Link copied to clipboard

The list of AuthorizationAtom instances for this policy enforcement provider.

Link copied to clipboard

The description of the policy enforcement provider.

Link copied to clipboard
val id: String

The ID of the policy enforcement provider.

Link copied to clipboard

The name of the policy enforcement provider.

Link copied to clipboard

The version of the policy enforcement provider.