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

    Note
    titleAbout usage in tenants

    If you wish to have a set of claims for all tenants, you must add those claims to the <PRODUCT_HOME>/repository/conf/claim-mgt.xml file prior to the first startup and then start the server. If you do not require these claims for all tenants, then it should be added via the UI of specific tenants as instructed here.

  2. Configure the identity­-mgt.properties file found in <PRODUCT_HOME>/repository/conf/security/ 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 found in <PRODUCT_HOME>/repository/conf/email/ 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>

...