use of org.xdi.ldap.model.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.xdi.ldap.model.SimpleBranch in project oxAuth by GluuFederation.
the class ResourceSetPermissionManager method addBranch.
public void addBranch(String clientDn) {
final SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ORGUNIT_OF_RESOURCE_SET_PERMISSION);
branch.setDn(getBranchDn(clientDn));
ldapEntryManager.persist(branch);
}
Aggregations