Hi,

In ES we use UserInformationRecovery service provided by IS to enable
Password Recovery.

In the identity-mgt.properties file, default configurations has to be
modified as in [1] to enable password recovery. For ES also we plan to keep
the default configurations as it is and enable it when configurations are
changed. In order to support that we need to hide/show UI elements
according to the configurations. (i.e. Forgot Password link)

Is there a method which I can use to check if the Password recovery is
enabled through configurations?

AFAIU, I need to check whether UserAccount.Recovery.Enable=false is set to
true.
In [2] I can see several methods to get values of other properties in the
same file, but not for the above property.

Thank you,
Sameera

[1] https://docs.wso2.com/display/IS500/Recover+with+Notification
[2]
https://github.com/wso2/carbon-identity/blob/master/components/identity/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/IdentityMgtConfig.java

-- 



*Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com <http://wso2.com> *
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to