[midPoint] 500 Error - Can't instantiate forgetpassword.PageShowPassword()

Pavol Mederly mederly at evolveum.com
Tue Nov 3 16:13:19 CET 2020


Hello Rod,

I am not an expert in this area, but as far as I know, this 
functionality should basically work in 4.0.x. (Note that password reset 
via security questions was a contributed code.)

But, unfortunately, I cannot help you with your specific problem.

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 02/11/2020 15:25, Rod Holman via midPoint wrote:
>
> Hello all,
>
> I forgot to specify that we are using Midpoint 4.0.2.  Is the reset 
> password feature working for this release?  If it’s not we will 
> attempt to use the Rest API to reset forgotten passwords.  If it is a 
> working feature please give some possibilities for our error.
>
> Thank you very much,
>
> Rod Holman
>
> DBA/Developer
>
> Ottawa Area ISD
>
> 616-738-8940 Ext. 4054
>
> *From:* midPoint <midpoint-bounces at lists.evolveum.com> *On Behalf Of 
> *Rod Holman via midPoint
> *Sent:* Thursday, October 22, 2020 8:08 AM
> *To:* midpoint at lists.evolveum.com
> *Cc:* Rod Holman <rholman at oaisd.org>
> *Subject:* [midPoint] 500 Error - Can't instantiate 
> forgetpassword.PageShowPassword()
>
> CAUTION:This email originated from outside of the organization. Do not 
> click links or open attachments unless you recognize the sender and 
> know the content is safe.
>
> Hello,
>
> we set up the credential reset mechanism using security questions.  
> When we click on “forgot password” the username and email are 
> authenticated and the reset questions are displayed.  When the 
> questions are answered and “Send” is clicked we get a 500 error on the 
> web interface (forgetpassword.PageShowPassword).  The password is 
> changed, but we don’t know what it has been changed to.  We have tried 
> many things and have exhausted our searches.  We also noticed several 
> similar emails in the archives that don’t show a solution.  Our 
> Security Policy credentials section is listed below.  We also have the 
> log attached with the error at the top of the log.  Please let me know 
> if you need additional information.
>
> <securityPolicy
>
> ….
>
> <credentials>
>
>         <password>
>
> <minOccurs>0</minOccurs>
>
> <lockoutMaxFailedAttempts>5</lockoutMaxFailedAttempts>
>
> <lockoutFailedAttemptsDuration>PT3M</lockoutFailedAttemptsDuration>
>
> <lockoutDuration>PT15M</lockoutDuration>
>
>             <valuePolicyRef 
> xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3 
> <http://midpoint.evolveum.com/xml/ns/public/common/common-3>" 
> oid="283ec720-4073-4c9f-b072-fbcfe95ae27f" relation="org:default" 
> type="tns:ValuePolicyType">
>
>                 <!-- Active password policy -->
>
>             </valuePolicyRef>
>
> <historyLength>10</historyLength>
>
>         </password>
>
>         <securityQuestions>
>
> <lockoutMaxFailedAttempts>5</lockoutMaxFailedAttempts>
>
> <lockoutFailedAttemptsDuration>PT3M</lockoutFailedAttemptsDuration>
>
> <lockoutDuration>PT5M</lockoutDuration>
>
>             <valuePolicyRef 
> xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3 
> <http://midpoint.evolveum.com/xml/ns/public/common/common-3>" 
> oid="283ec720-4073-4c9f-b072-fbcfe95ae27f" relation="org:default" 
> type="tns:ValuePolicyType">
>
>                 <!-- Active password policy -->
>
>             </valuePolicyRef>
>
> <questionNumber>2</questionNumber>
>
>             <question id="2">
>
>                 
> <identifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q001</identifier 
> <http://midpoint.evolveum.com/xml/ns/public/security/question-2#q001</identifier>>
>
> <enabled>true</enabled>
>
>                 <questionText>What is your favorite Book?</questionText>
>
>             </question>
>
>             <question id="3">
>
>             
>     <identifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q002</identifier 
> <http://midpoint.evolveum.com/xml/ns/public/security/question-2#q002</identifier>>
>
>                 <questionText>What is your favorite Animal?</questionText>
>
>             </question>
>
>          </securityQuestions>
>
>     </credentials>
>
>     <credentialsReset>
>
> <name>userPasswordReset</name>
>
>         <securityQuestionReset>
>
>             <name>Reset password using security question</name>
>
>         </securityQuestionReset>
>
>     </credentialsReset>
>
> Thanks for your assistance.
>
> Rod Holman
>
> DBA/Developer
>
> Ottawa Area ISD
>
> 616-738-8940 Ext. 4054
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201103/1e6221c3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18235 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201103/1e6221c3/attachment-0001.png>


More information about the midPoint mailing list