Sorry, failed to subscribe to the list first. On Thursday, January 8, 2015 8:47:35 AM UTC-6, Aaron Spike wrote: > > I apologize in advance if I'm breaking list etiquette. (e.g. Rule #1: > Always use specific subject lines.) I'm working through my first test > install of CAS. I'm new enough to the Java ecosystem that seemingly simple > tasks like properly configuring logging are still a mystery to me. I'm have > read and continue to read the docs. I understand a little more each read > through. My plan is to make my test install function and then start over > until I feel confident I know what I'm doing and why things work. > > I would like to use CAS to authenticate: > > 1. Moodle (in progress) > 2. A Java servlet (Orbeon Forms) (in progress) > 3. An internally developed PHP application (not started) > > I've started working with the first two to confirm that my CAS setup is > working. It isn't. > > After successful login on my CAS server, Moodle responds with "The given > username contains invalid characters" and indeed the username passed in is > something weird like "3eytuju6mqbz5d8+v93dfbyfjv8=". > After successful login on my CAS server, the Tomcat running Orbeon Forms > presents me with the following traceback: > > java.lang.IllegalArgumentException: protocol = https host = null > sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:170) > > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:926) > > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) > > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091) > > sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) > > org.jasig.cas.client.validation.Saml11TicketValidator.retrieveResponseFromServer(Saml11TicketValidator.java:259) > > org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:200) > > org.jasig.cas.client.tomcat.AuthenticatorDelegate.authenticate(AuthenticatorDelegate.java:99) > > org.jasig.cas.client.tomcat.v7.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:159) > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:574) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1810) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > I'm not sure what information is relevant to finding a solution to these > problems (or more likely getting me past them to the next error messages), > but I will happily provide whatever is needed. > > Aaron Spike >
-- This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College. -- 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
