<HTML><HEAD>
<STYLE id=eMClientCss>blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
.plain pre, .plain tt { font-family: monospace; font-size: 100%; font-weight: normal; font-style: normal;}
a img { border: 0px; }body {font-family: Tahoma;font-size: 12pt;}
.plain pre, .plain tt {font-family: Tahoma;font-size: 12pt;}
</STYLE>

<STYLE></STYLE>
</HEAD>
<BODY scroll=auto class>
<DIV>Hi Jason,</DIV>
<DIV> </DIV>
<DIV>try to uncoment line with "PRE_AUTH_FILTER".</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV id=signature_old>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
<TABLE style="WHITE-SPACE: normal; WORD-SPACING: 0px; BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); FONT: medium 'Times New Roman'; WIDOWS: 1; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">
<TBODY>
<TR>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial, sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)" colSpan=2>
<P><SPAN style="FONT-SIZE: 14px; FONT-WEIGHT: bold">Roman Pudil</SPAN><BR>solution architect<BR><BR>gsm: [+420] 775 663 666<BR>e-mail:<SPAN class=Apple-converted-space> </SPAN><A href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</A></P></TD>
<TD style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </TD>
<TD>   </TD>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial, sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)">
<P>AMI Praha a.s.<BR>Pláničkova 11<BR>162 00 Praha 6<BR>tel./fax: [+420] 274 783 239<BR>web:<SPAN class=Apple-converted-space> </SPAN><A href="http://www.ami.cz/">www.ami.cz</A></P></TD>
<TD style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </TD>
<TD>   </TD>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial, sans-serif; COLOR: rgb(0,0,0)">
<P><IMG title="AMI Praha a.s." border=0 alt="" src="http://www.ami.cz/images/podpis/ami_logo.gif"></P></TD></TR>
<TR>
<TD colSpan=8><BR><A href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><IMG border=0 alt="" src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"></A></TD></TR>
<TR>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial, sans-serif; COLOR: rgb(128,128,128)" colSpan=8><BR>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<BR>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>------ Původní zpráva ------</DIV>
<DIV>Od: "Jason Everling" <<A href="mailto:jeverling@bshp.edu">jeverling@bshp.edu</A>></DIV>
<DIV>Komu: "Roman Pudil - AMI Praha a.s." <<A href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</A>>; "midPoint General Discussion" <<A href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</A>></DIV>
<DIV>Odesláno: 2.6.2016 15:51:17</DIV>
<DIV>Předmět: Re: [midPoint] Midpoint and SSO</DIV>
<DIV> </DIV>
<DIV id=x23f4afe8941641c29ce7caee3728912f>
<BLOCKQUOTE class=cite2 cite=CAFkZXY575JjwuJcZQ=qBUXyxMzHYDFutnOb6YyuzPUzeg_NaGg@mail.gmail.com type="cite">
<DIV dir=ltr>We are using the Java CAS Client, in midpoint 3.2, and haven't had any issues, it was pretty easy to setup. I am looking over my files to see if I did anything outside of that document or what was commented in ctx-web-security.xml but I do not think that would be the case. 
<DIV><BR></DIV>
<DIV>You can check ours here,</DIV>
<DIV><A href="http://pastebin.com/mHW8hvP4">http://pastebin.com/mHW8hvP4</A><BR></DIV>
<DIV><BR></DIV></DIV>
<DIV class=gmail_extra><BR clear=all>
<DIV>
<DIV class=gmail_signature data-smartmail="gmail_signature">
<DIV dir=ltr>JASON</DIV></DIV></DIV><BR>
<DIV class=gmail_quote>On Thu, Jun 2, 2016 at 8:40 AM, Roman Pudil - AMI Praha a.s. <SPAN dir=ltr><<A href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV>
<DIV>Hi Jason,</DIV>
<DIV>we tried CAS + MidPoint as SSO solution.</DIV>
<DIV> </DIV>
<DIV>Here is URL with configuration:</DIV>
<DIV><A href="https://wiki.evolveum.com/pages/viewpage.action?pageId=17760854">https://wiki.evolveum.com/pages/viewpage.action?pageId=17760854</A></DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
<TABLE style="WHITE-SPACE: normal; WORD-SPACING: 0px; BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); FONT: medium 'Times New Roman'; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<TBODY>
<TR>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial,sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)" colSpan=2>
<P><SPAN style="FONT-SIZE: 14px; FONT-WEIGHT: bold">Roman Pudil</SPAN><BR>solution architect<BR><BR>gsm: <A href="tel:%5B%2B420%5D%20775%20663%20666" value="+420775663666">[+420] 775 663 666</A><BR>e-mail:<SPAN> </SPAN><A href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</A></P></TD>
<TD style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </TD>
<TD>   </TD>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial,sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)">
<P>AMI Praha a.s.<BR>Pláničkova 11<BR>162 00 Praha 6<BR>tel./fax: <A href="tel:%5B%2B420%5D%20274%20783%20239" value="+420274783239">[+420] 274 783 239</A><BR>web:<SPAN> </SPAN><A href="http://www.ami.cz/">http://www.ami.cz/</A></P></TD>
<TD style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </TD>
<TD>   </TD>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(0,0,0)">
<P><IMG title="AMI Praha a.s." border=0 alt="" src="http://www.ami.cz/images/podpis/ami_logo.gif"></P></TD></TR>
<TR>
<TD colSpan=8><BR><A href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><IMG border=0 alt="" src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"></A></TD></TR>
<TR>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(128,128,128)" colSpan=8><BR>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<BR>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>------ Původní zpráva ------</DIV>
<DIV>Od: "Jason Everling" <<A href="mailto:jeverling@bshp.edu">jeverling@bshp.edu</A>></DIV>
<DIV>Komu: "midPoint General Discussion" <<A href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</A>></DIV>
<DIV>Odesláno: 2.6.2016 15:34:33</DIV>
<DIV>Předmět: Re: [midPoint] Midpoint and SSO</DIV>
<DIV> </DIV>
<DIV>
<BLOCKQUOTE class=cite cite=http://CAFkZXY5TSaydkP47K_PMhdYNj=PtJHRHcWqAJn8koo-6_-X2Tg@mail.gmail.com type="cite">
<DIV>
<DIV class=h5>
<DIV dir=ltr>What SSO method are you using or what SSO agent/client? </DIV>
<DIV class=gmail_extra><BR clear=all>
<DIV>
<DIV data-smartmail="gmail_signature">
<DIV dir=ltr>JASON</DIV></DIV></DIV><BR>
<DIV class=gmail_quote>On Thu, Jun 2, 2016 at 3:06 AM, mceylan <SPAN dir=ltr><<A href="mailto:mrveceylan@gmail.com">mrveceylan@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV dir=ltr>
<DIV><SPAN style="FONT-SIZE: 12px">hi,</SPAN></DIV>
<DIV style="FONT-SIZE: 12px"><BR></DIV>
<DIV style="FONT-SIZE: 12px">I have a problem with  midpoint and SSO. <SPAN style="FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(51,51,51); LINE-HEIGHT: 20px">I followed steps on the</SPAN><SPAN style="FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(51,51,51); LINE-HEIGHT: 20px"> </SPAN><A style="FONT-SIZE: 14px; TEXT-DECORATION: none; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(59,115,175); LINE-HEIGHT: 20px" href="https://wiki.evolveum.com/display/midPoint/MidPoint+and+SSO+HOWTO" rel=nofollow>https://wiki.evolveum.com/display/midPoint/MidPoint+and+SSO+HOWTO</A> 
<P style="FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 10px 0px 0px; LINE-HEIGHT: 20px; PADDING-RIGHT: 0px">When I try to get to <A style="TEXT-DECORATION: none; COLOR: rgb(59,115,175)" href="https://midpoint/" rel=nofollow>https://midpoint/</A> I get 500 and I can see stack trace in log (below).</P>
<P style="FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 10px 0px 0px; LINE-HEIGHT: 20px; PADDING-RIGHT: 0px">My configuration files: ctx-web-security.xml and web.xml are in attachments.</P>
<P style="FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 10px 0px 0px; LINE-HEIGHT: 20px; PADDING-RIGHT: 0px"><BR></P><PRE style="FONT-SIZE: 12px; OVERFLOW: auto; WORD-WRAP: normal; MARGIN-BOTTOM: 0px; WHITE-SPACE: pre-wrap; MARGIN-TOP: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; LINE-HEIGHT: 16px; PADDING-RIGHT: 0px; MAX-HEIGHT: 30em; BACKGROUND-COLOR: rgb(245,245,245)">org.springframework.security.web.authentication.preauth.PreAuthenticatedCredentialsNotFoundException: SM_USER header not found in request.
    </PRE>
<DIV><BR></DIV>
<DIV style="BORDER-TOP-STYLE: none; PADDING-BOTTOM: 0px; PADDING-TOP: 15px; PADDING-LEFT: 0px; MARGIN: 15px 0px 0px; PADDING-RIGHT: 0px">
<DIV style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 10px; MARGIN: 5px 0px 0px; PADDING-RIGHT: 0px">
<DIV style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px">
<DIV style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px">
<P style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 10px 0px 0px; PADDING-RIGHT: 0px">Could you help me ?<BR>Thank you very much</P></DIV></DIV></DIV></DIV>
<DIV style="BORDER-TOP-STYLE: none; PADDING-BOTTOM: 0px; PADDING-TOP: 15px; PADDING-LEFT: 0px; MARGIN: 15px 0px 0px; PADDING-RIGHT: 0px">
<DIV style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px">
<UL style="LIST-STYLE-TYPE: none; FONT-SIZE: 14px; FONT-FAMILY: Arial,sans-serif; FLOAT: right; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 2px 0px 0px; LINE-HEIGHT: 20px; PADDING-RIGHT: 0px">
<LI style="WHITE-SPACE: nowrap; FLOAT: left; PADDING-LEFT: 2px; MARGIN-LEFT: 8px; BORDER-LEFT: rgb(221,221,221) 1px dotted; DISPLAY: block">
<DIV style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><A title=Options style="OVERFLOW: visible; TEXT-DECORATION: none; WIDTH: 16px; VERTICAL-ALIGN: text-bottom; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: rgb(59,115,175); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MIN-HEIGHT: 16px; MARGIN: 0px; DISPLAY: inline-block; PADDING-RIGHT: 0px" href="https://jira.evolveum.com/browse/MID-2564#"></A></DIV></LI></UL>
<H2 style="FONT-FAMILY: Arial,sans-serif; COLOR: rgb(41,41,41); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 20px; DISPLAY: inline-block; LINE-HEIGHT: 1.5; PADDING-RIGHT: 5px"></H2></DIV></DIV></DIV>
<DIV>Merve</DIV></DIV><BR>_______________________________________________<BR>midPoint mailing list<BR><A href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</A><BR><A href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel=noreferrer>http://lists.evolveum.com/mailman/listinfo/midpoint</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV><BR></DIV></DIV><FONT size=2><BR><BR><SPAN>CONFIDENTIALITY NOTICE:<BR>This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. </SPAN></FONT><BR></BLOCKQUOTE></DIV></DIV><BR>_______________________________________________<BR>midPoint mailing list<BR><A href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</A><BR><A href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel=noreferrer>http://lists.evolveum.com/mailman/listinfo/midpoint</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV><BR><FONT size=2><BR><BR>CONFIDENTIALITY NOTICE:<BR>This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. </FONT><BR></BLOCKQUOTE></DIV></BODY></HTML>