本文整理汇总了Java中org.gluu.persist.model.base.SimpleBranch.setOrganizationalUnitName方法的典型用法代码示例。如果您正苦于以下问题:Java SimpleBranch.setOrganizationalUnitName方法的具体用法?Java SimpleBranch.setOrganizationalUnitName怎么用?Java SimpleBranch.setOrganizationalUnitName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.gluu.persist.model.base.SimpleBranch
的用法示例。
在下文中一共展示了SimpleBranch.setOrganizationalUnitName方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("application");
branch.setDn(getDnForPushApplication(null));
ldapEntryManager.persist(branch);
}
示例2: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("device");
branch.setDn(getDnForPushDevice(null));
ldapEntryManager.persist(branch);
}
示例3: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
示例4: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("scopes");
branch.setDn(getDnForScopeDescription(null));
ldapEntryManager.persist(branch);
}
示例5: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(String branchDn, String ou) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ou);
branch.setDn(branchDn);
ldapEntryManager.persist(branch);
}
示例6: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("clientAuthorizations");
branch.setDn(getBaseDnForClientAuthorizations(userInum));
ldapEntryManager.persist(branch);
}
示例7: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("pairwiseIdentifiers");
branch.setDn(getBaseDnForPairwiseIdentifiers(userInum));
ldapEntryManager.persist(branch);
}
示例8: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(final String userInum) {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("fido");
branch.setDn(getBaseDnForU2fUserDevices(userInum));
ldapEntryManager.persist(branch);
}
示例9: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("pct");
branch.setDn(branchBaseDn());
ldapEntryManager.persist(branch);
}
示例10: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch() {
SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName("resources");
branch.setDn(getDnForResource(null));
ldapEntryManager.persist(branch);
}
示例11: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(String clientDn) {
final SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ORGUNIT_OF_RESOURCE_PERMISSION);
branch.setDn(getBranchDn(clientDn));
ldapEntryManager.persist(branch);
}
示例12: addBranch
import org.gluu.persist.model.base.SimpleBranch; //导入方法依赖的package包/类
public void addBranch(String clientDn) {
final SimpleBranch branch = new SimpleBranch();
branch.setOrganizationalUnitName(ORGUNIT_OF_RPT);
branch.setDn(branchDn(clientDn));
ldapEntryManager.persist(branch);
}