-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
224 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ manage_tabs_enabled: | |
- saml20_sp | ||
- oidc10_rp | ||
- oauth20_rs | ||
- policy | ||
- single_tenant_template | ||
- provisioning |
18 changes: 18 additions & 0 deletions
18
roles/manage-server/files/metadata_templates/policy.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"metaDataFields": {}, | ||
"name": "", | ||
"entityid": "", | ||
"description": "", | ||
"serviceProviderIds": [], | ||
"identityProviderIds": [], | ||
"attributes": [], | ||
"loas": [], | ||
"denyAdvice": "", | ||
"denyRule": false, | ||
"allAttributesMustMatch": false, | ||
"userDisplayName": "", | ||
"authenticatingAuthorityName": "", | ||
"denyAdviceNl": "", | ||
"active": true, | ||
"type": "reg" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
203 changes: 203 additions & 0 deletions
203
roles/manage-server/templates/metadata_configuration/policy.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "policy", | ||
"order": 6, | ||
"type": "object", | ||
"properties": { | ||
"eid": { | ||
"type": "number" | ||
}, | ||
"entityid": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"policyId": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"name": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"description": { | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"reg", | ||
"step" | ||
], | ||
"default": "reg" | ||
}, | ||
"revisionid": { | ||
"type": "number" | ||
}, | ||
"created": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"revisionnote": { | ||
"type": "string" | ||
}, | ||
"notes": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"serviceProviderIds": { | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"identityProviderIds": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"metaDataFields": { | ||
"type": "object", | ||
"properties": {}, | ||
"patternProperties": {}, | ||
"required": [], | ||
"additionalProperties": false | ||
}, | ||
"attributes": { | ||
"type": "array", | ||
"required": ["name", "value"], | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
}, | ||
"negated": { | ||
"type": "boolean", | ||
"default": "false" | ||
} | ||
} | ||
} | ||
}, | ||
"loas": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"level": { | ||
"type": "string" | ||
}, | ||
"allAttributesMustMatch": { | ||
"type": "boolean" | ||
}, | ||
"negateCidrNotation": { | ||
"type": "boolean" | ||
}, | ||
"attributes": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
}, | ||
"negated": { | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
}, | ||
"cidrNotations": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"ipAddress": { | ||
"type": "string" | ||
}, | ||
"prefix": { | ||
"type": "integer" | ||
}, | ||
"ipInfo": { | ||
"type": "object", | ||
"properties": { | ||
"networkAddress": { | ||
"type": "string" | ||
}, | ||
"broadcastAddress": { | ||
"type": "string" | ||
}, | ||
"capacity": { | ||
"type": "number" | ||
}, | ||
"ipv4": { | ||
"type": "boolean" | ||
}, | ||
"prefix": { | ||
"type": "integer" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"allAttributesMustMatch": { | ||
"type": "boolean" | ||
}, | ||
"active": { | ||
"type": "boolean" | ||
}, | ||
"denyRule": { | ||
"type": "boolean" | ||
}, | ||
"userDisplayName": { | ||
"type": "string" | ||
}, | ||
"authenticatingAuthorityName": { | ||
"type": "string" | ||
}, | ||
"denyAdvice": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"denyAdviceNl": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"serviceProviderIds" | ||
], | ||
"additionalProperties": false, | ||
"indexes": [] | ||
} |
2 changes: 1 addition & 1 deletion
2
roles/manage-server/templates/metadata_configuration/single_tenant_template.schema.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters