Package org.fcrepo.auth.webac
Class WebACRolesProvider
- java.lang.Object
-
- org.fcrepo.auth.webac.WebACRolesProvider
-
@Component public class WebACRolesProvider extends Object
- Since:
- 9/3/15
- Author:
- acoburn
-
-
Field Summary
Fields Modifier and Type Field Description static StringGROUP_AGENT_BASE_URI_PROPERTYstatic StringUSER_AGENT_BASE_URI_PROPERTY
-
Constructor Summary
Constructors Constructor Description WebACRolesProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Collection<String>>getRoles(org.fcrepo.kernel.api.models.FedoraResource resource, org.fcrepo.kernel.api.Transaction transaction)Get the roles assigned to this Node.
-
-
-
Field Detail
-
GROUP_AGENT_BASE_URI_PROPERTY
public static final String GROUP_AGENT_BASE_URI_PROPERTY
- See Also:
- Constant Field Values
-
USER_AGENT_BASE_URI_PROPERTY
public static final String USER_AGENT_BASE_URI_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebACRolesProvider
public WebACRolesProvider()
-
-
Method Detail
-
getRoles
public Map<String,Collection<String>> getRoles(org.fcrepo.kernel.api.models.FedoraResource resource, org.fcrepo.kernel.api.Transaction transaction)
Get the roles assigned to this Node.- Parameters:
resource- the subject resourcetransaction- the transaction being acted upon- Returns:
- a set of roles for each principal
-
-