Package io.jans.configapi.service.auth
Class UmaResourceService
- java.lang.Object
-
- io.jans.configapi.service.auth.UmaResourceService
-
@ApplicationScoped public class UmaResourceService extends Object
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description UmaResourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBranch()
void
addResource(io.jans.as.model.uma.persistence.UmaResource resource)
List<io.jans.as.model.uma.persistence.UmaResource>
findResources(String pattern, int sizeLimit)
List<io.jans.as.model.uma.persistence.UmaResource>
findResourcesByName(String name, int sizeLimit)
List<io.jans.as.model.uma.persistence.UmaResource>
getAllResources()
List<io.jans.as.model.uma.persistence.UmaResource>
getAllResources(int sizeLimit)
String
getBaseDnForResource()
String
getDnForResource(String jsId)
io.jans.as.model.uma.persistence.UmaResource
getResourceById(String id)
List<io.jans.as.model.uma.persistence.UmaResource>
getResourcesByClient(String clientDn)
void
remove(io.jans.as.model.uma.persistence.UmaResource resource)
void
remove(String rsid)
io.jans.orm.model.PagedResult<io.jans.as.model.uma.persistence.UmaResource>
searchUmaResource(io.jans.model.SearchRequest searchRequest)
void
updateResource(io.jans.as.model.uma.persistence.UmaResource resource)
-
-
-
Method Detail
-
addBranch
public void addBranch()
-
findResources
public List<io.jans.as.model.uma.persistence.UmaResource> findResources(String pattern, int sizeLimit)
-
findResourcesByName
public List<io.jans.as.model.uma.persistence.UmaResource> findResourcesByName(String name, int sizeLimit)
-
getAllResources
public List<io.jans.as.model.uma.persistence.UmaResource> getAllResources(int sizeLimit)
-
getAllResources
public List<io.jans.as.model.uma.persistence.UmaResource> getAllResources()
-
addResource
public void addResource(io.jans.as.model.uma.persistence.UmaResource resource)
-
updateResource
public void updateResource(io.jans.as.model.uma.persistence.UmaResource resource)
-
remove
public void remove(io.jans.as.model.uma.persistence.UmaResource resource)
-
remove
public void remove(String rsid)
-
getResourceById
public io.jans.as.model.uma.persistence.UmaResource getResourceById(String id)
-
getResourcesByClient
public List<io.jans.as.model.uma.persistence.UmaResource> getResourcesByClient(String clientDn)
-
getBaseDnForResource
public String getBaseDnForResource()
-
searchUmaResource
public io.jans.orm.model.PagedResult<io.jans.as.model.uma.persistence.UmaResource> searchUmaResource(io.jans.model.SearchRequest searchRequest)
-
-