It worked using the *permitUndefined* attribute.
accessStrategy : {
@class : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
delegatedAuthenticationPolicy : {
@class :
"org.apereo.cas.services.DefaultRegisteredServiceDelegatedAuthenticationPolicy"
,
exclusive: "false",
*permitUndefined: "false"* }
}
Em terça-feira, 10 de maio de 2022 às 12:58:30 UTC-3, Gledson Rabelo
escreveu:
> Hi Oscar,
>
> I'm having the same problem.
>
> Did you make it work and hide the external providers?
>
> Thanks
>
> Gledson
>
> Em quarta-feira, 26 de janeiro de 2022 às 14:09:50 UTC-3,
> [email protected] escreveu:
>
>> Hi,
>>
>> This may already be answered somewhere but I've gone crazy looking in the
>> documentation and can't find it.
>>
>> Is it possible to hide the authentication methods that are not allowed
>> for a registered service so that they do not appear in the CAS login menu?
>>
>> I mean, if I have defined on one hand an LDAP authentication handler (and
>> named it), and on the other hand delegated authentication through Pac4j to
>> a SAML IdP, is it possible to define in the registered service that each
>> one only sees in the menu its allowed authentication method?
>>
>> I have managed to make the automatic redirection in the case of the
>> service with delegated authentication (which is fine), but I would like to
>> avoid the external authentication provider appearing in the menu for the
>> other case.
>>
>> I know (and checked) that authenticating through a not allowed
>> authentication handler is denied, but I want to have a login screen as
>> clean as possible.
>>
>> Thanks in advance.
>>
>> BTW, my CAS version is 6.4.5.
>>
>> Best regards,
>> Oscar.
>>
>>
--
- 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/fe8f0047-5899-45b2-8eb7-e8a6f83ed120n%40apereo.org.