<div dir="ltr"><div><div><div><div><div><div><div>Hello,<br><br>I don't know if it is the simplest solution, but i am trying to implement the cookie reading using 
authn/External login flow.<br><br></div>So i edit 
<i>conf/authn/external-authn-<wbr>config.xml<br></i>I replace 
externalAuthnPath with  a 
servletRelative:/<wbr>rememberme

<br>    <bean id="shibboleth.authn.External.<wbr>externalAuthnPath" class="java.lang.String"<br>        c:_0="servletRelative:/<wbr>rememberme" /><br><br></div>I also tried without / :  
servletRelative:<wbr>rememberme

<br><br></div>Then i edit :<br>shibboleth-idp\webapp\WEB-INF\web.xml<br></div>and add :<br>    <br>    <!-- Servlet protected by container used for Remember me authentication --><br>    <servlet><br>        <servlet-name>rememberme</servlet-name><br>        <jsp-file>/WEB-INF/jsp/rememberme.jsp</jsp-file><br>    </servlet><br>    <servlet-mapping><br>        <servlet-name>rememberme</servlet-name><br>        <url-pattern>/rememberme</url-pattern><br>    </servlet-mapping><br><br>--<br></div>And wrote rememberme.jsp

:<br><br><%@ page import="net.shibboleth.idp.authn.*" %><br><%<br>final org.springframework.web.context.WebApplicationContext springContext =<br>    org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(request.getServletContext());<br><br>    System.out.println("------ REMEMBER ME LOGIN ------ ");<br><br>%><br><br></div>But the message is never written on Tomcat logs whereas i put the same System.out inside the metatada.jsp file and i saw the message inside Tomcat localhost.log<br></div>The rememberme.jsp is compiled by the server because there are compilation error in logs if there are error inside.<br><div><br><div><div><div><div>What do i missed to active the 
authn/External login flow

?<br><br></div><div>Thomas<br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-20 17:00 GMT+02:00 Thomas Colin de Verdière <span dir="ltr"><<a href="mailto:tdeverdiere@kapit.fr" target="_blank">tdeverdiere@kapit.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div>> What you're asking about is a login flow that logs somebody in using a 
cookie, and there is no reason to do anything with Spring Security to 
implement that

<br><br></div></span>Yes that is possible only with cookies.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-20 15:41 GMT+02:00 Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>> What are the entry points in Shibboleth to use the Spring Security<br>
> implementation ? Does someone already do that ?<br>
<br>
</span>What you're asking about is a login flow that logs somebody in using a cookie, and there is no reason to do anything with Spring Security to implement that.<br>
<div class="m_8875623187567138683HOEnZb"><div class="m_8875623187567138683h5"><br>
-- Scott<br>
<br>
<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/co<wbr>nfluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.n<wbr>et</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>