Log user into Kentico Admin site based on HttpHeader value from Siteminder - Stack Overflow

index.html - {keywords1}- Authentication events occur when a user accesses a resource protected by a rule that includes an On-Auth event. Unlike Web Agent actions or authorization events ...


Skip to main content Stack Overflow About Products For Teams Stack Overflow Public questions & answers Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers Talent Build your employer brand Advertising Reach developers & technologists worldwide Labs The future of collective knowledge sharing About the company

current community

Stack Overflow help chat Meta Stack Overflow

your communities

Sign up or log in to customize your list.

more stack exchange communities

company blog Log in Sign up Home Questions Tags Users Companies Labs Discussions Collectives

Communities for your favorite technologies. Explore all Collectives

Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

Explore Teams Create a free Team Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Get early access and see previews of new features.

Learn more about Labs

Log user into Kentico Admin site based on HttpHeader value from Siteminder

Ask Question Asked 7 years, 3 months ago Modified 7 years, 3 months ago Viewed 196 times 0

My company has just obtained Kentico for some new applications. These applications will be going into production in about 2 weeks, so we are still fairly new with this. What we have are three ASP.NET MVC applications/sites that format and present content that is stored in Kentico. Additionally, we have specific users who will log into the Kentico9/Admin site to manage the content displayed by the MVC apps.

From a corporate standpoint, we also have Siteminder SSO enabled. When a user navigates to our Kentico9/Admin site, they are first authenticated by our corporate Siteminder SSO form using their corporate user id. When they are successfully authenticated, Siteminder redirects the user to the Kentico9/Admin site they originally requested and the user is presented with the standard Kentico login form. If the user has already logged in through Siteminder during another session, they only get presented with the Kentico login form. Otherwise, if this is their first time logging in, the user is required to login twice (once through Siteminder and again through Kentico).

What I want to do is bypass the standard Kentico login form and use the Siteminder information to Authorize the user to log them into the Kentico admin site. Siteminder adds the username and some other information to the HTTP request headers. Using C#, I can retrieve their corporate user id using the following: System.Web.HttpContext.Current.Request.Headers.Get("SM_USERID") .

So, in a nutshell, I want to override Kentico's standard login form and write some code that will get the user id from the HTTP request header and authorize the user by looking up their userid in Kentico. If the user id is not found or is not active, present the user with the standard Kentico login form. Otherwise, if the user is a valid and active user, pull their user record and allow them to access Kentico.

I have found some tidbits of information and given enough time, I may be able to figure something out, but I am hoping someone has done something similar and can speed up my process. Any ideas on what I can do? I will also entertain anything that might have tighter integration with Siteminder, although it doesn't seem Kentico can handle Siteminder out of the box, but I am not sure about that.

kentico siteminder Share Improve this question Follow edited Feb 4, 2017 at 21:50 rocky 7,586 3 3 gold badges 36 36 silver badges 49 49 bronze badges asked Feb 3, 2017 at 18:37 KenFitz KenFitz 1 1 1 bronze badge Add a comment |

1 Answer 1

Sorted by: Reset to default Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first) 0

Sounds like you might be able to create a custom webpart which you will place on a page and simply have Siteminder redirect the user to the page with that webpart on it and look for those header values on page load. If it finds them, perform your actions within Kentico to look that user up and authenticate them in Kentico as needed. If there are no header values or it can't find the Kentico info, simply send them to the regular login page.

You could also create a global event handler but that would require someone to click a button or such on your site after they have entered credentials.

Share Improve this answer Follow answered Feb 3, 2017 at 18:44 Brenden Kehren Brenden Kehren 6,042 17 17 silver badges 28 28 bronze badges Add a comment |

Not the answer you're looking for? Browse other questions tagged kentico siteminder or ask your own question .

The Overflow Blog The reverse mullet model of software engineering Reshaping the future of API platforms Featured on Meta Our Partnership with OpenAI Imgur image URL migration: Coming soon to a Stack Exchange site near you! Policy: Generative AI (e.g., ChatGPT) is banned The [connect] tag is being burninated

Related

2 Logging into SiteMinder using Java 4 Log a user in to my front end website using kentico 1 SiteMinder and HTTP Client - User Login Info 1 Authentication for custom web application using Siteminder 1 Siteminder bypass authentication for specific IP address 0 how to check if already login into siteminder 0 getting username from siteminder sso 0 How to make user logged in from code in Kentico 9? 1 Post to Siteminder login.fcc to retrieve a cookie using java 0 How to redirect to home page in kentico after login in site intead Admin/cmsadministration.aspx?

Hot Network Questions

3 Dimensional Minesweeper Help choosing right chainset / crankset - commuter looking for a faster top speed Does Windows 10's portability limit OS features? On what basis does Frieren (Sousou no Frieren) reject the rights of Demons to exist? What's so special about Frodo? What is the collective name of the four points in the narrative where a roll might be called for? Two minipage with horizontal lines and a vertical line Curved beam on tikz You will be out of Google Account storage once your WhatsApp backup begins counting : Solution to avoid being forced to pay & have a safety backup? sample size calculation using G*Power -- which model to use based on an already calculated effect size? A seemingly contradictory function - where's the issue? Would you use youngsters to refer to young people in a data report? What happens if someone leaves a train to/from Pyongyang at an intermediate stop? Are Artin-Tits groups ordered groups? How to make gas bbq ready for cooking after a long non use Why shut down Al Jazeera in Israel? In surreal numbers, what is the successor of all the germs in the Hardy field? What does bread basket refer to? How to create rows that are off-centered from others Would it be possible to create a telepathic field with electromagnetism? Light waves can't have a wavelength Do bards have to make sounds to cast spells? If gravity is not a force, what makes massive objects spheroid? Calling TikZ code (speedometer) several time to plot the same graph multiple time more hot questions Question feed

Subscribe to RSS

Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Stack Overflow
Questions Help
Products
Teams Advertising Collectives Talent
Company
About Press Work Here Legal Privacy Policy Terms of Service Contact Us Cookie Settings Cookie Policy
Stack Exchange Network
Technology Culture & recreation Life & arts Science Professional Business API Data Blog Facebook Twitter LinkedIn Instagram

Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.5.3.8609




Vestibulum venenatis

Fermentum nibh augue praesent a lacus at urna congue rutrum.

Etiam posuere

Praesent scelerisque

Vivamus fermentum nibh in augue praesent urna congue rutrum.

Etiam posuere

Donec dictum metus

Vivamus fermentum nibh in augue praesent urna congue rutrum.

Etiam posuere

Mauris vulputate dolor

Rutrum fermentum nibh in augue praesent urna congue rutrum.

Etiam posuere