You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/apt/client-options.apt.vm
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
Client Options
2
-
2
+
3
3
An application can obtain a client for interacting with Solid data in several ways. This guide will help you decide how your application will retrieve, configure and use a client.
4
4
5
5
* What you will need
@@ -133,7 +133,7 @@ public class ClientSample {
133
133
134
134
* <<<Response.BodyHandlers.ofInputStream()>>> This handler maps the HTTP response to an <<<InputStream>>>. This may be useful for custom processing of the response body.
135
135
136
-
* <<<Response.BodyHandlers.ofString()>>> This handler maps the HTTP response to a <<<String>>>. This may be useful for small text-oriented responses, though one should generally prefer the <<<InputStream>>>-based API.
136
+
* <<<Response.BodyHandlers.ofString()>>> This handler maps the HTTP response to a <<<String>>>. This may be useful for small text-oriented responses, though the <<<InputStream>>>-based API is generally preferred.
137
137
138
138
139
139
When working with RDF resources, there are Jena and RDF4J handlers that will map HTTP responses directly to a Jena or RDF4J Model. These handlers are useful in cases where applications are already using an RDF framework. <<<JenaBodyHandlers.ofModel()>>> or <<<RDF4JBodyHandlers.ofModel()>>> would be used in these cases.
Copy file name to clipboardExpand all lines: src/site/apt/data-modeling.apt.vm
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@ Data Modeling
17
17
* How to complete
18
18
19
19
At first you need to know (or choose) how your data is modeled on the Solid Pod.
20
-
Than one can model your data wite the available domain-specific types of with the class wrapper.
20
+
Then you can model your data with the available domain-specific types of with the class wrapper.
21
21
22
22
* Different data model approaches
23
23
24
-
Let's work with an example to describe the data model options.
24
+
Let's work with an example to describe the data model options.
25
25
26
26
We want to model a Book Library on the Pod:
27
27
28
-
* One Solid Resource - we have a Book Library Solid Resource which contains all the book descriptions part of that library it one Solid Resource or
28
+
* One Solid Resource - we have a Book Library Solid Resource which contains all the book descriptions part of that library in one Solid Resource or
29
29
30
30
* Multiple Solid Resources - we have a Book Library Solid Container which holds more Solid Resources. Each Resource, in turn, contains the description of only one Book.
Copy file name to clipboardExpand all lines: src/site/apt/sessions/session-access-grants.apt.vm
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,17 @@ Access Grants
3
3
{{{https://docs.inrupt.com/ess/latest/security/access-requests-grants/}Access Grants}} provide an alternative way to give access to your Solid resources. The Inrupt Java Client Libraries
4
4
provide tooling for working with Access Grants.
5
5
6
-
To use {{{https://docs.inrupt.com/ess/latest/security/access-requests-grants/}Access Grants}}, the resources one wants to access must have an {{{https://docs.inrupt.com/ess/latest/security/access-requests-grants/#access-grants-acp}access control policy (ACP) that enables the use of access grants}} and the Authorization Service must be able to exchange an access grant for a token (for example such as a {{{https://docs.inrupt.com/ess/latest/services/service-uma/}UMA Service}}).
6
+
To use {{{https://docs.inrupt.com/ess/latest/security/access-requests-grants/}Access Grants}}, the resources you want to access must have an {{{https://docs.inrupt.com/ess/latest/security/access-requests-grants/#access-grants-acp}access control policy (ACP) that enables the use of access grants}} and the Authorization Service must be able to exchange an access grant for a token (for example such as a {{{https://docs.inrupt.com/ess/latest/services/service-uma/}UMA Service}}).
7
7
8
8
* ACP that enables the use of Access Grants
9
9
10
-
One needs to edit the ACP of the resource the access grant will be used for.
11
-
10
+
One needs to edit the ACP of the resource the access grant will be used for.
11
+
12
12
** Manually adding triples to ACP
13
-
13
+
14
14
This can be done manually by using a resource management interface such as {{{https://podpro.dev/} Pod Pro}}.
15
15
16
-
The next example contains a new access control that matches <<<http://www.w3.org/ns/solid/vc#SolidAccessGrant>>>> and allows Read and Write access to a Solid Container and its contents.
16
+
The next example contains a new access control that matches <<<http://www.w3.org/ns/solid/vc#SolidAccessGrant>>>> and allows Read and Write access to a Solid Container and its contents.
0 commit comments