Hi,

You can simply do this by calling 
http://localhost:8888/icinga-web/appkit/login/json
with the post parameters
dologin=1
username=%your username%
password=%your password%

Regards,

Jannis

Am 05.05.2011 um 00:59 schrieb Joseph Crain:

> Hello,
> 
> I would like to add icinga as a feature contained within a greater set
> of tools within a customer portal.  I have an authentication scheme to
> access the portal and it would be nice to allow the user to click a
> button and access their linked icinga user account without having to
> login again.
> 
> I was hoping to be able to send an HTTP post to the login url with the
> username/password. I poked around in the code a little but didn't get
> far, looks like the login happens via json/ajax and I thought I would
> stop and ask before proceeding.  I also looked at using HTTP basic
> auth and I am unsure how to make this work since the web server that
> hosts the portal is a different machine.  Can anyone help me out here?
> 
> Thanks
> -joe
> 
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users

--
Jannis Moßhammer
Software Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein | AG Nürnberg HRB18461 

http://www.netways.de 

** NETWAYS Open Source Data Center Conference 2011 | Nürnberg, 06. und 07. 
April 2011 | http://www.netways.de/osdc **




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to