...
- Do the following configuration changes to the
<SAMPLE_HOME>/src/main/webapp/WEB-INF/web.xmlfile.Specify the
carbonServerUrlas the URL of the Identity Server. The following is an example.Code Block language xml <context-param> <param-name>carbonServerUrl</param-name> <param-value>https://localhost:9443/</param-value> </context-param>
Specify the credentials to access Identity Server with admin privileges for
accessUsernameandaccessPassword. The following is an example with the default WSO2 Identity Server credentials used.Code Block language xml <context-param> <param-name>accessUsername</param-name> <param-value>admin</param-value> </context-param> <context-param> <param-name>accessPassword</param-name> <param-value>admin</param-value> </context-param>
Specify the trustStore absolute resource path for
trustStorePath. The following example specifies the path to wso2carbon.jks of the Identity Server.Code Block language xml <context-param> <param-name>trustStorePath</param-name> <param-value>/wso2carbon.jks</param-value> </context-param>
If you are deploying the sample in Apache Tomcat, enable the SSL configuration in the
<TOMCAT_HOME>/conf/server.xmlfile.Code Block language xml <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="[IS_HOME]/repository/resources/security/wso2carbon.jks" keystorePass="wso2carbon" />
*[IS_HOME] should be replaced with the correct installation directory for identity server.
Configure the email confirmation links in the
<IS_HOME>/repository/conf/email/email-admin-config.xmlfile and relevant attributes in the<IS_HOME>/repository/conf/security/identity-mgt.propertiesfile. Configurations that we need to do on these files are changed on our use case. See the following use cases and find the required configurations.Recovering accounts using notification or secret question - Refer to the topic on password recovery with notification for a sample email template and the attributes needed in the
identity-mgt.propertiesfile.Self sign-up and account confirmation - Refer to the topic on Self Sign Up Using SOAP Service ( this sample is implemented to work with SOAP service ) for and Account Confirmation for a sample email template and the attributes needed in the
identity-mgt.propertiesfile.- Creating Users using the Ask Password Option - Refer to the topic on Creating Users using the Ask Password Option for a sample email template and the attributes needed in the
identity-mgt.propertiesfile.
...