Thanks

2012/10/17 Romain Manni-Bucau <[email protected]>

>  Hi,
>
> this is effectively a bug,
>
> https://issues.apache.org/jira/browse/TOMEE-475
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
>
> 2012/10/16 nikko nikko <[email protected]>
>
> > Hi,
> >
> > I'm using Tomee 1.5.0.
> >
> > I have an application where a servlet invokes a method of EJB that
> > performs isCallerInRole. (the sample application is attached)
> >
> > When I request my servlet I expect that isCallerInRole(tomee-admin) will
> > return true as in my tomcat-users.xml I have the correct mapping between
> > the user and the role.
> >
> >   <role rolename="tomee-admin" />
> >   <user username="tomee" password="tomee" roles="tomee-admin,manager-gui"
> > />
> >
> > Unfortunately isCallerInRole(tomee-admin) returns false always regardless
> > of the specified role.
> >
> > What might be the problem?
> >
> > Thanks
> > Nikko
> >
>

Reply via email to