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

Rod Holman rholman at oaisd.org
Mon Nov 2 15:25:41 CET 2020


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.

[cid:image001.png at 01D6B0F9.D2A8C730]


<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" 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" 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>
                <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>
                <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201102/afd15016/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18235 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201102/afd15016/attachment-0001.png>


More information about the midPoint mailing list