spring - securing controller added to jasig cas 3.5.2 -
I have succeeded in adding password functionality to our CAS server, but new to CAS and Spring. I have successfully added a Multi-Action Controller to the overlay, but I see how it can be secured before viewing the pages and the user needs to authenticate. So far, I have added this to the CAS Overlay Project:
web.xml
& lt; Filter-mapping & gt; & Lt; Filter-name & gt; SpringSecurityFilterChain & lt; / Filter-name & gt; & Lt; URL pattern & gt; / Pm / change / * & lt; / URL pattern & gt; & Lt; / Filter-mapping & gt; & Lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; Cas & lt; / Servlet-name & gt; & Lt; URL pattern & gt; / Pm / change / * & lt; / URL pattern & gt; & Lt; / Servlet-mapping & gt;
cas-servlet.xml
& lt; Property Name = "Mapping" & gt; & Lt; Theater Content & gt; ... & lt; Prop key = "/ pm / change / *" & gt; Password Change Administrator & lt; / Prop & gt; & Lt; / Theater & gt; & Lt; / Property & gt; & Lt; Bean id = "passwordChangeController" class = "... password-change controller" page: change passwordEven = "default / UI / pmPasswordChangeView" p: passwordChangeSuccessView = "default / UI / pmPasswordChangeSuccessView" />
I believe I have security links. I'm missing mapping in XML, but whatever endeavors I've tried, end in endless ends, or in all cases just use denied messages.
> Any advice would be greatly appreciated.Thanks