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(int sizeLimit)
String
getBaseDnForResource()
String
getDnForResource(String jsId)
io.jans.as.model.uma.persistence.UmaResource
getResourceById(String id)
void
remove(io.jans.as.model.uma.persistence.UmaResource resource)
void
remove(String rsid)
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)
-
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)
-
getBaseDnForResource
public String getBaseDnForResource()
-
-