shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Demers <brian.dem...@gmail.com>
Subject Re: Not ale to get the Subject second time after authentication.
Date Mon, 12 Mar 2018 13:56:12 GMT
What does your stack look like?  Are you using the Shiro Servlet Filter?
What type of authentication are you using?


On Mon, Mar 12, 2018 at 9:52 AM, nitincn <nitincn@gmail.com> wrote:

> Hi,
>
> I have Java web application which calls another Shiro managed application
> which will checks authentication.
> Once authentication is done, I'm getting the Subject (Subject currentUser
> =SecurityUtils.getSubject();).
>
> Web Application is in  the same session calls.
> Then web application requests another Rest API call after authentication.
> So
> i'm checking the permission for this http call with shiro. But
> SecurityUtils.getSubject() is null. Means isAuthenticated = false and
> Principals =null.
>
>
> Please help me to resolve the issue.
>
> Thanks
>
> Nitin
>
>
>
> --
> Sent from: http://shiro-developer.582600.n2.nabble.com/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message