com.brihaspathee.zeus.permissions.AuthorityUpdatePermission Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tp-service Show documentation
Show all versions of tp-service Show documentation
Service that contains all Trading Partner Information
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:04 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('authority.update')")
public @interface AuthorityUpdatePermission {
}