public interface StaticPrivilege<T extends Enum<T> & StaticPrivilege<T>>
extends cn.home1.oss.lib.common.DiscoverableEnum<T>, org.springframework.security.core.GrantedAuthority
Modifier and Type | Field and Description |
---|---|
static String |
PRIVILEGE_PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
default String |
getAuthority() |
String |
getResource() |
default String |
getText() |
static String |
toAuthority(String resource,
String action) |
static final String PRIVILEGE_PREFIX
Copyright © 2017. All rights reserved.