Hi, 
the issue stil alive :(
i enable 
 compile 
"org.apereo.cas:cas-server-support-pm-ldap:${project.'cas.version'}"

 in build.gradle 
and i activate password management in my cas.properties :
########PAssword management
cas.authn.pm.enabled=true
cas.authn.pm.ldap.type=AD
cas.authn.pm.ldap.useSsl=False
cas.authn.pm.ldap.usernameAttribute=userprincipalname
cas.authn.pm.ldap.ldapUrl=ldap://xxxxx
cas.authn.pm.ldap.bindDn=xxxxxx
cas.authn.pm.ldap.bindCredential=xxxxx
cas.authn.pm.ldap.baseDn=dc=intranet,dc=int
cas.authn.pm.ldap.subtreeSearch=true
cas.authn.pm.ldap.searchFilter=(|(userPrincipalName={user})(sAMAccountName={
user}))


but if AD account is disable, we got this error :

CAS n'a pas pu traiter cette requête : "500:Internal Server Error"
Une erreur s'est produite lors du traitement de votre requête. Merci de 
contacter votre support ou de réessayer.
Apereo est une fondation de gouvernance de logiciel libre à but non 
lucratif. Le logiciel CAS est un projet sponsorisé par Apereo et est 
librement téléchargeable et utilisable par n'importe qui. Toutefois, Apereo 
ne gère pas les systèmes de quiconque utilise le logiciel et dans la 
plupart des cas n'a pas connaissance de qui l'utilise ou comment les 
contacter, à moins qu'il ne s'agisse de membres actifs de la communauté 
Apereo.

Si vous avez des difficultés à vous connecter en utilisant CAS, vous devrez 
contacter le support technique ou l'équipe IT de votre organisation pour 
obtenir une assistance.

Nous sommes désolés de ne pouvoir vous apporter une aide plus directe.

org.springframework.webflow.execution.FlowExecutionException: Exception thrown 
in state 'handleAuthenticationFailure' of flow 'login'
        at 
org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:573)
        at 
org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:263)
        at 
org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:168)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



Thank you very much

Le mercredi 23 octobre 2019 10:29:17 UTC+2, vallee.romain a écrit :
>
> Hello Ray and Axel,
> thank you for your support .
>
> This morning i will add the PM support, and i will see the result .
>
> Axel, no i didn't type this line in my config file .
> I will add for see the result .
>
> Le mardi 22 octobre 2019 23:53:59 UTC+2, axel stohn a écrit :
>>
>> Hi Vallee,
>>
>> Just to verify, you have the following line in your cas.properties file:
>>
>> *cas.authn.pm.enabled=true*
>>
>> Correct?
>>
>> Axel
>>
>> On Tuesday, October 22, 2019 at 2:44:55 PM UTC-7, rbon wrote:
>>>
>>> Perhaps the plugin does two things. Since casAccountDisabledView shows 
>>> up in only 2 classes, one of which is the default login flow, I figured it 
>>> had to be the other one.
>>> The view is being created on line 77, 
>>> https://github.com/apereo/cas/blob/master/support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/pm/web/flow/PasswordManagementWebflowConfigurer.java
>>> where it looks to be part of account status.
>>>
>>> In default login flow it is part of authentication failure (line 287), 
>>> https://github.com/apereo/cas/blob/master/core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/configurer/DefaultLoginWebflowConfigurer.java
>>>
>>> The particular relationship in the webflow is different in the two file 
>>> and I no longer remember those details.
>>>
>>> Try adding it and see what happens.
>>>
>>> Ray
>>>
>>> On Tue, 2019-10-22 at 09:54 -0700, vallee.romain wrote:
>>>
>>> Hi Ray.
>>>
>>> It's write :
>>>
>>> The account password and security questions may be stored inside an LDAP 
>>> server.
>>>
>>>
>>> I don't want this feature.
>>>
>>>
>>> You think that this issue is from this plugin ?
>>>
>>>
>>> -- 
>>>
>>> Ray Bon
>>> Programmer Analyst
>>> Development Services, University Systems
>>> 2507218831 | CLE 019 | [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/e39b6f3a-2993-42a4-af97-1ffbc6f0cc85%40apereo.org.

Reply via email to