users@jersey.java.net

Declarative Role Based Security

From: Meeraj Kunnumpurath <mkunnumpurath_at_googlemail.com>
Date: Fri, 17 Sep 2010 09:42:34 +0100

Hi,

Is there anyway I can enforce declarative role-based security on resource
classes and methods?

Something like for example,

@SecurityRole("ADMIN")
@PATH("/myResource")
public class MyResource {

    public String myMethod(..) {
    }

}

Ta
Meeraj