In trying to create a maven overlay for cas-management-webapp 4.0.0, I seem to be missing something in configuration. Using the following docs :
http://jasig.github.io/cas/4.0.0/installation/Service-Management.html Setup for the local file based admin users via 'classpath:user-details.properties’ Using the pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd "> <groupId>edu.nau.its.sia.cas</groupId> <modelVersion>4.0.0</modelVersion> <artifactId>nau-cas-management</artifactId> <packaging>war</packaging> <version>0.1-DEVELOPMENT</version> <build> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <warName>cas-management</warName> <overlays> <overlay> <groupId>org.jasig.cas</groupId> <artifactId>cas-management-webapp</artifactId> </overlay> </overlays> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-management-webapp</artifactId> <version>${cas.version}</version> <type>war</type> <scope>runtime</scope> </dependency> </dependencies> <properties> <cas.version>4.0.0</cas.version> </properties> </project> I get the following WARN on startup: 2014-10-02 16:27:32,939 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [AbstractAccessDecisionManager.accessDenied] cannot be found in the language bundle for the locale [en_US]> When trying to access the /cas-management/ webapp, I get the following ERROR and WARNs: 2014-10-02 16:28:55,367 ERROR [org.jasig.cas.client.util.CommonUtils] - <Connection refused> java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:326) at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:305) at org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:50) at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:207) at org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticateNow(CasAuthenticationProvider.java:140) at org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticate(CasAuthenticationProvider.java:126) at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156) at org.springframework.security.cas.web.CasAuthenticationFilter.attemptAuthentication(CasAuthenticationFilter.java:242) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:277) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2451) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2440) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2014-10-02 16:28:55,371 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [management.services.title] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,373 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [management.services.link.logout] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [application.title] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [management.services.title] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [addServiceView] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [manageServiceView] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [screen.unavailable.heading] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,374 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [screen.unavailable.message] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,375 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.links] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,375 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.homePage] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,375 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.wiki] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,375 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.issueTracker] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,375 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.mailingLists] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,376 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.copyright] cannot be found in the language bundle for the locale [en_US]> 2014-10-02 16:28:55,376 WARN [org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code [footer.poweredBy] cannot be found in the language bundle for the locale [en_US]> Any ideas on this? — Raymond Walker Software Systems Engineer StSp. ITS - Northern Arizona University -- 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
