Re: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Bryan Wooten
Just my 2 cents and hope it helps. We use a time based RollingFileAppender. The size based created issues. And check your Tomcat localhost (not access log) log file. I found that some errors go to cas.log others to catalina.out and some of the more esoteric ones go to localhost. Also note that s

RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Misagh Moayyed
Yes. https://github.com/apereo/cas-overlay-template#executable-war  --  Misagh From: Wickham, Jeremy Reply: cas-user@apereo.org Date: March 10, 2017 at 12:16:49 AM To: cas-user@apereo.org Subject:  RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat Yes I am using an external tomc

RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Wickham, Jeremy
Yes I am using an external tomcat instance. I am also using the CAS overlay project because I had some customization that is required for our deployment. Is there a way to use the embedded tomcat with the CAS maven overlay? From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Misa

RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Misagh Moayyed
Sounds like this an external tomcat instance. I’d look into various other log files for Tomcat under /logs. If there isnt anything there, I’d adjust log levels for both CAS and Tomcat and see what might be happening. I’d also try the embedded tomcat and see if that shows the same thing. --  Mis

RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Wickham, Jeremy
Yes, it is writing the same thing to the cas.log in the tomcat logs directory. But it does write rolling log files on start up to the webapps directory. Which I don’t understand why. My logging config: logging.config: file:/etc/cas/config/log4j2.xml

Re: [cas-user] Custom Yubikey registry

2017-03-09 Thread Dimitri Gavrilov
Version 5.0.3.1 Am Donnerstag, 9. März 2017 15:39:12 UTC+1 schrieb Dmitriy Kopylenko: > > Which version of CAS? > > D. > > > From: Dimitri Gavrilov > Reply: cas-...@apereo.org > Date: March 9, 2017 at 6:46:41 AM > To: CAS Community > Subject: [cas-user] Custom Yubikey registry > > Hello c

Re: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Misagh Moayyed
 The following is what is written to my log file—After the profile log, there is nothing else written to catalina.out. What are some recommendations I need to look at? I doubt this has anything to do with Tomcat. You provided a log4j config file to CAS, correct? Is writing to the right place? D

Re: [cas-user] CASSecureCookie & CASCookie can be the same?

2017-03-09 Thread David Hawes
On 23 February 2017 at 00:19, RJ Guroo wrote: > Customer application has got HTTP and HTTPS enabled. Both are protected in > the same service in CAS. When a user logins to the app using HTTP and click > on some link thats got HTTPS, it goes into a loop. The other direction works > fine.. if a user

[cas-user] CAS Deployment Stalls When Deploying to Tomcat

2017-03-09 Thread Wickham, Jeremy
When deploying CAS to Tomcat, it will stall on deploy and will not give me any type of log telling me there was an ERROR. To note, if I try again it may or may not work. It is very inconsistent, but I have to remove the cas.war and cas directory from webapps and start tomcat, then deploy the war

[cas-user] Re: CAS 4.1.x TGC cookie not set to HTTPOnly with Servlet 3 API

2017-03-09 Thread Yan Zhou
I added httpOnly flag in the XML, that worked for me.Does this solution sound right? > Hi there, > > I have a CAS 4.1.X overlay, servlet API version 3 in POM.xml, and CAS > running on tomcat7. > > I observed that TGC cookie is set to Secure, but NOT httpOnly. Tomcat7 > default to H

[cas-user] CAS 4.1.x TGC cookie not set to HTTPOnly with Servlet 3 API

2017-03-09 Thread Yan Zhou
Hi there, I have a CAS 4.1.X overlay, servlet API version 3 in POM.xml, and CAS running on tomcat7. I observed that TGC cookie is set to Secure, but NOT httpOnly. Tomcat7 default to HttpOnly for session cookie but it does not know about CAS TGC cookie, so the CAS web app's session cookie ha

Re: [cas-user] Custom Yubikey registry

2017-03-09 Thread Dmitriy Kopylenko
Which version of CAS? D. From: Dimitri Gavrilov Reply: cas-user@apereo.org Date: March 9, 2017 at 6:46:41 AM To: CAS Community Subject:  [cas-user] Custom Yubikey registry Hello community,   Have anyone already implemented custom YubiKeyAccountRegistry and compiled it into the CAS?  

[cas-user] Re: Custom Yubikey registry

2017-03-09 Thread Misagh Moayyed
Does this help? https://apereo.github.io/2017/02/21/cas-autocfg-strategy/ On Thursday, March 9, 2017 at 3:14:25 PM UTC+3:30, Dimitri Gavrilov wrote: > > Hello community, > > > > Have anyone already implemented custom YubiKeyAccountRegistry and compiled > it into the CAS? > > > > I have accou

[cas-user] Custom Yubikey registry

2017-03-09 Thread Dimitri Gavrilov
Hello community, Have anyone already implemented custom YubiKeyAccountRegistry and compiled it into the CAS? I have account in LDAP with yubiKeyId attribute containing Yubikey public part. So the registry should be very simple – check if yubikey public part extracted from the entered