You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by bcaramu <bc...@gmail.com> on 2017/01/27 04:34:25 UTC
HostAuthenticationToken in Spring-MVC
I need some help to create HostAuthenticationToken token before Realm's
doGetAuthenticationInfo method calls?
Could you please help me to create Custom AuthenticationStrategy to create
token?
Thanks in advance
--
View this message in context: http://shiro-user.582556.n2.nabble.com/HostAuthenticationToken-in-Spring-MVC-tp7581475.html
Sent from the Shiro User mailing list archive at Nabble.com.
Re: HostAuthenticationToken in Spring-MVC
Posted by Brian Demers <br...@gmail.com>.
What are you using on the client side to collect the username ?
On Fri, Jan 27, 2017 at 3:02 PM, bcaramu <bc...@gmail.com> wrote:
> Hi,
>
> I want to have windows logged in username as request.getRemoteUser() while
> creating token.
>
> I would like to validate some specific users from host.
>
> Thanks
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/
> HostAuthenticationToken-in-Spring-MVC-tp7581475p7581477.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>
Re: HostAuthenticationToken in Spring-MVC
Posted by bcaramu <bc...@gmail.com>.
Hi,
I want to have windows logged in username as request.getRemoteUser() while
creating token.
I would like to validate some specific users from host.
Thanks
--
View this message in context: http://shiro-user.582556.n2.nabble.com/HostAuthenticationToken-in-Spring-MVC-tp7581475p7581477.html
Sent from the Shiro User mailing list archive at Nabble.com.
Re: HostAuthenticationToken in Spring-MVC
Posted by Brian Demers <br...@gmail.com>.
Can you provide a little more info into what you are looking to do?
For example just about all of the official web examples use a
UsernamePasswordToken
<https://shiro.apache.org/static/current/apidocs/org/apache/shiro/authc/UsernamePasswordToken.html>
which is a HostAuthenticationToken.
On Thu, Jan 26, 2017 at 11:34 PM, bcaramu <bc...@gmail.com> wrote:
> I need some help to create HostAuthenticationToken token before Realm's
> doGetAuthenticationInfo method calls?
>
> Could you please help me to create Custom AuthenticationStrategy to create
> token?
>
> Thanks in advance
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/
> HostAuthenticationToken-in-Spring-MVC-tp7581475.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>