users@glassfish.java.net

Re: Clarification on EJBContext#isCallerInRole(String)

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Mon, 8 Aug 2011 20:50:51 -0400

On Mon, Aug 8, 2011 at 6:55 PM, Laird Nelson <ljnelson_at_gmail.com> wrote:

> This seems wrong to me. I suppose strictly speaking it's OK--indeed, I'm
> not supposed to call this method with a String that is not a valid role
> name, but...would it kill this method to simply return false?
>

Enhancement/bug filed: http://java.net/jira/browse/GLASSFISH-17169

Best,
Laird