Ray,

That's where I picked up the configurations for what I've been trying but it seems like it's still falling through past the Handler I want to be required.

Was just wondering if I'm misinterpreting the need for  or the context of using the criteria configurations as well.

The configuration example I outlined is basically pulled from that page.

Colin

On 10/20/20 5:48 PM, Ray Bon wrote:
Colin,

Could this be what your are looking for, https://apereo.github.io/cas/6.2.x/services/Configuring-Service-AuthN-Policy.html <https://apereo.github.io/cas/6.2.x/services/Configuring-Service-AuthN-Policy.html>

Ray

On Tue, 2020-10-20 at 14:24 -0400, Colin Ryan wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Folks,

I have 2 authentication sources.  I have services that I want strictly to only accept success via a specific source. Even if the same credential pair could succeed in either.


I've been trying to user the "newer"?  authenticationPolicy approaches as the logs in my 6.2.3 builds were warning about deprecation of the requiredAuth configurations.

So I have LDAP and Radius both backed by the same LDAP but for other reasons I want a particular policy to specifically require authentication to one or the other.

So to force Radius only to be accepted in a service definition I've tried the below. But if for example, I fail on the Radius auth and then try again it ends up Authenticating against LDAP1.

Missing something?

authenticationPolicy:
   {
     "@class": 
"org.apereo.cas.services.DefaultRegisteredServiceAuthenticationPolicy",
         "requiredAuthenticationHandlers" : ["java.util.TreeSet", [ "Radius" ]],
         criteria": {
       "@class": 
"org.apereo.cas.services.AllowedAuthenticationHandlersRegisteredServiceAuthenticationPolicyCriteria"
     }
   }
Thanks
Colin
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca <mailto:r...@uvic.ca>

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.
--
- Website: https://apereo.github.io/cas <https://apereo.github.io/cas>
- Gitter Chatroom: https://gitter.im/apereo/cas <https://gitter.im/apereo/cas>
- List Guidelines: https://goo.gl/1VRrw7 <https://goo.gl/1VRrw7>
- Contributions: https://goo.gl/mh7qDG <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 <mailto:cas-user+unsubscr...@apereo.org>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/2cc902b81b87bb8b64c476842c72dc9451089ae2.camel%40uvic.ca <https://groups.google.com/a/apereo.org/d/msgid/cas-user/2cc902b81b87bb8b64c476842c72dc9451089ae2.camel%40uvic.ca?utm_medium=email&utm_source=footer>.

--
- 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/cc75a06d-7d74-8398-f56c-e60c450783dd%40caveo.ca.

Reply via email to