| 程序包 | 说明 |
|---|---|
| org.hswebframework.web.authorization | |
| org.hswebframework.web.authorization.access | |
| org.hswebframework.web.authorization.simple |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultDimensionType |
| 限定符和类型 | 方法和说明 |
|---|---|
DimensionType |
Dimension.getType() |
default DimensionType |
User.getType() |
default DimensionType |
Role.getType() |
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Flux<? extends DimensionType> |
DimensionProvider.getAllType()
获取全部支持的维度
|
| 限定符和类型 | 方法和说明 |
|---|---|
default Optional<Dimension> |
Authentication.getDimension(DimensionType type,
String id) |
reactor.core.publisher.Mono<? extends Dimension> |
DimensionProvider.getDimensionById(DimensionType type,
String id)
根据维度类型和ID获取维度信息
|
default List<Dimension> |
Authentication.getDimensions(DimensionType type) |
default reactor.core.publisher.Flux<? extends Dimension> |
DimensionProvider.getDimensionsById(DimensionType type,
Collection<String> idList)
根据维度类型和Id获取多个维度
|
default boolean |
Authentication.hasDimension(DimensionType type,
String id) |
default boolean |
DimensionType.isSameType(DimensionType another) |
static Dimension |
Dimension.of(String id,
String name,
DimensionType type) |
static Dimension |
Dimension.of(String id,
String name,
DimensionType type,
Map<String,Object> options) |
default boolean |
Dimension.typeIs(DimensionType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Set<Object> |
DimensionHelper.getDimensionDataAccessScope(Authentication atz,
Permission permission,
String action,
DimensionType dimensionType) |
static Set<Object> |
DimensionHelper.getDimensionDataAccessScope(Authentication atz,
String permission,
String action,
DimensionType dimensionType) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleDimensionType |
Copyright © 2016–2023. All rights reserved.