diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml
index 03e9174b..006d8bf1 100644
--- a/modules/distribution/src/assembly/bin.xml
+++ b/modules/distribution/src/assembly/bin.xml
@@ -30,7 +30,6 @@
**/WSO2DM_DB.h2.db
**/conf/axis2/axis2_client.xml
**/conf/etc/launch.ini
- **/client-truststore.jks
**/wso2carbon.jks
@@ -79,6 +78,8 @@
**/repository/components/plugins/asm-all_4.1.0.wso2v1.jar
**/sso-idp-config.xml
+ **/application-authentication.xml
+ **/sso/jaggery.conf
@@ -128,6 +129,7 @@
${pom.artifactId}-${pom.version}/repository/conf/identity
**/sso-idp-config.xml
+ **/application-authentication.xml
@@ -207,6 +209,7 @@
**/api-manager.xml
**/sso-idp-config.xml
+ **/application-authentication.xml
@@ -315,6 +318,7 @@
**/publisher/config/publisher-tenant.json
+ **/sso/jaggery.conf
@@ -416,23 +420,25 @@
-
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
-
@@ -613,14 +619,6 @@
true
644
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
${pom.artifactId}-${pom.version}/repository/conf/
@@ -759,7 +757,7 @@
-
+
@@ -1026,7 +1024,7 @@
755
-
+
+
+
+ ${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/sso
+ true
+
+
diff --git a/modules/distribution/src/repository/conf/identity/application-authentication.xml b/modules/distribution/src/repository/conf/identity/application-authentication.xml
new file mode 100644
index 00000000..9f02a255
--- /dev/null
+++ b/modules/distribution/src/repository/conf/identity/application-authentication.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+ jdbc/WSO2CarbonDB
+
+
+
+
+ smart
+
+
+ /sso/login
+
+
+
+ org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator
+ org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultLogoutRequestHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultRequestPathBasedSequenceHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.hrd.impl.DefaultHomeRealmDiscoverer
+ org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler
+ org.wso2.carbon.identity.application.authentication.framework.handler.provisioning.impl.DefaultProvisioningHandler
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /authenticationendpoint/login.do
+ /repository/resources/security/client-truststore.jks
+ wso2carbon
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.wso2.carbon.identity.application.mgt.dao.impl.ApplicationDAOImpl
+ org.wso2.carbon.identity.application.mgt.dao.impl.OAuthApplicationDAOImpl
+ org.wso2.carbon.identity.application.mgt.dao.impl.SAMLApplicationDAOImpl
+ org.wso2.carbon.identity.application.mgt.dao.impl.IdentityProviderDAOImpl
+ http://wso2.org/claims
+
+
+
diff --git a/modules/distribution/src/sso/jaggery.conf b/modules/distribution/src/sso/jaggery.conf
new file mode 100644
index 00000000..7664d53d
--- /dev/null
+++ b/modules/distribution/src/sso/jaggery.conf
@@ -0,0 +1,84 @@
+{
+ "urlMappings": [
+ {
+ "url": "/sso.json",
+ "path": "/"
+ },
+ {
+ "url": "/is_errors.json",
+ "path": "/"
+ },
+ {
+ "url": "/modules/*",
+ "path": "/"
+ },
+ {
+ "url": "/config/*",
+ "path": "/"
+ },
+ {
+ "url": "/sso.js",
+ "path": "/"
+ },
+ {
+ "url": "/login",
+ "path": "/views/login.jag"
+ },
+ {
+ "url": "/register",
+ "path": "/views/register.jag"
+ },
+ {
+ "url": "/register_new_user",
+ "path": "/views/register_new_user.jag"
+ },
+ {
+ "url": "/confirm-recovery",
+ "path": "/views/confirm_recovery.jag"
+ },
+ {
+ "url": "/reset-link",
+ "path": "/views/reset_link.jag"
+ },
+ {
+ "url": "/update-password",
+ "path": "/views/update_password.jag"
+ },
+ {
+ "url": "/recover",
+ "path": "/views/recover_via_email.jag"
+ },
+ {
+ "url": "/recovery-success",
+ "path": "/views/recovery_success.jag"
+ },
+ {
+ "url": "/recovery-failed",
+ "path": "/views/recovery_failed.jag"
+ },
+ {
+ "url": "/user",
+ "path": "/apis/user.jag"
+ },
+ {
+ "url": "/password",
+ "path": "/apis/password.jag"
+ },
+ {
+ "url": "/captcha",
+ "path": "/apis/captcha.jag"
+ },
+ {
+ "url": "/challenge",
+ "path": "/apis/challenge.jag"
+ }
+ ],
+ "errorPages": {
+ "500": "/views/error500.html",
+ "404": "/views/error404.html"
+ },
+ "welcomeFiles": ["index.jag"],
+ "initScripts": ["config/app.js"],
+ "logLevel": "info",
+ "theme":"iotserver"
+}
\ No newline at end of file