简体   繁体   中英

LogiXML Security - Basic Authentication

I'm pretty new to the forums and new to programming in general. My question regarding LogiXML is the following:

I have a LogiXML website which requires Basic Authentication (IIS) for them to log in. I want LogiXML to use this username and password combination to authenticate the user so that they may save dashboards, charts, etc (their own @Username.xml file with everything saved). I have added the security component to the settings tab in LogiXML, set the Authentication Source to "AuthSession" and Security Enabled to "True" but I get the following error:

"The Session variable "rdUserName" must be set when AuthenticationSource="AuthSession""

I appreciate any help I can get on the matter, thank you!

If you're using Basic Auth from within IIS to pass user credentials to the application, then you'll want to use the Security option for "AuthNT" instead of "AuthSession". "AuthNT" uses the operating system's security to get the Username -- in this case, your Basic authentication setting. You'll also need to make sure that anonymous access for the web site in IIS is disabled.

For more details on setting up the various types of security in LogiXML you might want to have a look at this article on the Logi DevNet on Security Scenarios : http://devnet.logixml.com/rdPage.aspx?rdReport=Article&dnDocID=1186

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM