Re: [cas-user] how does Single Log Out work?

2018-12-07 Thread Ray Bon
Yan,

Single log out is on by default (this is the case in 5.x.), and the default 
conditions are: LOGOUT_URL is the one that was used during login, back channel 
is default LOGOUT_TYPE.

These log configs may help (they may be different in 4.x):

















Ray

On Fri, 2018-12-07 at 14:06 -0800, Yan Zhou wrote:
Hello,

I am under the impression that, if I type /cas/logout in browser, it logs me 
out of CAS, then, CAS goes through all services, look for LOGOUT_URL and 
LOGOUT_TYPE.

Any service has a LOGOUT_URL and LOGOUT_TYPE defined (e.g., Back Channel), CAS 
will POST to that URL.

Is that how it works?  But, I do not see it happening.  I am running CAS 4.1.x 
overlay.

Thx!
Yan

--
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/1544227809.2944.118.camel%40uvic.ca.


[cas-user] how does Single Log Out work?

2018-12-07 Thread Yan Zhou
Hello, 

I am under the impression that, if I type /cas/logout in browser, it logs 
me out of CAS, then, CAS goes through all services, look for LOGOUT_URL and 
LOGOUT_TYPE.

Any service has a LOGOUT_URL and LOGOUT_TYPE defined (e.g., Back Channel), 
CAS will POST to that URL. 

Is that how it works?  But, I do not see it happening.  I am running CAS 
4.1.x overlay.

Thx!
Yan 

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/83e51b20-b20b-4433-b82f-3c550c0f9872%40apereo.org.


[cas-user] Transform String profile attribute to Array when querying the attribute repository

2018-12-07 Thread Martin Böhmer
Hi,

I'm using a JDBC-based attribute repository to resolve attributes in single-row 
style 
.
 
The groups a user is a member of are returned from the database as a 
comma-seperated list, i.e. the attribute is a single-valued String. I need 
to transform this String into a mulit-valued attribute, i.e. an attribute 
representing an array with the individual groups. I'm aware of the option 
to do this upon attribute release, e.g. using a groovy script 
.
 
As I have a lot of services that I need to release the group memberships 
to, I would prefer to do the transformation earlier when querying the 
attribute repository, include the array attribute in the user profile and 
release it without any service-specific transformations.

However, I cannot find a way to get there. How would I implement this?

What I tried is adjusting the database (PostgresQL) to return an array 
instead of a String. Unfortunately, this results in an error I described in 
another thread 
.
 
Changing the attribute resolving mode multi-row style is not a feasible 
option as this would create a lot of overhead and performance drawbacks.

So, I would really appreciate help on how to implement the transformation.

Cheers,

Martin

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/7ce331c2-e97c-4600-a00f-ab04c2519fd4%40apereo.org.


[cas-user] Re: CAS 5.2.7 - inline groovy attributes

2018-12-07 Thread Martin Böhmer
Experienced the same behavior with CAS 5.2. This is what did the trick:

"fullName" : "groovy { return attributes['firstName'][0] + ' ' + 
attributes['lastName'][0] }"
Code hier eingeben...

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/86fe0843-8545-40cd-a5f2-514a85b4f555%40apereo.org.


[cas-user] CAS Management 5.3.4 UI does not show LOGOUT_TYPE

2018-12-07 Thread Yan Zhou
Hello, 

I have CAS Management 5.3.4 overlay, just Oracle database as service 
registry.

REGEXREGISTEREDSERVICE table LOGOUT_TYPE is a NUMBER column, has value 1.

When I login to CAS Management, LOGOUT_TYPE drop down does not show 
anything.  What should be the valid value?

Thx!
Yan

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/e9da922b-5fa4-484a-9a52-fc3bac65d3f3%40apereo.org.


Re: [cas-user] HA Redis Crash

2018-12-07 Thread Ramakrishna G
Does Cas 5.3.0 version has redis sentinel support?


> On 04-Dec-2018, at 6:48 PM, Ramakrishna G  wrote:
> 
> Hello all,
> 
> I am using redis to store ticket is CAS. But now I have a new requirement to 
> implement HA Redis Ticket Registery with sentinel.
> 
> cas.properties
> 
> cas.ticket.registry.redis.host=192.168.111.201
> cas.ticket.registry.redis.port=6379
> cas.ticket.registry.redis.sentinel.master=mymaster
> cas.ticket.registry.redis.sentinel.nodes[0]=192.168.111.201:26379
> cas.ticket.registry.redis.sentinel.nodes[1]=192.168.111.205:26379
> cas.ticket.registry.redis.sentinel.nodes[2]=192.168.111.206:26379
> 
> 
> My cas property has necessary configuration for sentinel but getting below 
> exception in start of the application. Can someone help please.
> 
> Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 
> 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration':
>  Unsatisfied dependency expressed through method 'setConfigurers' parameter 
> 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casCoreTicketsConfiguration': Unsatisfied dependency 
> expressed through field 'casProperties'; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'cas-org.apereo.cas.configuration.CasConfigurationProperties': 
> Could not bind properties to CasConfigurationProperties (prefix=cas, 
> ignoreInvalidFields=false, ignoreUnknownFields=false, 
> ignoreNestedProperties=false); nested exception is 
> org.springframework.boot.bind.RelaxedBindingNotWritablePropertyException: 
> Failed to bind 'cas.ticket.registry.redis.sentinel.nodes[1]' from 
> 'applicationProfilesProperties' to 'ticket.registry.redis.sentinel.nodes[1]' 
> property on 
> 'org.apereo.cas.configuration.model.support.redis.RedisTicketRegistryProperties'
> at 
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:667)
> at 
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at 
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1272)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1181)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1075)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
> at 
> org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)
> at 
> org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:102)
> at 
> org.springframework.aop.aspectj.annotation.An

Re: [cas-user] Point CAS apps at different Duo protected applications (group policies)

2018-12-07 Thread Mukunthini Jeyakumar
Thanks Travis 

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/2a9c8d0b-9cc7-40f5-b103-0b9e3c93c937%40apereo.org.


[cas-user] Jasig/Apereo CAS integration with jBPM

2018-12-07 Thread Rajeev Shishodia
Can we integrate Jasig/Apereo CAS with jBPM? Is there any agents/protocols 
published for integration with jBPM?

Thanks,
Rajeev

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/137a91ae-6703-4100-a601-d303a14e1fc4%40apereo.org.