Page History
...
Open the
<IS_HOME>/repository/conf/carbon.xml
file and make the following change. This is done so that the WSDL file can be accessed to perform this functionality.Code Block language xml <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
- Enable the Identity Listener by setting the following property to
true
in the<IS_HOME>/repository/conf/identity/identity.xml
file.<EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener" name="org.wso2.carbon.identity.mgt.IdentityMgtEventListener" orderId="50" enable="true"/>
Set the following configuration in the
<PRODUCT_HOME>/repository/conf/identity/identity-mgt.properties
file.Code Block language java Notification.Sending.Enable=true Notification.Expire.Time=7200 Notification.Sending.Internally.Managed=true Authentication.Policy.Enable=true Authentication.Policy.Check.OneTime.Password=true
In order to send an email from the Identity Server, you must define your mail transport configurations. To do this, set the
transportSender
details in the<IS_HOME>/repository/conf/axis2/axis2.xml
file as shown below. This example uses a sample email address. You can set the configuration according to your email server settings.Code Block language xml <transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender"> <parameter name="mail.smtp.from">[email protected]</parameter> <parameter name="mail.smtp.user">[email protected]</parameter> <parameter name="mail.smtp.password">mypassword</parameter> <parameter name="mail.smtp.host">smtp.gmail.com</parameter> <parameter name="mail.smtp.port">587</parameter> <parameter name="mail.smtp.starttls.enable">true</parameter> <parameter name="mail.smtp.auth">true</parameter> </transportSender>
- Start/Restart the Identity Server.
...