Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. You need to define the following claims and map them with correct attributes in the underlying data store.

    Panel

    http://wso2.org/claims/identity/accountLocked
    http://wso2.org/claims/identity/passwordTimestamp

  2. Configure the identity­-mgt.properties file with the following:

    Panel

    Identity.Listener.Enable=true

    Notification.Sending.Internally.Managed=true

    Authentication.Policy.Account.Lock.On.Creation=true

    Notification.Expire.Time=7200

    Notification.Sending.Enable=true 

    Authentication.Policy.Enable=true 

  3. Configure the email­-admin­-config.xml file with the email template of type “accountConfirmation”. The following is a sample template:

    Code Block
    languagehtml/xml
    <configuration type="accountConfirmation">
    	<targetEpr>https://localhost:8443/InfoRecoverySample/validate</targetEpr>
    	<subject>WSO2 Carbon ­ Account Confirmation</subject>
    	<body>
    		Hi {first-­name},
    
    
    		You have created an account with following user name User Name: {user­-name}
    
    
    		Please click the following link to unlock. If clicking the link doesn't seem to work, you can copy and paste the link into your browser's address window.
    
    
    		{confirmation-­link}
    	</body>
    	<footer>
    		Best Regards,
    		WSO2 Identity Server Team
    		http://www.wso2.com
    	</footer>
    	<redirectPath></redirectPath>
    </configuration>

...