[cas-user] CAS services management webapp database configuration for version 5

2017-01-03 Thread Maxwell, Gary

How does the latest version of CAS management services web application find the 
database used by CAS?
The management.properties file within the overlay project does not contain 
parameters to define the database connection.

Thanks Gary



-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/550fd86ac1254e5ca70326365f2dd339%40mbx2.fortlewis.edu.


Re: [cas-user] ldap to cas attribute mapping [5.0.1]

2017-01-03 Thread Christopher Boyer
Yes, same method. Statically listing when the base attribute is released. 
In WEB-INF/view/jsp/protocol/3.0/casServiceValidationSuccess.jsp



 

  
${fn:escapeXml(attr.value)}
  
${fn:escapeXml(attr.value)}


  
${fn:escapeXml(attr.value)}




Could have been made prettier...

It was documented for 3.x on the old jasig cas server user manual, but 
can't find any info that it was carried forward into 4+. I came on after 3 
so I am unsure if we had it set up.
https://wiki.jasig.org/display/casum/attributes#Attributes-Configuringmulti-valuedkeysupportforattributes



On Tuesday, January 3, 2017 at 12:09:39 PM UTC-5, apcausey wrote:
>
> ​Did you have a 1:* mapping setup in CAS 4.x? If so, how did you do that? 
>
> I haven't gotten around to upgrading to CAS 5.x yet, but do have a need 
> for this currently in CAS 4.
>
> thanks.​
>
> On Tue, Jan 3, 2017 at 10:34 AM, Christopher Boyer  > wrote:
>
>> Leaving this here in case it helps. If I am incorrect, let me know.
>>
>> I could not get a 1:* mapping of ldap attributes to work in CAS 5.0.1. I 
>> have an internal identifier 'uid' in ldap that needs to be released as both 
>> 'uid' and 'UDC_IDENTIFIER'. I am only able to get cas to release 1:1, the 
>> last one mapped in cas.properties. To solve I overrode 
>> templates/protocol/3.0/casServiceValidationSuccess.html to statically 
>> output a duplicate attribute with tag name replaced when UDC_IDENTIFIER is 
>> hit.
>>
>> changed
>> 
>> 
>> 
>> 
>> 
>>
>>
>> to
>> 
>> 
>> 
>> > th:remove="tag">
>> 
>> 
>> 
>> 
>>
>>
>>
>> -- 
>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>> - CAS mailing list guidelines: 
>> https://apereo.github.io/cas/Mailing-Lists.html
>> - CAS documentation website: https://apereo.github.io/cas
>> - CAS project website: https://github.com/apereo/cas
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cas-user+u...@apereo.org .
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/41c3568a-6df7-4b41-8505-ea3a0f0474da%40apereo.org
>>  
>> 
>> .
>>
>
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ca5353aa-3bfb-44db-8dba-726893041b35%40apereo.org.


[cas-user] inspektr-jdbc-audit-config.xml

2017-01-03 Thread carlos maddaleno cuellar
Hi i need some help im trying to configure my audit to sql server data base
on my orale is working fine but when i change the cas.properties to my sql
server the log says

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'inspektrAuditEntityManagerFactory' defined in class path
resource [inspektr-jdbc-audit-config.xml]: Invocation of init method
failed; nested exception is javax.persistence.PersistenceException:
[PersistenceUnit: default] Unable to build Hibernate SessionFactory

Caused by: javax.persistence.PersistenceException: [PersistenceUnit:
default] Unable to build Hibernate SessionFactory


Caused by: org.hibernate.exception.GenericJDBCException: Unable to obtain
JDBC Connection

the params on my cas.properties are this:

#cas.audit.max.agedays=
#cas.audit.database.dialect=
#cas.audit.database.batchSize=
cas.audit.database.ddl.auto=validate
cas.audit.database.gen.ddl=false
cas.audit.database.show.sql=true
cas.audit.database.driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
cas.audit.database.url=jdbc:sqlserver://172.18.141.81
\DESA;databaseName=SEGURIDAD_BOLSA_EMPLEO
cas.audit.database.user=sa_desarrollo
cas.audit.database.password=EPXV5AA9BQ
#cas.audit.database.pool.minSize=
#cas.audit.database.pool.minSize=
#cas.audit.database.pool.maxSize=
#cas.audit.database.pool.maxIdleTime=
#cas.audit.database.pool.maxWait=
#cas.audit.database.pool.acquireIncrement=
#cas.audit.database.pool.acquireRetryAttempts=
#cas.audit.database.pool.acquireRetryDelay=
#cas.audit.database.pool.idleConnectionTestPeriod=
#cas.audit.database.pool.connectionHealthQuery=


cas.audit.database.dialect=org.hibernate.dialect.SQLServerDialect

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BcvcYkq1hay-2mZcpia1y%2BOaYBuOLKLMVNWEfvE9knYbw%40mail.gmail.com.


[cas-user] ldap to cas attribute mapping [5.0.1]

2017-01-03 Thread Christopher Boyer
Leaving this here in case it helps. If I am incorrect, let me know.

I could not get a 1:* mapping of ldap attributes to work in CAS 5.0.1. I 
have an internal identifier 'uid' in ldap that needs to be released as both 
'uid' and 'UDC_IDENTIFIER'. I am only able to get cas to release 1:1, the 
last one mapped in cas.properties. To solve I overrode 
templates/protocol/3.0/casServiceValidationSuccess.html to statically 
output a duplicate attribute with tag name replaced when UDC_IDENTIFIER is 
hit.

changed







to











-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/41c3568a-6df7-4b41-8505-ea3a0f0474da%40apereo.org.


[cas-user] Re: SAML2 delegation + SLO

2017-01-03 Thread Vincent Noel
Well, it seems that the SAML v2 SLO isn't implemented yet in CAS  !

Discussion to follow at 
https://groups.google.com/forum/#!topic/pac4j-dev/7eGZ7b_7a7U



Le mardi 3 janvier 2017 11:36:06 UTC+1, Vincent Noel a écrit :
>
> Hi everyone !
> I have a CAS v4.2 server with SAML v2.0 delegation configured. I have many 
> SP connected to this CAS server that delegates the authentication to an 
> external SAML v2.0 IdP. It works correctly for the SSO, but is there a way 
> to configure the SLO properly ? My SP are correctly loggued out from the 
> CAS (by calling once the /cas/logout URL) but my session is still valid on 
> the external IdP (the SAML v2.0 SLO request seems not to be sent when I 
> read the logs).
>
> Is there any way to configure the SLO delegation ?
>
> Thanks for any advice
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/394c4a0d-17ab-40eb-ab15-c890d286fd6d%40apereo.org.