public interface AccessControlService
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Boolean |
anyMatch(Session session,
org.apache.commons.rdf.api.IRI identifier,
java.util.function.Predicate<org.apache.commons.rdf.api.IRI> predicate) |
Test whether the given acl:Mode matches a given predicate
|
default java.lang.Boolean |
canAppend(Session session,
org.apache.commons.rdf.api.IRI identifier) |
Test whether the user can append the given resource
|
default java.lang.Boolean |
canControl(Session session,
org.apache.commons.rdf.api.IRI identifier) |
Test whether the user can control the ACL for the given resource
|
default java.lang.Boolean |
canRead(Session session,
org.apache.commons.rdf.api.IRI identifier) |
Test whether the resource is readable
|
default java.lang.Boolean |
canWrite(Session session,
org.apache.commons.rdf.api.IRI identifier) |
Test whether the resource is writeable
|
default java.lang.Boolean canRead(Session session, org.apache.commons.rdf.api.IRI identifier)
session - the user sessionidentifier - the resource identifierdefault java.lang.Boolean canWrite(Session session, org.apache.commons.rdf.api.IRI identifier)
session - the user sessionidentifier - the resource identifierdefault java.lang.Boolean canControl(Session session, org.apache.commons.rdf.api.IRI identifier)
session - the user sessionidentifier - the resource identifierdefault java.lang.Boolean canAppend(Session session, org.apache.commons.rdf.api.IRI identifier)
session - the user sessionidentifier - the resource identifierjava.lang.Boolean anyMatch(Session session, org.apache.commons.rdf.api.IRI identifier, java.util.function.Predicate<org.apache.commons.rdf.api.IRI> predicate)
session - the user sessionidentifier - the resource identifierpredicate - the predicate used to test the Authorization mode