Package org.fcrepo.auth.webac
Class WebACAuthorizationImpl
java.lang.Object
org.fcrepo.auth.webac.WebACAuthorizationImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.auth.WebACAuthorization
public class WebACAuthorizationImpl
extends Object
implements org.fcrepo.kernel.api.auth.WebACAuthorization
- Since:
- 2015-08-25
- Author:
- whikloj, acoburn
-
Constructor Summary
ConstructorsConstructorDescriptionWebACAuthorizationImpl(Collection<String> agents, Collection<String> agentClasses, Collection<URI> modes, Collection<String> accessTo, Collection<String> accessToClass, Collection<String> agentGroups, Collection<String> defaults) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the set of strings describing the rdf:types for this ACL, empty set if none.Get the set of strings directly linked from this ACL, empty set if none.Get the set of acl:agentClasses, empty set if none.Get the set of strings describing the agent groups for this ACL, empty set if none.Get the set of acl:agents, empty set if none.Get the set of strings describing the defaults for this ACL, empty set if none.getModes()Get the set of acl:modes, empty set if none.
-
Constructor Details
-
WebACAuthorizationImpl
public WebACAuthorizationImpl(Collection<String> agents, Collection<String> agentClasses, Collection<URI> modes, Collection<String> accessTo, Collection<String> accessToClass, Collection<String> agentGroups, Collection<String> defaults) Constructor- Parameters:
agents- The acl:agent valuesagentClasses- the acl:agentClass valuesmodes- the acl:mode valuesaccessTo- the acl:accessTo valuesaccessToClass- the acl:accessToClass valuesagentGroups- the acl:agentGroup valuesdefaults- the acl:default values
-
-
Method Details
-
getAgents
Get the set of acl:agents, empty set if none.- Specified by:
getAgentsin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of acl:agents
-
getAgentClasses
Get the set of acl:agentClasses, empty set if none.- Specified by:
getAgentClassesin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of acl:agentClasses
-
getModes
Get the set of acl:modes, empty set if none.- Specified by:
getModesin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of acl:modes
-
getAccessToURIs
Get the set of strings directly linked from this ACL, empty set if none.- Specified by:
getAccessToURIsin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of String
-
getAccessToClassURIs
Get the set of strings describing the rdf:types for this ACL, empty set if none.- Specified by:
getAccessToClassURIsin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of Strings
-
getAgentGroups
Get the set of strings describing the agent groups for this ACL, empty set if none.- Specified by:
getAgentGroupsin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of Strings
-
getDefaults
Get the set of strings describing the defaults for this ACL, empty set if none.- Specified by:
getDefaultsin interfaceorg.fcrepo.kernel.api.auth.WebACAuthorization- Returns:
- set of Strings
-