Hello everyone,

I'm trying to implement a groovy script for AccessStrategy 

I'm following the documentation with this code 

import org.apereo.cas.services.*import java.util.*
class GroovyRegisteredAccessStrategy extends 
DefaultRegisteredServiceAccessStrategy {
    @Override
    boolean isServiceAccessAllowed() {
        ...
    }

    @Override
    boolean isServiceAccessAllowedForSso() {
        ...
    }

    @Override
    boolean doPrincipalAttributesAllowServiceAccess(String principal, 
Map<String, Object> attributes) {
        ...
    }}



I was wondering if it was possible to retrieve the state of an attribute in 
*isServiceAccessAllowedForSso? 
*Because I need It before the *doPrincipalAttributesAllowServiceAccess* 
function. 


*Regards,*

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/88dd4cc3-a6b2-4c48-aaf9-9b0390e0a61f%40apereo.org.

Reply via email to