com.posadskiy.restsecurity.annotation.Security Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-security Show documentation
Show all versions of rest-security Show documentation
Open Source library for security REST methods
package com.posadskiy.restsecurity.annotation;
import java.lang.annotation.*;
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Security {
String[] roles() default { "USER" };
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy