use of org.gluu.persist.model.base.SimpleBranch in project oxTrust by GluuFederation.
the class ResourceSetService method addBranch.
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxTrust by GluuFederation.
the class ScopeDescriptionService method addBranch.
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("scopes");
branch.setDn(getDnForScopeDescription(null));
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxCore by GluuFederation.
the class MetricService method addBranch.
public void addBranch(String branchDn, String ou) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ou);
branch.setDn(branchDn);
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxAuth by GluuFederation.
the class UmaResourceService method addBranch.
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxAuth by GluuFederation.
the class UmaPermissionService method addBranch.
public void addBranch(String clientDn) {
final SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ORGUNIT_OF_RESOURCE_PERMISSION);
branch.setDn(getBranchDn(clientDn));
ldapEntryManager.persist(branch);
}
Aggregations