Re: [Dev] Custom captcha with WSO2 Identity Server

2018-10-04 Thread Jorge
Thanks a lot for the info.
Regards,
Jorge.

El jue., 4 oct. 2018 a las 11:49, Thanuja Jayasinghe ()
escribió:

> Hi Jorge,
>
> Identity Server only supports reCaptcha in the password recovery flow. But
> you can implement CaptchaConnector[1] interface and have a custom captcha
> which does not require an internet connection. You can refer [2] which is
> the reCaptcha implementation for password recovery flow.
>
> [1]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/CaptchaConnector.java
> [2]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/recaptcha/PasswordRecoveryReCaptchaConnector.java
> [3]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/internal/CaptchaComponent.java#L90
>
> Thanks,
> Thanuja
>
> On Thu, Oct 4, 2018 at 9:01 PM Farasath Ahamed  wrote:
>
>>
>>
>> On Wed, Oct 3, 2018 at 7:52 PM Jorge  wrote:
>>
>>> Hi all.
>>>
>>> Can I use an offline captcha with WSO2 Identity Server if my servers
>>> cannot connect to the internet? In the password recovery process I see that
>>> IS use re-captcha, which requires access to google servers.
>>>
>>> Regards,
>>>Jorge.
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> Farasath Ahamed
>> Senior Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 
>> 
>>
>>
>>
>>
>
> --
> *Thanuja Lakmal*
> Associate Technical Lead
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Custom captcha with WSO2 Identity Server

2018-10-04 Thread Thanuja Jayasinghe
Hi Jorge,

Identity Server only supports reCaptcha in the password recovery flow. But
you can implement CaptchaConnector[1] interface and have a custom captcha
which does not require an internet connection. You can refer [2] which is
the reCaptcha implementation for password recovery flow.

[1]
https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/CaptchaConnector.java
[2]
https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/recaptcha/PasswordRecoveryReCaptchaConnector.java
[3]
https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/internal/CaptchaComponent.java#L90

Thanks,
Thanuja

On Thu, Oct 4, 2018 at 9:01 PM Farasath Ahamed  wrote:

>
>
> On Wed, Oct 3, 2018 at 7:52 PM Jorge  wrote:
>
>> Hi all.
>>
>> Can I use an offline captcha with WSO2 Identity Server if my servers
>> cannot connect to the internet? In the password recovery process I see that
>> IS use re-captcha, which requires access to google servers.
>>
>> Regards,
>>Jorge.
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Farasath Ahamed
> Senior Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
> 
>
>
>
>

-- 
*Thanuja Lakmal*
Associate Technical Lead
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Custom captcha with WSO2 Identity Server

2018-10-04 Thread Farasath Ahamed
On Wed, Oct 3, 2018 at 7:52 PM Jorge  wrote:

> Hi all.
>
> Can I use an offline captcha with WSO2 Identity Server if my servers
> cannot connect to the internet? In the password recovery process I see that
> IS use re-captcha, which requires access to google servers.
>
> Regards,
>Jorge.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Farasath Ahamed
Senior Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev