On Wed, May 28, 2008 at 8:42 PM, Nicklas Nordborg <[EMAIL PROTECTED]> wrote: > I think this method has a flaw in it's signature. It is impossible to call > this method with any other class object than the Authority.class. For > example if I try: > > Authority[] auth = user.getAuthorities(WritePermission.class);
Yeah, that makes that method pretty useless :-) I just commited a fix for this, thanks for reporting! /niklas
