Hi,

As per the offline discussion with Prasad, currently there is no such
method. Therefore I will use a workaround using another property until this
method is available.
I have created a JIRA to track this
https://wso2.org/jira/browse/IDENTITY-3000

Thank you,
Sameera

On Thu, Jan 22, 2015 at 10:22 AM, Sameera Jayaratna <[email protected]>
wrote:

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



-- 



*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