public class DomainsResourceImpl extends Object implements org.ow2.authzforce.rest.api.jaxrs.DomainsResource
Constructor and Description |
---|
DomainsResourceImpl(org.ow2.authzforce.core.pap.api.dao.DomainsDao<DomainResourceImpl<?>> domainsDao,
String authorizedResourceAttribute,
String anyResourceId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.w3._2005.atom.Link |
addDomain(org.ow2.authzforce.rest.api.xmlns.DomainProperties props) |
org.ow2.authzforce.rest.api.jaxrs.DomainResource |
getDomainResource(String domainId) |
org.ow2.authzforce.rest.api.xmlns.Resources |
getDomains(String externalId) |
@ConstructorProperties(value={"domainsDao","authorizedResourceAttribute","anyResourceId"}) public DomainsResourceImpl(org.ow2.authzforce.core.pap.api.dao.DomainsDao<DomainResourceImpl<?>> domainsDao, String authorizedResourceAttribute, String anyResourceId)
domainsDao
- domain repositoryauthorizedResourceAttribute
- name of ServletRequest attribute expected to give the list of authorized resource ( java.util.List
) IDs for the current useranyResourceId
- identifier for "any resource" (access to any one)public org.w3._2005.atom.Link addDomain(org.ow2.authzforce.rest.api.xmlns.DomainProperties props)
addDomain
in interface org.ow2.authzforce.rest.api.jaxrs.DomainsResource
public org.ow2.authzforce.rest.api.xmlns.Resources getDomains(String externalId)
getDomains
in interface org.ow2.authzforce.rest.api.jaxrs.DomainsResource
public org.ow2.authzforce.rest.api.jaxrs.DomainResource getDomainResource(String domainId)
getDomainResource
in interface org.ow2.authzforce.rest.api.jaxrs.DomainsResource
Copyright © 2012–2020. All rights reserved.