You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by er...@apache.org on 2016/03/04 21:41:00 UTC
airavata-docs git commit: Adding WSO2 IS installation Steps
Repository: airavata-docs
Updated Branches:
refs/heads/master b251db615 -> 94484680b
Adding WSO2 IS installation Steps
Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/94484680
Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/94484680
Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/94484680
Branch: refs/heads/master
Commit: 94484680b9c095316313bf457785400e9d6904c2
Parents: b251db6
Author: Eroma Abeysinghe <er...@gmail.com>
Authored: Fri Mar 4 15:40:56 2016 -0500
Committer: Eroma Abeysinghe <er...@gmail.com>
Committed: Fri Mar 4 15:40:56 2016 -0500
----------------------------------------------------------------------
Own-WSO2-IS-Configuration.md | 71 +++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/94484680/Own-WSO2-IS-Configuration.md
----------------------------------------------------------------------
diff --git a/Own-WSO2-IS-Configuration.md b/Own-WSO2-IS-Configuration.md
new file mode 100644
index 0000000..ecd442a
--- /dev/null
+++ b/Own-WSO2-IS-Configuration.md
@@ -0,0 +1,71 @@
+## WSO2 IS Installation
+### Installation
+1. Download IS 5.1.0 from <a href="http://wso2.com/products/identity-server/" target="_blank">WSO2 Site</a> and extract it.
+2. Open <IS_HOME>/repository/conf/carbon.xml and set the HideAdminServiceWSDLs property to false.
+<pre><code><HideAdminServiceWSDLs>false</HideAdminServiceWSDLs></code></pre>
+3. To enable self signup and account confirmation follow the below steps
+ - Open <IS_HOME>/repository/conf/claim-mgt.xml and add the following claims mappings in the <Dialect dialectURI="http://wso2.org/claims"> section
+<pre><code><Claim>
+ <ClaimURI>http://wso2.org/claims/identity/accountLocked</ClaimURI>
+ <DisplayName>Account Locked</DisplayName>
+ <AttributeID>accountLock</AttributeID>
+ <Description>Account Locked</Description>
+</Claim>
+<Claim>
+ <ClaimURI>http://wso2.org/claims/identity/passwordTimestamp</ClaimURI>
+ <DisplayName>Password Timestamp</DisplayName>
+ <AttributeID>facsimileTelephoneNumber</AttributeID>
+ <Description>Password Timestamp</Description>
+</Claim>
+<Claim>
+ <ClaimURI>http://wso2.org/claims/username</ClaimURI>
+ <DisplayName>Username</DisplayName>
+ <AttributeID>uid</AttributeID>
+ <Description>Username</Description>
+</Claim>
+<Claim>
+ <ClaimURI>roles</ClaimURI>
+ <DisplayName>Roles</DisplayName>
+ <AttributeID>role</AttributeID>
+ <Description>Roles</Description>
+</Claim>
+</code></pre>
+<br>
+
+ - Enable the Identity Listener by setting the following property to true in the <IS_HOME>/repository/conf/identity/identity.xml file.
+<pre><code><EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener" name="org.wso2.carbon.identity.mgt.IdentityMgtEventListener" orderId="50" enable="true"/<</code></pre>
+
+ - Do the following configurations in the <IS_HOME>/repository/conf/identity/identity-mgt.properties file.
+<pre><code>
+Notification.Sending.Internally.Managed=true
+Authentication.Policy.Account.Lock.On.Creation=true
+Notification.Expire.Time=7200
+Notification.Sending.Enable=true
+Authentication.Policy.Enable=true
+</code></pre>
+
+ - Configure the email-admin-config.xml file found in <IS_HOME>/repository/conf/email/ with the email template of type “accountConfirmation”.
+
+ - Edit the org.apache.axis2.transport.mail.MailTransportSender section in the <IS_HOME>/repository/conf/axis2/axis2.xml to valid email account configuration.
+<br>IS server should have access to this email account for remotely login.
+<pre><code>
+<transportSender name="mailto"class="org.apache.axis2.transport.mail.MailTransportSender">
+ <parameter name="mail.smtp.from">wso2demomail@gmail.com</parameter>
+ <parameter name="mail.smtp.user">wso2demomail</parameter>
+ <parameter name="mail.smtp.password">mailpassword</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>
+</code></pre>
+
+4. Go to <IS_HOME>/bin and start IS server using ./wso2server.sh (use ./wso2server.sh start for starting in daemon mode).
+
+### WSO2 IS Configuration
+1. Creating a new tenant.
+2. Registering a new OAuth Service Provider.
+
+### Optional Steps
+1. How to configure a mysql backend database for wso2 IS server - <a href="https://docs.wso2.com/display/IS510/Setting+up+MySQL" target="_blank">MySQL DB Configuration</a>
+2. How to configure a valid server certificate for the wso2 IS server - <a href="http://wso2.com/library/knowledge-base/2011/08/adding-ca-certificate-authority-signed-certificate-wso2-products/" target="_blank">Configure Server Certificate</a>