[cas-user] How to remove TARGET parameter

2014-09-02 Thread Baldur Dae
Hi community, I've used CAS for several java web applications and the results are great so far. Now I'd like to configure one of them to use gateway feature. I've set gateway init-param to true and the protocol is SAML like the rest of my applications. However I always get the TARGET parameter

Re: [cas-user] How to remove TARGET parameter

2014-09-02 Thread Marvin Addison
I always get the TARGET parameter in the url until the user authenticates. How can I remove this TARGET parameter? TARGET == ticket for the SAML feature in CAS, so it's naturally present until you authenticate. That's to say you can't and shouldn't remove it. M -- You are currently

[cas-user] cas 4 (initial clean build failure: ..src/licensing/header.txt)

2014-09-02 Thread Sam Pratt
Hi Dan, I am having the same problem. Did you ever get a solution? Sam -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] CAS 4.0.0: LDAP Attribute Repository - I think I have it working - How to verify? - Someone PLEASE respond

2014-09-02 Thread David A. Kovacic
Hi Carl, You read it correctly. Calling the service validation stuff as https://server/cas/p3/serviceValidate does indeed use protocol 3 and returns those attributes as released through the service definition. The XML generated returns the released attributes wrapped in cas:attribute tags.

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Rex Roof
I'm sorry, I hate to be obtuse, but which bean are you talking about? and where do I find docs about what the bean's properties need to be? Your earlier link goes to java code and I'm not sure how it correlates to the bean definition. - Rex Roof WCC Systems Engineer r...@wccnet.edu On Thu,

Re: [cas-user] cas 4 (initial clean build failure: ..src/licensing/header.txt)

2014-09-02 Thread Vallee Romain
Hello, i had the same problem, i solve by : In pom.xml : replace header${cs.dir}/src/licensing/header.txt/header by header${licenseHeader}/header let me know 2014-09-02 18:33 GMT+02:00 Sam Pratt spr...@suffolk.edu: Hi Dan, I am having the same problem. Did you ever get a solution?

Re: [cas-user] CAS 4.0.0: LDAP Attribute Repository - I think I have it working - How to verify? - Someone PLEASE respond

2014-09-02 Thread David A. Kovacic
Adding a logger for the PolicyBasedAuthenticationManager does show the principals being being populated. Thanks for the information :-) I tried dropping back to just a stub attributeRepository bean: bean id=attributeRepository

Re: [cas-user] CAS 4.0.0: LDAP Attribute Repository - I think I have it working - How to verify? - Someone PLEASE respond

2014-09-02 Thread Marvin Addison
I tried dropping back to just a stub attributeRepository bean: bean id=attributeRepository class=org.jasig.services.persondir.support.StubPersonAttributeDao p:backingMap-ref=attrRepoBackingMap / util:map id=attrRepoBackingMap entry key=uid value=user /

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Rex Roof
I'm looking at this wiki page: https://wiki.jasig.org/display/CASUM/Auditing+and+Statistics+Via+Inspektr but it looks a little out of date for 3.5. I made these updates to my deployerConfigContext.xml: bean id=dataSource class=com.mchange.v2.c3p0.ComboPooledDataSource destroy-method=close

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Dmitriy Kopylenko
Just have this one bean definition (in your deployerConfigContext and get rid of that ‘auditManager’ bean def): bean id=auditTrailManager class=com.github.inspektr.audit.support.JdbcAuditTrailManager constructor-arg index=0 ref=inspektrTransactionTemplate / property name=dataSource

Re: [cas-user] CAS 4.0.0: LDAP Attribute Repository - I think I have it working - How to verify? - Someone PLEASE respond

2014-09-02 Thread David A. Kovacic
Nope, all that does is cause the attributes to have empty values in them: 2014-09-02 16:03:28,104 DEBUG [org.jasig.cas.authentication.LdapAuthenticationHandler] - Found principal attribute: [uid[rat9]] 2014-09-02 16:03:28,104 DEBUG [org.jasig.cas.authentication.LdapAuthenticationHandler] - Found

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Dmitriy Kopylenko
Also please do keep in mind that you’d need pre-create this table in order for this impl to work: CREATE TABLE COM_AUDIT_TRAIL ( AUD_USER VARCHAR2(100) NOT NULL, AUD_CLIENT_IP VARCHAR(15) NOT NULL, AUD_SERVER_IP VARCHAR(15) NOT NULL, AUD_RESOURCE VARCHAR2(100) NOT NULL,

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Rex Roof
that finally got CAS to come back up! I'm not yet getting Mysql logs, but it's another step. Now I have this error: Exception in thread pool-3-thread-1 org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is

[cas-user] PHP CAS on Linux/Apache - CAS service URL is set to use HTTP and not HTTPS

2014-09-02 Thread Haer, Neelam
Hi All, I'm not sure why this is, but for some reason, even though my original URL accessing my restricted content is HTTPS, the CAS php library only sets the service=http://my_app_url instead of https. I can't figure out why this would be? Everything in the configuration (config.php) seems

[cas-user] Missing classes in Eclipse build of clustered CAS 4.0.0

2014-09-02 Thread Sam Pratt
I am using Eclipse to build CAS 4.0.0 clustered server with MySQL as the ticket cache. I am also doing a maven build but keeping that separate for reasons that are not relevant. The problem is java.lang.NoClassDefFoundError thrown by the Spring ContextLoaderListener when the war file is

Re: [cas-user] PHP CAS on Linux/Apache - CAS service URL is set to use HTTP and not HTTPS

2014-09-02 Thread Waldbieser, Carl
Neelam, Is your service behind a web proxy or something like that? In other words, if you output $_SERVER[HTTPS] from yout PHP, would you get a value, or is SSL being terminated at a proxy? Thanks, Carl Waldbieser ITS System Programmer Lafayette College - Original Message - From:

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Dmitriy Kopylenko
You might want to make sure that the mysql jdbc driver jar is available on the servlet's container system classpath ($CATALINA_HOME/lib in case of Tomcat, etc.) Also, as I mentioned before, you'd need to create the specific audit table that jdbc audit trail manager impl expects. D. Sent

Re: [cas-user] moving audit trail messages into MySQL

2014-09-02 Thread Rex Roof
I added the mysql-connect jar file to my WEB-INF/lib folder and now it works! excellent! 3 followup questions: 1) should I enable statistics, too? how is that done? 2) should I worry about the security of this database information? some of our mysql databases have a few dbas and developers.