Search in sources :

Example 11 with SimpleBranch

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);
}
Also used : SimpleBranch(org.xdi.ldap.model.SimpleBranch)

Example 12 with SimpleBranch

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);
}
Also used : SimpleBranch(org.xdi.ldap.model.SimpleBranch)

Aggregations

SimpleBranch (org.xdi.ldap.model.SimpleBranch)12 ArrayList (java.util.ArrayList)1 Date (java.util.Date)1 HashSet (java.util.HashSet)1 LinkedList (java.util.LinkedList)1 List (java.util.List)1 BatchOperation (org.gluu.site.ldap.persistence.BatchOperation)1 MetricEntry (org.xdi.model.metric.ldap.MetricEntry)1