You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Henry Saputra <he...@gmail.com> on 2011/03/10 18:33:08 UTC
How to add existing application login method in the authenticating
flow with Shiro?
Hi Shiro Community,
I am planning to use Shiro to do user authentication for web services
accesses and would like to get some advice on how incorporate my
application custom login method into the Shiro authentication flow?
I was thinking about either extending the DelegatingSubject to
override login() method, or just do the login in my custom
Realm.doGetAuthenticationInfo() method?
Appreciate any input or help.
--
Thanks,
Henry
Re: How to add existing application login method in the
authenticating flow with Shiro?
Posted by Henry Saputra <he...@gmail.com>.
Thanks Brian, I will try to go with adding the call in my custom Realm.
- Henry
On Thu, Mar 10, 2011 at 12:01 PM, Brian Demers <br...@gmail.com> wrote:
> If your just talking about the actual authentication logic, then
> creating your own Realm is the way to go.
>
> On Thu, Mar 10, 2011 at 12:33 PM, Henry Saputra <he...@gmail.com> wrote:
>> Hi Shiro Community,
>>
>> I am planning to use Shiro to do user authentication for web services
>> accesses and would like to get some advice on how incorporate my
>> application custom login method into the Shiro authentication flow?
>>
>> I was thinking about either extending the DelegatingSubject to
>> override login() method, or just do the login in my custom
>> Realm.doGetAuthenticationInfo() method?
>>
>> Appreciate any input or help.
>>
>> --
>> Thanks,
>> Henry
>>
>
--
Thanks,
Henry
Re: How to add existing application login method in the
authenticating flow with Shiro?
Posted by Brian Demers <br...@gmail.com>.
If your just talking about the actual authentication logic, then
creating your own Realm is the way to go.
On Thu, Mar 10, 2011 at 12:33 PM, Henry Saputra <he...@gmail.com> wrote:
> Hi Shiro Community,
>
> I am planning to use Shiro to do user authentication for web services
> accesses and would like to get some advice on how incorporate my
> application custom login method into the Shiro authentication flow?
>
> I was thinking about either extending the DelegatingSubject to
> override login() method, or just do the login in my custom
> Realm.doGetAuthenticationInfo() method?
>
> Appreciate any input or help.
>
> --
> Thanks,
> Henry
>