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

com.brihaspathee.zeus.permissions.UserCreatePermission Maven / Gradle / Ivy

The newest version!
package com.brihaspathee.zeus.permissions;

import org.springframework.security.access.prepost.PreAuthorize;

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

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 21, December 2021
 * Time: 4:01 PM
 * Project: spring-security
 * Package Name: com.example.springsecurity.permissions.security
 * To change this template use File | Settings | File and Code Template
 */
@Retention(RetentionPolicy.RUNTIME)
@PreAuthorize("hasAnyAuthority('user.create')")
public @interface UserCreatePermission {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy