Adding sso by default for analytics portal application.

merge-requests/1/head
sinthuja 8 years ago
parent 69fafb4150
commit 970bb35260

@ -7,16 +7,21 @@
"ignoreProviders": ["rt"] "ignoreProviders": ["rt"]
}, },
"authentication": { "authentication": {
"activeMethod": "basic", "activeMethod": "sso",
"methods": { "methods": {
"sso": { "sso": {
"attributes": { "attributes": {
"issuer": "portal", "issuer": "analyticsportal",
"identityProviderURL": "https://localhost:9443/samlsso", "identityProviderURL": "https://localhost:9443/samlsso",
"responseSigningEnabled": "false", "responseSigningEnabled": true,
"acs": "https://localhost:9444/portal/acs", "validateAssertionValidityPeriod": true,
"validateAudienceRestriction": true,
"assertionSigningEnabled": true,
"acs": "https://localhost:9445/portal/acs",
"identityAlias": "wso2carbon", "identityAlias": "wso2carbon",
"useTenantKey": false "defaultNameIDPolicy": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
"useTenantKey": false,
"isPassive": false
} }
}, },
"basic": { "basic": {
@ -33,14 +38,14 @@
"oauthProvider": { "oauthProvider": {
"appRegistration": { "appRegistration": {
"appType": "webapp", "appType": "webapp",
"clientName": "portal", "clientName": "analyticsportal",
"owner": "admin", "owner": "admin",
"password":"admin", "password":"admin",
"dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register", "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register",
"apiManagerClientAppRegistrationServiceURL": "%https.host%/api-application-registration/register/tenants", "apiManagerClientAppRegistrationServiceURL": "https://localhost:9443/api-application-registration/register/tenants",
"grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer",
"tokenScope": "admin", "tokenScope": "admin",
"callbackUrl": "%https.host%/portal", "callbackUrl": "https://localhost:9445/portal",
"saasApp":true "saasApp":true
}, },
"tokenServiceURL": "https://localhost:9443/oauth2/token" "tokenServiceURL": "https://localhost:9443/oauth2/token"
@ -65,6 +70,15 @@
"cacheSizeBytes": "1073741824", "cacheSizeBytes": "1073741824",
"defaultDashboardRedirect": false, "defaultDashboardRedirect": false,
"isCreateGadgetEnable": true, "isCreateGadgetEnable": true,
"isSecureVaultEnabled" : false,
"assets": {
"gadget": {
"fileSizeLimit": 5
},
"layout": {
"fileSizeLimit": 1
}
},
"oauth": { "oauth": {
"username": "admin", "username": "admin",
"password": "admin" "password": "admin"

@ -100,5 +100,21 @@
<Recipient>https://localhost:9443/oauth2/token</Recipient> <Recipient>https://localhost:9443/oauth2/token</Recipient>
</RecipientList> </RecipientList>
</ServiceProvider> </ServiceProvider>
<ServiceProvider>
<Issuer>analyticsportal</Issuer>
<AssertionConsumerServiceURLs>
<AssertionConsumerServiceURL>https://localhost:9445/portal/acs</AssertionConsumerServiceURL>
</AssertionConsumerServiceURLs>
<DefaultAssertionConsumerServiceURL>https://localhost:9445/portal/acs</DefaultAssertionConsumerServiceURL>
<SignResponse>true</SignResponse>
<EnableAudienceRestriction>true</EnableAudienceRestriction>
<EnableRecipients>true</EnableRecipients>
<AudiencesList>
<Audience>https://localhost:9443/oauth2/token</Audience>
</AudiencesList>
<RecipientList>
<Recipient>https://localhost:9443/oauth2/token</Recipient>
</RecipientList>
</ServiceProvider>
</ServiceProviders> </ServiceProviders>
</SSOIdentityProviderConfig> </SSOIdentityProviderConfig>
Loading…
Cancel
Save