PAS Form authentication model in Loop OE 11.7.2 migrate from

Posted by christian.bryan@capita.co.uk on 15-Jan-2019 06:02

Hi PSDNers

I am migrating an OE 11.6 FORMs based authentication PAS to OE 11.7 and i am having trouble with the login form.

I have updated the oeablsecurity.properties file to indicate the location of the custom login page e.g.

http.formlogin.loginpage=/auth/AdvantageLogin.html
http.formlogin.loginurl=/static/auth/j_spring_security_check
#CJB
http.formlogin.usedefaulttarget=false
http.formlogin.defaulturl=/
#http.formlogin.failureurl=/static/auth/loginfail.html
#CJB
http.formlogin.failureurl=/auth/AdvantageLoginFail.html
http.formlogin.usernamefield=j_username
http.formlogin.userpasswordfield=j_password

I have also changed the web-inf/spring/authFilters.xml to use the above data e.g.

<b:bean id="OEFormEntryPoint"
class="com.progress.appserv.services.security.OEFormAuthnEntryPointHandler">
<!-- CJB -->
<!-- <b:constructor-arg value="/static/auth/login.jsp" /> -->

<b:constructor-arg value="${http.formlogin.loginpage}" />
<!-- OE SSO token manager used to support OpenEdge SSO tokens -->
<b:property name="tokenManager" ref="OESSOTokenManager" />

<!-- Error response detail: 0 = safe; 1 = terse; 2 = debug
[Default: 0 ] -->
<b:property name="tokenErrorDetail" value="${OEFormEntryPoint.tokenErrorDetail}" />

</b:bean>

However when i go to the URL it loops on a 302 error trying to redirect /auth/AdvantageLogin.html.

Any ideas as to why?

Thanks

Christian.

All Replies

This thread is closed