shiro-jwt icon indicating copy to clipboard operation
shiro-jwt copied to clipboard

Working example?

Open aadrian opened this issue 9 years ago • 8 comments

It would be really helpful if there were a working example instead of just a "test example" with Arquillian.

Thank you.

aadrian avatar Sep 15 '16 12:09 aadrian

Hi,

Give me until next week to do it. I'm glad to help.

If you already tried to test it, tell me which are your questions to add the answers in the Getting Started guide.

Regards,

j-martinez-dev avatar Sep 15 '16 19:09 j-martinez-dev

If you already tried to test it

I tried to test it but it's not even running :( . On most systems I've tried (with various Windows versions) I'm getting

 com.github.panchitoboy.shiro.jwt.filter.JWTOrFormAuthenticationFilterTest: Could not setup chameleon container

aadrian avatar Sep 15 '16 20:09 aadrian

hi, do you have some more logs to show me?

The exception that you receive is that wildfly can't be started. The port 8080 is available in your machine?

I tested the library today and i don't have any problems.

Also, i write the getting started guide if you want to try in your application.

Regards,

j-martinez-dev avatar Sep 24 '16 21:09 j-martinez-dev

The port 8080 is available in your machine?

The port is available, but there seems to be a proxy problem: if the machine is behind a proxy (that works for other projects) won't work with this one.

If I try on a machine mvn test on a machine directly connected (so no proxy) than the tests will execute.

My point was however that it would be really useful to have a "working example" not just unit tests. So a simple working webapp that the user can just run.

Even better would be to have two small web applications: a client webapp (that is using jwt) and the server/sso webapp that is providing the tokens but also perform the classic login.

aadrian avatar Sep 25 '16 18:09 aadrian

Is this repo still maintained? Are you planning to create a working example for this project? It would be very helpful

NBAMj avatar Jun 15 '17 10:06 NBAMj

Hi,

I'm not developping any new features but i think that someday i gonna at least update the depencies.

For the working example, i thought that test was enough to understand how to do use it, but i gonna create a little simple app using java/angular as example. Give me some days to do that.

Regards,

j-martinez-dev avatar Jun 16 '17 06:06 j-martinez-dev

For the working example, i thought that test was enough to understand how to do use it

Sorry, but it's totally confusing, and the tests also don't work behind proxies :( .

but i gonna create a little simple app using java/angular as example. Give me some days to do that.

Any news on this?

Thank you.

aadrian avatar Apr 18 '18 09:04 aadrian

Could you please guide how to run this application or starting point for this application. I have downloaded in my local for testing and getting below error message. Please guide me how to run this application com.github.panchitoboy.shiro.jwt.filter.JWTOrFormAuthenticationFilterTest: Cou ld not setup chameleon container

infobalu avatar Jun 19 '18 07:06 infobalu