mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^0.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"@id": "urn:solid-server:default:AclIdentifierStrategy",
|
|
"@type": "SuffixAuxiliaryIdentifierStrategy",
|
|
"suffix": ".acl"
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:AclStrategy",
|
|
"@type": "ComposedAuxiliaryStrategy",
|
|
"identifierStrategy": {
|
|
"@id": "urn:solid-server:default:AclIdentifierStrategy"
|
|
},
|
|
"metadataGenerator": {
|
|
"@type": "LinkMetadataGenerator",
|
|
"link": "http://www.w3.org/ns/auth/acl#accessControl",
|
|
"identifierStrategy": {
|
|
"@id": "urn:solid-server:default:AclIdentifierStrategy"
|
|
}
|
|
},
|
|
"validator": {
|
|
"@id": "urn:solid-server:default:RdfValidator"
|
|
},
|
|
"isRootRequired": true
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:AclBasedAuthorizer",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": "This authorizer makes sure that for auxiliary resources, the main authorizer gets called with the associated identifier.",
|
|
"@type": "AuxiliaryAuthorizer",
|
|
"resourceAuthorizer": {
|
|
"@id": "urn:solid-server:default:WebAclAuthorizer"
|
|
},
|
|
"auxStrategy": {
|
|
"@id": "urn:solid-server:default:AuxiliaryStrategy"
|
|
}
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:WebAclAuthorizer"
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:WebAclAuthorizer",
|
|
"@type": "WebAclAuthorizer",
|
|
"aclStrategy": {
|
|
"@id": "urn:solid-server:default:AclIdentifierStrategy"
|
|
},
|
|
"resourceStore": {
|
|
"@id": "urn:solid-server:default:ResourceStore"
|
|
},
|
|
"identifierStrategy": {
|
|
"@id": "urn:solid-server:default:IdentifierStrategy"
|
|
}
|
|
}
|
|
]
|
|
}
|