|
|
|
@ -7,16 +7,21 @@
|
|
|
|
|
"ignoreProviders": ["rt"]
|
|
|
|
|
},
|
|
|
|
|
"authentication": {
|
|
|
|
|
"activeMethod": "basic",
|
|
|
|
|
"activeMethod": "sso",
|
|
|
|
|
"methods": {
|
|
|
|
|
"sso": {
|
|
|
|
|
"attributes": {
|
|
|
|
|
"issuer": "portal",
|
|
|
|
|
"issuer": "analyticsportal",
|
|
|
|
|
"identityProviderURL": "https://localhost:9443/samlsso",
|
|
|
|
|
"responseSigningEnabled": "false",
|
|
|
|
|
"acs": "https://localhost:9444/portal/acs",
|
|
|
|
|
"responseSigningEnabled": true,
|
|
|
|
|
"validateAssertionValidityPeriod": true,
|
|
|
|
|
"validateAudienceRestriction": true,
|
|
|
|
|
"assertionSigningEnabled": true,
|
|
|
|
|
"acs": "https://localhost:9445/portal/acs",
|
|
|
|
|
"identityAlias": "wso2carbon",
|
|
|
|
|
"useTenantKey": false
|
|
|
|
|
"defaultNameIDPolicy": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
|
|
|
|
|
"useTenantKey": false,
|
|
|
|
|
"isPassive": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"basic": {
|
|
|
|
@ -25,21 +30,32 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"authorization": {
|
|
|
|
|
"activeMethod": "",
|
|
|
|
|
"activeMethod": "oauth",
|
|
|
|
|
"methods": {
|
|
|
|
|
"oauth": {
|
|
|
|
|
"attributes": {
|
|
|
|
|
"idPServer": "%https.ip%/oauth2/token",
|
|
|
|
|
"dynamicClientProperties": {
|
|
|
|
|
"callbackUrl": "%https.ip%/portal",
|
|
|
|
|
"clientName": "portal",
|
|
|
|
|
"owner": "admin",
|
|
|
|
|
"applicationType": "JaggeryApp",
|
|
|
|
|
"grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer",
|
|
|
|
|
"saasApp": false,
|
|
|
|
|
"dynamicClientRegistrationEndPoint": "%https.ip%/dynamic-client-web/register/",
|
|
|
|
|
"tokenScope": "Production"
|
|
|
|
|
}
|
|
|
|
|
"apimgt-gateway": false,
|
|
|
|
|
"oauthProvider": {
|
|
|
|
|
"appRegistration": {
|
|
|
|
|
"appType": "webapp",
|
|
|
|
|
"clientName": "analyticsportal",
|
|
|
|
|
"owner": "admin",
|
|
|
|
|
"password":"admin",
|
|
|
|
|
"dynamicClientAppRegistrationServiceURL": "https://localhost:9443/client-registration/v0.10/register",
|
|
|
|
|
"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",
|
|
|
|
|
"tokenScope": "admin",
|
|
|
|
|
"callbackUrl": "https://localhost:9445/portal",
|
|
|
|
|
"saasApp":true
|
|
|
|
|
},
|
|
|
|
|
"tokenServiceURL": "https://localhost:9443/oauth2/token"
|
|
|
|
|
},
|
|
|
|
|
"adminUser":"admin@carbon.super",
|
|
|
|
|
"adminUserTenantId":"-1234",
|
|
|
|
|
"adminRole":"admin",
|
|
|
|
|
"scopes" : [
|
|
|
|
|
"device:view"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -54,6 +70,15 @@
|
|
|
|
|
"cacheSizeBytes": "1073741824",
|
|
|
|
|
"defaultDashboardRedirect": false,
|
|
|
|
|
"isCreateGadgetEnable": true,
|
|
|
|
|
"isSecureVaultEnabled" : false,
|
|
|
|
|
"assets": {
|
|
|
|
|
"gadget": {
|
|
|
|
|
"fileSizeLimit": 5
|
|
|
|
|
},
|
|
|
|
|
"layout": {
|
|
|
|
|
"fileSizeLimit": 1
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"oauth": {
|
|
|
|
|
"username": "admin",
|
|
|
|
|
"password": "admin"
|
|
|
|
|