
io.mosip.registration.util.advice.PreAuthorizeUserId Maven / Gradle / Ivy
package io.mosip.registration.util.advice;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PreAuthorizeUserId {
/**
* List of the roles which needs to accessed for method
*
* @return String[] - the roles
*/
public String[] roles() default {""};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy