Auto-login user programatically?

Byte Flinger byteflinger at gmail.com
Thu Aug 1 06:37:47 EDT 2013


Well maybe I am making things more confusing than it should. The idea is
that I'd like to perform an idp initiated login and right it seems that
this is done through the unsolicited sso profile which seems to be mapped
to the UsernamePassword login handler (as it takes me to the login page).
Unfortunately it seems UsernamePassword login handler does not suit me (I
may need to log the user in a different way) and I'd like to use my own
login handler however I am uncertain if it is possible to use the
UnsolicitedSSO profile handler with a custom login handler and if so how to
do it as the only mention of customisation on the idp initiated wiki page
is the MessageDecoder (Which at a quick glance does not seem to be what I
am looking for).

Does that make things a bit clearer?


On 1 August 2013 11:46, Peter Schober <peter.schober at univie.ac.at> wrote:

> * Byte Flinger <byteflinger at gmail.com> [2013-08-01 11:29]:
> > But how would one link it to the unsolicited sso handler? I cannot find
> > where the unsolicited sso points to the login handler and where it should
> > be changed?
>
> That's not a job for a login handler, AFAIU, that's a profile
> handler. Which has been discussed before:
>
> * Cantor, Scott <cantor.2 at osu.edu> [2013-07-27 01:26]:
> > On 7/26/13 4:18 AM, "Byte Flinger" <byteflinger at gmail.com> wrote:
> > >My guess would be that I need to implement a custom profile handler
> > >instead of a login handler then (or maybe even both)?
> >
> > I can't think of any obvious reason why you would do that rather
> > than simply manufacturing redirects to the unsolicited SSO endpoint.
>
> (Which went unanswered, of course.)
>
> So now you're back to wanting a login handler?
> -peter
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130801/133c900a/attachment.html 


More information about the users mailing list