Hello Marlon,

It worked without any problems from what I can remember. I created the
CorsBasicHttpAuthenticationFilter
class and edited my shiro.ini to make sure that it is used. If you never
get into you custom authentication filter's isAccessAllowed method than
there must be a configuration problem. Did you edit your shiro.ini?

I added the shiro user list to this reply since it might be of interest to
others.

/Bengt



2013/6/15 Marlon Chavarria <[email protected]>

>
> http://mail-archives.apache.org/mod_mbox/shiro-user/201304.mbox/%3CCAJ0TPG+VmKcs86jMdEaQuSryrd-OyDrxxH0N0VsiBkEa=e4...@mail.gmail.com%3E
>
> Hi, I have a similar problem, I'm trying to use shiro in a cometd web app,
> but, when the browser tries to do a OPTIONS http method, I am getting a 302
> and redirected to login page.
>
> I do what you did, but when I put a breakpoint on the httpMethod
> validation the code is never executed, I allways received get or post
> methods.
>
> Did you see something similar?
>

Reply via email to