use of org.gluu.persist.model.base.SimpleBranch in project oxAuth by GluuFederation.
the class UmaRptService method addBranch.
public void addBranch() {
final SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ORGUNIT_OF_RPT);
branch.setDn(branchDn());
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxAuth by GluuFederation.
the class DeviceRegistrationService method addBranch.
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("fido");
branch.setDn(getBaseDnForU2fUserDevices(userInum));
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxAuth by GluuFederation.
the class PairwiseIdentifierService method addBranch.
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("pairwiseIdentifiers");
branch.setDn(getBaseDnForPairwiseIdentifiers(userInum));
ldapEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxTrust by GluuFederation.
the class ResourceSetService method addBranch.
public void addBranch() {
String branchDn = getDnForResource(null);
if (!persistenceEntryManager.hasBranchesSupport(branchDn)) {
return;
}
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(branchDn);
persistenceEntryManager.persist(branch);
}
use of org.gluu.persist.model.base.SimpleBranch in project oxTrust by GluuFederation.
the class UmaScopeService method addBranch.
public void addBranch() {
String branchDn = getDnForScope(null);
if (!persistenceEntryManager.hasBranchesSupport(branchDn)) {
return;
}
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("scopes");
branch.setDn(branchDn);
persistenceEntryManager.persist(branch);
}
Aggregations