当前位置: 首页>>代码示例>>Java>>正文


Java SimpleBranch.setDn方法代码示例

本文整理汇总了Java中org.gluu.persist.model.base.SimpleBranch.setDn方法的典型用法代码示例。如果您正苦于以下问题:Java SimpleBranch.setDn方法的具体用法?Java SimpleBranch.setDn怎么用?Java SimpleBranch.setDn使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.gluu.persist.model.base.SimpleBranch的用法示例。


在下文中一共展示了SimpleBranch.setDn方法的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);
}
 
开发者ID:GluuFederation,项目名称:oxTrust,代码行数:8,代码来源:PushApplicationService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxTrust,代码行数:8,代码来源:PushDeviceService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxTrust,代码行数:8,代码来源:ResourceSetService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxTrust,代码行数:8,代码来源:ScopeDescriptionService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxCore,代码行数:8,代码来源:MetricService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:8,代码来源:ClientAuthorizationsService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:8,代码来源:PairwiseIdentifierService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:8,代码来源:DeviceRegistrationService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:8,代码来源:UmaPctService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:8,代码来源:UmaResourceService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:7,代码来源:UmaPermissionService.java

示例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);
}
 
开发者ID:GluuFederation,项目名称:oxAuth,代码行数:7,代码来源:UmaRptService.java


注:本文中的org.gluu.persist.model.base.SimpleBranch.setDn方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。