Hi all, I'm kind of new to CAS but today I wanted to enable REST API to try it out on my computer. I've downloaded the very new CAS 4.0.0-RC4 from the Github repo.
Then I followed the instructions given here: https://wiki.jasig.org/display/casum/restful+api <https://wiki.jasig.org/display/casum/restful+api> I added <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-integration-restlet</artifactId> <version>${project.version}</version> <type>jar</type> </dependency> to*/cas-server-webapp/pom.xml/* and <servlet> <servlet-name>restlet</servlet-name> <servlet-class>com.noelios.restlet.ext.spring.RestletFrameworkServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>restlet</servlet-name> <url-pattern>/v1/*</url-pattern> </servlet-mapping> on*/cas-server-webapp/src/main/webapp/WEB-INF/web.xml /* */ /* It doesn't throw any errors at all but when I send a POST request on /cas/v1/tickets with the correct parameters i'm being sent back the login page in the server response (the login page corresponding ton */cas/login*)... After that I gave a try with CAS v3.5.2.1 and everything works well. Do you have any informations about this ? Did something changed and I didn't read the good documentation ? or did i just simply missed something ? Thanks a lot, -- Germain Souquet Direction du Syst?me d'Information Universit? de La Rochelle http://dsi.univ-lr.fr http://www.univ-larochelle.fr -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
