| Modifier and Type | Interface and Description |
|---|---|
interface |
Role
角色信息
|
interface |
User
用户信息
|
| Modifier and Type | Method and Description |
|---|---|
static Dimension |
Dimension.of(String id,
String name,
DimensionType type) |
static Dimension |
Dimension.of(String id,
String name,
DimensionType type,
Map<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
default Optional<Dimension> |
Authentication.getDimension(DimensionType type,
String id) |
default Optional<Dimension> |
Authentication.getDimension(String type,
String id) |
reactor.core.publisher.Mono<? extends Dimension> |
DimensionProvider.getDimensionById(DimensionType type,
String id)
根据维度类型和ID获取维度信息
|
reactor.core.publisher.Flux<? extends Dimension> |
DimensionProvider.getDimensionByUserId(String userId)
获取用户获取维度信息
|
List<Dimension> |
Authentication.getDimensions() |
default List<Dimension> |
Authentication.getDimensions(DimensionType type) |
default List<Dimension> |
Authentication.getDimensions(String type) |
default reactor.core.publisher.Flux<? extends Dimension> |
DimensionProvider.getDimensionsById(DimensionType type,
Collection<String> idList)
根据维度类型和Id获取多个维度
|
| Modifier and Type | Method and Description |
|---|---|
static Role |
Role.fromDimension(Dimension dimension) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
Authentication.copy(BiPredicate<Permission,String> permissionFilter,
Predicate<Dimension> dimension)
copy为新的权限信息
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DimensionsDefinition.hasDimension(Dimension dimension) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DimensionsDefinition.hasDimension(List<Dimension> dimensions) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleDimension |
class |
SimpleRole |
class |
SimpleUser |
| Modifier and Type | Method and Description |
|---|---|
static Role |
SimpleRole.of(Dimension dimension) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
SimpleAuthentication.copy(BiPredicate<Permission,String> permissionFilter,
Predicate<Dimension> dimension) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<? extends Dimension> |
UserDimensionProvider.getDimensionById(DimensionType type,
String id) |
reactor.core.publisher.Flux<Dimension> |
UserDimensionProvider.getDimensionByUserId(String userId) |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicDimension |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<? extends Dimension> |
DefaultDimensionService.getDimensionsById(DimensionType type,
Collection<String> idList) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Flux<AuthorizationSettingEntity> |
DefaultReactiveAuthenticationInitializeService.getSettings(List<Dimension> dimensions) |
protected SimpleAuthentication |
DefaultReactiveAuthenticationInitializeService.handlePermission(SimpleAuthentication authentication,
List<Dimension> dimensionList,
Map<String,PermissionEntity> permissions,
Map<String,List<AuthorizationSettingEntity>> settings) |
Copyright © 2016–2021. All rights reserved.