本文整理汇总了Java中org.springframework.security.acls.model.SidRetrievalStrategy类的典型用法代码示例。如果您正苦于以下问题:Java SidRetrievalStrategy类的具体用法?Java SidRetrievalStrategy怎么用?Java SidRetrievalStrategy使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SidRetrievalStrategy类属于org.springframework.security.acls.model包,在下文中一共展示了SidRetrievalStrategy类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AccessContextFactory
import org.springframework.security.acls.model.SidRetrievalStrategy; //导入依赖的package包/类
public AccessContextFactory(AclService aclService, ExtPermissionGrantingStrategy pgs, SidRetrievalStrategy sidStrategy) {
this.aclService = aclService;
this.pgs = pgs;
this.sidStrategy = sidStrategy;
}
示例2: aclContextFactory
import org.springframework.security.acls.model.SidRetrievalStrategy; //导入依赖的package包/类
@Bean
AccessContextFactory aclContextFactory(AclService aclService, ExtPermissionGrantingStrategy pgs, SidRetrievalStrategy sidRetrievalStrategy) {
return new AccessContextFactory(aclService, pgs, sidRetrievalStrategy);
}
示例3: sidRetrievalStrategy
import org.springframework.security.acls.model.SidRetrievalStrategy; //导入依赖的package包/类
@Bean
SidRetrievalStrategy sidRetrievalStrategy(RoleHierarchy roleHierarchy) {
return new TenantSidRetrievalStrategy(roleHierarchy);
}
示例4: aclContextFactory
import org.springframework.security.acls.model.SidRetrievalStrategy; //导入依赖的package包/类
@Primary
@Bean
AccessContextFactory aclContextFactory(ConfigurableAclService aclService, ExtPermissionGrantingStrategy pgs, SidRetrievalStrategy sidRetrievalStrategy) {
return new AccessContextFactory(aclService, pgs, sidRetrievalStrategy);
}
示例5: sidRetrievalStrategy
import org.springframework.security.acls.model.SidRetrievalStrategy; //导入依赖的package包/类
@Bean
public SidRetrievalStrategy sidRetrievalStrategy() {
return new SidRetrievalStrategyImpl();
}