You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Paulo Pires <pj...@ubiwhere.com> on 2012/06/04 13:12:21 UTC
Integration-testing Shiro
Hi all,
Is anyone around doing integration-testing with Shiro and EJB's? I use
my own DAO to manage Shiro users, so I'd like to be able to perform a
series of tests that would really authenticate.
I'm using Glassfish-embedded and TestNG, but so far I haven't got much
success. You can check my bootstrap code at https://gist.github.com/2867767
Cheers,
--
Paulo Pires
Re: Integration-testing Shiro
Posted by Paulo Pires <pj...@ubiwhere.com>.
Nevermind,
I was trying to authenticate with a REST service, but it wasn't working
because my test embedded server was not listening for connections. It's
working now, thanks :-)
Cheers,
PP
On 04/06/12 13:45, shiro.atomicknight@xoxy.net wrote:
> I do something similar using the EJBContainer API - is there a
> particular problem that you're seeing?
>
>
> On Mon, Jun 4, 2012 at 7:12 AM, Paulo Pires - pjpires@ubiwhere.com
> <ma...@ubiwhere.com> wrote:
>
> Hi all,
>
> Is anyone around doing integration-testing with Shiro and EJB's? I use
> my own DAO to manage Shiro users, so I'd like to be able to perform a
> series of tests that would really authenticate.
>
> I'm using Glassfish-embedded and TestNG, but so far I haven't got much
> success. You can check my bootstrap code at
> https://gist.github.com/2867767
>
> Cheers,
>
> --
> Paulo Pires
>
>
>
--
Paulo Pires
Re: Integration-testing Shiro
Posted by sh...@xoxy.net.
I do something similar using the EJBContainer API - is there a particular
problem that you're seeing?
On Mon, Jun 4, 2012 at 7:12 AM, Paulo Pires - pjpires@ubiwhere.com wrote:
> Hi all,
>
> Is anyone around doing integration-testing with Shiro and EJB's? I use
> my own DAO to manage Shiro users, so I'd like to be able to perform a
> series of tests that would really authenticate.
>
> I'm using Glassfish-embedded and TestNG, but so far I haven't got much
> success. You can check my bootstrap code at
> https://gist.github.com/2867767
>
> Cheers,
>
> --
> Paulo Pires
>
>
>