Package com.complexible.stardog.security
Class NamedGraphPermissions
- java.lang.Object
-
- com.complexible.stardog.security.NamedGraphPermissions
-
public final class NamedGraphPermissions extends java.lang.Object
Utility for granting and revoking named graph permissions
- Since:
- 3.1
- Version:
- 6.0
- Author:
- Michael Grove
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedGraphPermissions
grantRole(java.lang.String theSubj)
NamedGraphPermissions
grantUser(java.lang.String theSubj)
static NamedGraphPermissions
on(PermissionManager theAdminConnection, java.lang.String theDb)
NamedGraphPermissions
read(IRI theURI, IRI... theOtherURIS)
NamedGraphPermissions
revokeRole(java.lang.String theSubj)
NamedGraphPermissions
revokeUser(java.lang.String theSubj)
NamedGraphPermissions
rw(IRI theURI, IRI... theOtherURIs)
NamedGraphPermissions
write(IRI theURI, IRI... theOtherURIs)
-
-
-
Method Detail
-
on
public static NamedGraphPermissions on(PermissionManager theAdminConnection, java.lang.String theDb)
-
read
public NamedGraphPermissions read(IRI theURI, IRI... theOtherURIS)
-
write
public NamedGraphPermissions write(IRI theURI, IRI... theOtherURIs)
-
rw
public NamedGraphPermissions rw(IRI theURI, IRI... theOtherURIs)
-
grantUser
public NamedGraphPermissions grantUser(java.lang.String theSubj) throws com.complexible.stardog.security.StardogSecurityException
- Throws:
com.complexible.stardog.security.StardogSecurityException
-
grantRole
public NamedGraphPermissions grantRole(java.lang.String theSubj) throws com.complexible.stardog.security.StardogSecurityException
- Throws:
com.complexible.stardog.security.StardogSecurityException
-
revokeUser
public NamedGraphPermissions revokeUser(java.lang.String theSubj) throws com.complexible.stardog.security.StardogSecurityException
- Throws:
com.complexible.stardog.security.StardogSecurityException
-
revokeRole
public NamedGraphPermissions revokeRole(java.lang.String theSubj) throws com.complexible.stardog.security.StardogSecurityException
- Throws:
com.complexible.stardog.security.StardogSecurityException
-
-