Hello all, Here is the my web.xml content , I want cas authentication only to https://test-site.net , I don't want CAS for reaming pages after the URL ex:- https://test-site.net/test.jsp like this
Please provide valuable suggestions <!-- CAS --> <filter> <filter-name>CAS Filter</filter-name> <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name> <param-value>https://domain.edu/cas/login</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> <param-value>https://domain.edu/cas/serviceValidate</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name> <param-value>test-site.net</param-value> </init-param> </filter> <filter-mapping> <filter-name>CAS Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- Ends --> Regards, Shiva.G From: Scott Battaglia Sent: Monday, February 24, 2014 12:08 AM To: [email protected] Subject: Re: [cas-user] Cas java client support specific page authentication Why not just apply the filter to that specific page in your web.xml? On Fri, Feb 21, 2014 at 2:32 PM, shiva <[email protected]> wrote: Hello, We are using cas java client in web.xml I have a requirement that it only needs one specific page needs cas authentication Please advise me Thanks Shiva -- 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 -- You are currently subscribed to [email protected] as: [email protected] unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- 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
