Raphaël,
What is the problem you are trying to solve?
Perhaps you could call isServiceAccessAllowedForSso from
doPrincipalAttributesAllowServiceAccess.
Ray
On Thu, 2019-06-13 at 01:25 -0700, Raphaël CHANE wrote:
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,
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>
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
- 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/f95afefd72580d36203ecd82171ba8a36e635dc5.camel%40uvic.ca.