Search in sources :

Example 1 with SimpleBranch

use of org.xdi.ldap.model.SimpleBranch in project oxAuth by GluuFederation.

the class ResourceSetService method addBranch.

public void addBranch() {
    SimpleBranch branch = new SimpleBranch();
    branch.setOrganizationalUnitName("uma_resource_sets");
    branch.setDn(getDnForResourceSet(null));
    ldapEntryManager.persist(branch);
}
Also used : SimpleBranch(org.xdi.ldap.model.SimpleBranch)

Example 2 with SimpleBranch

use of org.xdi.ldap.model.SimpleBranch in project oxAuth by GluuFederation.

the class RptManager method addBranch.

public void addBranch(String clientDn) {
    final SimpleBranch branch = new SimpleBranch();
    branch.setOrganizationalUnitName(ORGUNIT_OF_RPT);
    branch.setDn(branchDn(clientDn));
    ldapEntryManager.persist(branch);
}
Also used : SimpleBranch(org.xdi.ldap.model.SimpleBranch)

Example 3 with SimpleBranch

use of org.xdi.ldap.model.SimpleBranch in project oxAuth by GluuFederation.

the class ClientAuthorizationsService method addBranch.

public void addBranch(final String userInum) {
    SimpleBranch branch = new SimpleBranch();
    branch.setOrganizationalUnitName("clientAuthorizations");
    branch.setDn(getBaseDnForClientAuthorizations(userInum));
    ldapEntryManager.persist(branch);
}
Also used : SimpleBranch(org.xdi.ldap.model.SimpleBranch)

Example 4 with SimpleBranch

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

Example 5 with SimpleBranch

use of org.xdi.ldap.model.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);
}
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