Hi,

When I use security annotations on a type, shiro ignores it, but when I add
move the annotation to the method, it works perfectly.

e.g.

@RequiresAuthentication //ignored
interface FooService {

@GET
@Path("/auth")
@RequiresAuthentication // this works
fun list() : List<String>

}

Shiro is configured with spring, I am using spring 4.2.6 and shiro 1.3.2.


Anyone can give an idea why annotations on the type are ignored?

Best regards,
Laszlo

Reply via email to