Hi guys, i am using cas version 3.5.2 with tomcat.
I am trying to add a new service that will map my application but can not achieve it , after pressing 'Add new service' the page appear and i fill it with the service details: Name: test Service Url : ^(https?|imaps?)://.* Descirption : Test when i click on save , i redirected to the main page but no services is added , i have activated the debug on the jasig cas but no errors is appearing there !. logs: DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] - Extractor generated service for: https://xxx.xxx.com:8443/cas-server-webapp-3.5.2/services/j_acegi_cas_security_check 2013-10-17 17:22:59,172 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve ticket [TGT-14-2LUocOwNJFfEkDDLxDKsW3cIhQwuhzyRpUjjiCFUZUvfc6aZii-cas01.example.org] 2013-10-17 17:22:59,172 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Ticket [TGT-14-2LUocOwNJFfEkDDLxDKsW3cIhQwuhzyRpUjjiCFUZUvfc6aZii-cas01.example.org] found in registry. 2013-10-17 17:22:59,172 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Added ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] to registry. 2013-10-17 17:22:59,173 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] for service [https://xxx.xxx.com:8443/cas-server-webapp-3.5.2/services/j_acegi_cas_security_check] for user [ndoe] 2013-10-17 17:22:59,173 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve ticket [TGT-14-2LUocOwNJFfEkDDLxDKsW3cIhQwuhzyRpUjjiCFUZUvfc6aZii-cas01.example.org] 2013-10-17 17:22:59,173 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Ticket [TGT-14-2LUocOwNJFfEkDDLxDKsW3cIhQwuhzyRpUjjiCFUZUvfc6aZii-cas01.example.org] found in registry. 2013-10-17 17:22:59,174 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN ============================================================= WHO: ndoe WHAT: ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org for https://xxx.xxx.com:8443/cas-server-webapp-3.5.2/services/j_acegi_cas_security_check ACTION: SERVICE_TICKET_CREATED APPLICATION: CAS WHEN: Thu Oct 17 17:22:59 CEST 2013 CLIENT IP ADDRESS: xx.xx.xx.xx SERVER IP ADDRESS: xx.xx.xx.xx ============================================================= 2013-10-17 17:22:59,269 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Placing URL parameters in map. 2013-10-17 17:22:59,269 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Calling template URL attribute map. 2013-10-17 17:22:59,270 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Loading custom parameters from configuration. 2013-10-17 17:22:59,270 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Constructing validation url: https://xxx.xxx.com:8443/cas-server-webapp-3.5.2/serviceValidate?ticket=ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org&service=https%3A%2F%2Fxxx.xxx.com%3A8443%2Fcas-server-webapp-3.5.2%2Fservices%2Fj_acegi_cas_security_check 2013-10-17 17:22:59,270 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Retrieving response from server. 2013-10-17 17:22:59,277 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] - Extractor generated service for: https://xxx.xxx.com:8443/cas-server-webapp-3.5.2/services/j_acegi_cas_security_check 2013-10-17 17:22:59,283 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] 2013-10-17 17:22:59,283 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] found in registry. 2013-10-17 17:22:59,283 DEBUG [org.jasig.cas.CentralAuthenticationServiceImpl] - Principal id to return for service [HTTP and IMAP] is [ndoe]. The default principal id is [ndoe]. 2013-10-17 17:22:59,283 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Removing ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] from registry 2013-10-17 17:22:59,283 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve ticket [ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org] 2013-10-17 17:22:59,283 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN ============================================================= WHO: audit:unknown WHAT: ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org ACTION: SERVICE_TICKET_VALIDATED APPLICATION: CAS WHEN: Thu Oct 17 17:22:59 CEST 2013 CLIENT IP ADDRESS: xx.xx.xx.xx SERVER IP ADDRESS: xx.xx.xx.xx ============================================================= 2013-10-17 17:22:59,284 DEBUG [org.jasig.cas.web.ServiceValidateController] - Successfully validated service ticket: ST-61-RHMBU1umOqxsicw1OmCF-cas01.example.org 2013-10-17 17:22:59,286 DEBUG [org.jasig.cas.client.validation.Cas20ServiceTicketValidator] - Server response: <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> <cas:authenticationSuccess> <cas:user>ndoe</cas:user> </cas:authenticationSuccess> </cas:serviceResponse> NB: i was trying many time to achieve this, once i was able to add the service and it appeared in the management console but once i restarted cas it disseapered !? and thanks for your help. -- 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
