use of io.jans.orm.couchbase.model.UmaResource in project jans by JanssenProject.
the class UmaResourceSample method main.
public static void main(String[] args) {
// Prepare sample connection details
CouchbaseEntryManagerSample couchbaseEntryManagerSample = new CouchbaseEntryManagerSample();
// Create Couchbase entry manager
CouchbaseEntryManager entryManager = couchbaseEntryManagerSample.createCouchbaseEntryManager();
final Filter filter = Filter.createEqualityFilter("jansAssociatedClnt", "inum=AB77-1A2B,ou=clients,o=jans");
List<UmaResource> umaResource = entryManager.findEntries("ou=resources,ou=uma,o=jans", UmaResource.class, filter);
LOG.info("Found umaResources: " + umaResource);
}
Aggregations