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

Rod Holman rholman at oaisd.org
Tue Nov 3 19:02:39 CET 2020


Thanks Pavol.  I want to add that I experienced the same problem in the demo system at demo.evolveum.com.

--Rod

From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of Pavol Mederly via midPoint
Sent: Tuesday, November 3, 2020 10:13 AM
To: midpoint at lists.evolveum.com
Cc: Pavol Mederly <mederly at evolveum.com>
Subject: Re: [midPoint] 500 Error - Can't instantiate forgetpassword.PageShowPassword()


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><mailto: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<mailto:midpoint at lists.evolveum.com>
Cc: Rod Holman <rholman at oaisd.org><mailto: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 01D6B1E1.9A5B21F0]


<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<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmidpoint.evolveum.com%2Fxml%2Fns%2Fpublic%2Fcommon%2Fcommon-3&data=04%7C01%7Crholman%40oaisd.org%7C45bd33c3440d45133cf508d8800b022e%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637400132057750379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Bhezy1l%2FWMqdi%2B2CJqaDivCE%2BY0Ym89W88lIK5BrYv0%3D&reserved=0>" 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<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmidpoint.evolveum.com%2Fxml%2Fns%2Fpublic%2Fcommon%2Fcommon-3&data=04%7C01%7Crholman%40oaisd.org%7C45bd33c3440d45133cf508d8800b022e%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637400132057750379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Bhezy1l%2FWMqdi%2B2CJqaDivCE%2BY0Ym89W88lIK5BrYv0%3D&reserved=0>" 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<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmidpoint.evolveum.com%2Fxml%2Fns%2Fpublic%2Fsecurity%2Fquestion-2%23q001%253C%2Fidentifier&data=04%7C01%7Crholman%40oaisd.org%7C45bd33c3440d45133cf508d8800b022e%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637400132057760378%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W%2FVyw3fbiLZOqD5t8kSCUFMMFzam3EOgZfhyItkdYyU%3D&reserved=0>>
                <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<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmidpoint.evolveum.com%2Fxml%2Fns%2Fpublic%2Fsecurity%2Fquestion-2%23q002%253C%2Fidentifier&data=04%7C01%7Crholman%40oaisd.org%7C45bd33c3440d45133cf508d8800b022e%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637400132057770363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=n2gEw1NFXceM6LThsq81bRUH5htg3yzogGl%2FGYwC044%3D&reserved=0>>
                <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<mailto:midPoint at lists.evolveum.com>

https://lists.evolveum.com/mailman/listinfo/midpoint<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=04%7C01%7Crholman%40oaisd.org%7C45bd33c3440d45133cf508d8800b022e%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637400132057770363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XNoxNWLojCoXOz5V8vHfpPPmV2EXuBuKx%2BIcMSseYtE%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201103/ec6f4ab9/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/20201103/ec6f4ab9/attachment-0001.png>


More information about the midPoint mailing list