18.2. Configuration

This section covers the configuration of the Identity Portlets.

18.2.1. Captcha support

CAPTCHA is an acronym for Completely Automated Public Turing test to tell Computers and Humans Apart. This is providing a mechanism to prevent automated programs from using different services. The User Portlet uses JCaptcha to provide a challenge-response.

Note

By default the captcha service needs a XServer to generate the images. For using the captcha service without a XServer make sure you run the JVM with the following option:
-Djava.awt.headless=true
The registration page with captcha.
The captcha support can be enabled by changing the portlet preference 'captcha' to 'true'. If enabled, captcha will be used for the registration and lost password action.
...
<portlet>
...
    <display-name>User portlet</display-name>
...
    <portlet-preferences>
        <preference>
            <name>captcha</name>
            <value>true</value>
        </preference>
    </portlet-preferences>
</portlet>
...