This documentation is for WSO2 App Factory 2.0.0. View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

Introduction

For Authentication in the App Factory, we use SAML based SSO. The jaggery application "appmgt" is the Service Provider of this scenario. The Identity Provider can be a valid SSO provider. In the default WSO2 App Factory, appmgt is the service provider and the App Factory it self acts as the identity provider. 

You can configure a preferred Identity provider by editing the SSO relying party using the  <SSORelyingParty> element in <AF_HOME>/repository/conf/appfactory/appfactory.xml file.

Sample configuration

Following sample code adds a new SSO replying party to App Factory:

<SSORelyingParty>
	<Name>WSO2 AppFactory Application Management</Name>
	<DashboardName>WSO2 AppFactory Dashboard</DashboardName>
	<IdentityProviderURL>https://appfactorypreview.wso2.com/samlsso</IdentityProviderURL>
	<KeyStorePassword>wso2carbon</KeyStorePassword>
	<IdentityKeyAlias>wso2carbon</IdentityKeyAlias>
	<KeyStoreName>${carbon.home}/repository/resources/security/wso2carbon.jks</KeyStoreName>
</SSORelyingParty>

The elements of the configuration are explained below. You can use this information to edit the file according to you requirements.

XML elements of the sample code

Property NameDescriptionTypeDefault ValueFixed ValuesMandatory/Optional
<SSORelyingParty>SSO relying party configuration.    
<Name>Name of Relying party (RP).String   
<DashboardName>Name of Dashboard.String   
<IdentityProviderURL>

URL of the identity provide where the SAML authentication request should be sent to https://appfactorypreview.wso2.com/samlsso. Change the URL accordingly. 

String   
<IdentityKeyAlias>Alias name for identity key. String   
<KeyStoreName>The location for the default key-store, which is wso2carbon.jks used by WSO2 IS (running identity provider).String   
<KeyStorePassword>Password for keystoreString   
  • No labels