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

sirius.web.security.PermissionList Maven / Gradle / Ivy

There is a newer version: 22.2.3
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.web.security;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Container annotation for {@link Permission} annotations.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface PermissionList {
    /**
     * Contains all permissions assigned to an element
     *
     * @return all permissions assigned to an element
     */
    Permission[] value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy