All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.graphglue.model.Rule.kt Maven / Gradle / Ivy

Go to download

A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies

The newest version!
package io.github.graphglue.model

import io.github.graphglue.authorization.DisallowRuleGenerator


/**
 * Rule used in [Authorization] annotations
 * Can be used to define which conditions allow or deny access to a [Node]
 *
 * @param beanRef name of the bean which implements the condition, the bean must be a [DisallowRuleGenerator]
 * @param options additional options provided to the [DisallowRuleGenerator], e.g. property names.
 *                   Allows building general rule generators
 */
annotation class Rule(val beanRef: String, vararg val options: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy