parent
019c9bea35
commit
71ab64afa6
@ -1,59 +0,0 @@
|
||||
{
|
||||
"theme" : {
|
||||
"base" : "wso2",
|
||||
"subtheme" : "modern"
|
||||
},
|
||||
"context" : "/api-publisher",
|
||||
"enableRestrictByRoles" : "true",
|
||||
"enableSelectedTenantSubscription" : "true",
|
||||
"ssoConfiguration" : {
|
||||
"enabled" : "false",
|
||||
"issuer" : "API_PUBLISHER",
|
||||
"identityProviderURL" : "https://localhost:9443/samlsso",
|
||||
"keyStorePassword" : "",
|
||||
"identityAlias" : "",
|
||||
"verifyAssertionValidityPeriod":"true",
|
||||
"timestampSkewInSeconds":"300",
|
||||
"audienceRestrictionsEnabled":"true",
|
||||
"responseSigningEnabled":"true",
|
||||
"assertionSigningEnabled":"true",
|
||||
"keyStoreName" :"",
|
||||
"signRequests" : "true",
|
||||
"assertionEncryptionEnabled" : "false",
|
||||
"idpInit" : "false",
|
||||
"idpInitSSOURL" : "https://localhost:9443/samlsso?spEntityID=API_PUBLISHER",
|
||||
"loginUserNameAttribute" : ""
|
||||
//"identityProviderLogoutURL" : "https://localhost:9443/samlsso",
|
||||
//"externalLogoutPage" : "https://localhost:9443/samlsso?slo=true"
|
||||
//"acsURL" : "https://localhost:9443/publisher/jagg/jaggery_acs.jag", //use only if Assertion Consumer Service URL needs to be sent along with SAML request
|
||||
//"nameIdPolicy" : "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", //If not specified, 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' will be used
|
||||
},
|
||||
|
||||
"oidcConfiguration" : {
|
||||
"enabled" : "false",
|
||||
"issuer" : "API_PUBLISHER",
|
||||
"identityProviderURI" : "http://localhost:8080/openid-connect-server-webapp/",
|
||||
"authorizationEndpointURI" : "http://localhost:8080/openid-connect-server-webapp/authorize",
|
||||
"tokenEndpointURI" : "http://localhost:8080/openid-connect-server-webapp/token",
|
||||
"userInfoURI" : "http://localhost:8080/openid-connect-server-webapp/userinfo",
|
||||
"jwksURI" : "http://localhost:8080/openid-connect-server-webapp/jwk",
|
||||
"logoutEndpointURI" : "http://localhost:8080/openid-connect-server-webapp/logout",
|
||||
"authHttpMethod": "POST",
|
||||
"clientConfiguration" : {
|
||||
"clientId" : "client_am_publisher",
|
||||
"clientSecret" : "secret",
|
||||
"responseType" : "code",
|
||||
"authorizationType" : "authorization_code",
|
||||
"scope" : "phone email address openid profile",
|
||||
"redirectURI" : "https://localhost:9443/publisher/jagg/jaggery_oidc_acs.jag",
|
||||
"postLogoutRedirectURI" : "https://localhost:9443/store/"
|
||||
}
|
||||
},
|
||||
|
||||
"reverseProxy" : {
|
||||
"enabled" : false, // values true , false , "auto" - will look for X-Forwarded-* headers
|
||||
"host" : "sample.proxydomain.com", // If reverse proxy do not have a domain name use IP
|
||||
"context":"",
|
||||
//"regContext":"" // Use only if different path is used for registry
|
||||
},
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
{
|
||||
"welcomeFiles":["site/pages/list-apis.jag", "index.html"],
|
||||
|
||||
"logLevel" : "info",
|
||||
|
||||
"errorPages":
|
||||
{
|
||||
"401":"/site/pages/error-pages/401.html",
|
||||
"403":"/site/pages/error-pages/403.html",
|
||||
"404":"/site/pages/error-pages/404.html",
|
||||
"500":"/site/pages/error-pages/500.html"
|
||||
}
|
||||
,
|
||||
|
||||
"securityConstraints":[
|
||||
{
|
||||
"securityConstraint":{
|
||||
"webResourceCollection":{
|
||||
"name":"site",
|
||||
"urlPatterns":["/site/conf/site.json"],
|
||||
"methods":["GET", "POST", "PUT", "DELETE", "PATCH"]
|
||||
},
|
||||
"authRoles":["admin"]
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"urlMappings":[
|
||||
{
|
||||
"url":"/apis/info",
|
||||
"path":"/site/pages/item-info.jag"
|
||||
},
|
||||
{
|
||||
"url":"/apis/widget",
|
||||
"path":"/site/pages/widget.jag"
|
||||
},
|
||||
{
|
||||
"url":"/apis/list",
|
||||
"path":"/site/pages/list-apis.jag"
|
||||
},
|
||||
{
|
||||
"url":"/forum/api/topic/*",
|
||||
"path":"/site/blocks/forum/controller/topics.jag"
|
||||
},
|
||||
{
|
||||
"url":"/forum/api/reply/*",
|
||||
"path":"/site/blocks/forum/controller/reply.jag"
|
||||
},
|
||||
{
|
||||
"url":"/forum/*",
|
||||
"path":"/site/pages/forum.jag"
|
||||
},
|
||||
{
|
||||
"url":"/api-docs/*",
|
||||
"path":"/site/blocks/api-doc/ajax/get.jag"
|
||||
}
|
||||
],
|
||||
|
||||
"filters":[
|
||||
{
|
||||
"name":"HttpHeaderSecurityFilter",
|
||||
"class":"org.apache.catalina.filters.HttpHeaderSecurityFilter",
|
||||
"params" : [{"name" : "hstsEnabled", "value" : "false"}]
|
||||
},
|
||||
{
|
||||
"name": "ContentTypeBasedCachePreventionFilter",
|
||||
"class": "org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter",
|
||||
"params" : [
|
||||
{"name" : "patterns", "value" : "text/html\" ,application/json\" ,text/plain"},
|
||||
{"name" : "filterAction", "value" : "enforce"},
|
||||
{"name" : "httpHeaders", "value" : "Cache-Control: no-store, no-cache, must-revalidate, private"}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"filterMappings":[
|
||||
{
|
||||
"name":"HttpHeaderSecurityFilter",
|
||||
"url":"*"
|
||||
},
|
||||
{
|
||||
"name":"ContentTypeBasedCachePreventionFilter",
|
||||
"url":"*"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
{
|
||||
"theme" : {
|
||||
"base" : "wso2"
|
||||
},
|
||||
"context" : "/api-store",
|
||||
"showPublicStoreURL":true,
|
||||
"showThemesMenu":false,
|
||||
"tagWiseMode" :"false",
|
||||
"tagGroupKey" :"-group",
|
||||
"ssoConfiguration" : {
|
||||
"enabled" : "true",
|
||||
"issuer" : "API_STORE",
|
||||
"identityProviderURL" : "https://localhost:9443/samlsso",
|
||||
"keyStorePassword" : "",
|
||||
"identityAlias" : "",
|
||||
"responseSigningEnabled":"true",
|
||||
"assertionSigningEnabled":"true",
|
||||
"keyStoreName" :"",
|
||||
"passive" : "true",
|
||||
"signRequests" : "true",
|
||||
"assertionEncryptionEnabled" : "false"
|
||||
},
|
||||
"oidcConfiguration" : {
|
||||
"enabled" : "false",
|
||||
"issuer" : "API_STORE",
|
||||
"identityProviderURI" : "http://localhost:8080/openid-connect-server-webapp/",
|
||||
"authorizationEndpointURI" : "http://localhost:8080/openid-connect-server-webapp/authorize",
|
||||
"tokenEndpointURI" : "http://localhost:8080/openid-connect-server-webapp/token",
|
||||
"userInfoURI" : "http://localhost:8080/openid-connect-server-webapp/userinfo",
|
||||
"jwksURI" : "http://localhost:8080/openid-connect-server-webapp/jwk",
|
||||
"clientConfiguration" : {
|
||||
"clientId" : "client_am_store",
|
||||
"clientSecret" : "secret",
|
||||
"responseType" : "code",
|
||||
"authorizationType" : "authorization_code",
|
||||
"scope" : "phone email address openid profile",
|
||||
"redirectURI" : "https://localhost:9443/api-store/jagg/jaggery_oidc_acs.jag",
|
||||
"clientAlgorithm" : "RS256"
|
||||
}
|
||||
},
|
||||
"mutualAuthConfiguration" : {
|
||||
"enabled" : "false"
|
||||
},
|
||||
"forum" : {
|
||||
"topicsPerPage" : "5",
|
||||
"repliesPerPage" : "5",
|
||||
"resourceIdentifier" : "common"
|
||||
},
|
||||
"reverseProxy" : {
|
||||
"enabled" : false,
|
||||
"host" : "sample.proxydomain.com",
|
||||
"context":""
|
||||
},
|
||||
"mapExistingAuthApps" : false
|
||||
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
{
|
||||
"displayName": "EMM Web Agent",
|
||||
"logLevel": "error",
|
||||
"initScripts": ["/app/modules/init.js"],
|
||||
"urlMappings": [
|
||||
{
|
||||
"url": "/enrollment",
|
||||
"path": "/lib/pages.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/windows/login",
|
||||
"path": "/app/modules/enrollments/windows/agent-controller.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/windows/enroll",
|
||||
"path": "/app/modules/enrollments/windows/agent-enroll.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/ios/download-certificate",
|
||||
"path": "/app/modules/enrollments/ios/certificate.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/ios/download-agent",
|
||||
"path": "/app/modules/enrollments/ios/agent.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/ios/login",
|
||||
"path": "/app/modules/enrollments/ios/agent-controller.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/ios/enroll",
|
||||
"path": "/app/modules/enrollments/ios/agent-enroll.jag"
|
||||
},
|
||||
{
|
||||
"url": "/enrollment/ios/check",
|
||||
"path": "/app/modules/enrollments/ios/agent-check.jag"
|
||||
},
|
||||
{
|
||||
"url": "/api/invoker/*",
|
||||
"path": "/api/invoker-api.jag"
|
||||
},
|
||||
{
|
||||
"url": "/uuf/login",
|
||||
"path": "/lib/modules/auth/login.jag"
|
||||
},
|
||||
{
|
||||
"url": "/uuf/logout",
|
||||
"path": "/lib/modules/auth/logout.jag"
|
||||
},
|
||||
{
|
||||
"url": "/uuf/sso/acs",
|
||||
"path": "/lib/modules/auth/acs.jag"
|
||||
},
|
||||
{
|
||||
"url": "/public/*",
|
||||
"path": "/lib/static-files.jag"
|
||||
},
|
||||
{
|
||||
"url": "/unit/*",
|
||||
"path": "/lib/units.jag"
|
||||
},
|
||||
{
|
||||
"url": "/*",
|
||||
"path": "/lib/pages.jag"
|
||||
}
|
||||
],
|
||||
"securityConstraints": [
|
||||
{
|
||||
"securityConstraint": {
|
||||
"webResourceCollection": {
|
||||
"name": "WINDOWS-WEB-AGENT",
|
||||
"urlPatterns": [
|
||||
"/*"
|
||||
]
|
||||
},
|
||||
"userDataConstraint": {
|
||||
"transportGuarantee": "CONFIDENTIAL"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"securityConstraint": {
|
||||
"webResourceCollection": {
|
||||
"name": "WINDOWS-WEB-AGENT-http",
|
||||
"urlPatterns": [
|
||||
"/public/*",
|
||||
"/enrollments/windows/*",
|
||||
"/enrollment/windows/*"
|
||||
]
|
||||
},
|
||||
"userDataConstraint": {
|
||||
"transportGuarantee": "NONE"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"filters": [
|
||||
{
|
||||
"name": "ContentTypeBasedCachePreventionFilter",
|
||||
"class": "org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter",
|
||||
"params" : [
|
||||
{"name" : "patterns", "value" : "text/html\" ,application/json\" ,text/plain"},
|
||||
{"name" : "filterAction", "value" : "enforce"},
|
||||
{"name" : "httpHeaders", "value" : "Cache-Control: no-store, no-cache, must-revalidate, private"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"HttpHeaderSecurityFilter",
|
||||
"class":"org.apache.catalina.filters.HttpHeaderSecurityFilter",
|
||||
"params" : [{"name" : "hstsEnabled", "value" : "false"}]
|
||||
}
|
||||
|
||||
],
|
||||
"filterMappings": [
|
||||
{
|
||||
"name":"HttpHeaderSecurityFilter",
|
||||
"url":"*"
|
||||
},
|
||||
{
|
||||
"name":"ContentTypeBasedCachePreventionFilter",
|
||||
"url":"*"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
Loading…
Reference in new issue