public interface PermissionBasedAuthorization extends Authorization
Modifier and Type | Method and Description |
---|---|
static PermissionBasedAuthorization |
create(String permission) |
String |
getPermission()
returns the value of the permission
|
String |
getResource()
returns an optional resource that the permission is assigned-on
|
PermissionBasedAuthorization |
setResource(String resource)
sets an optional resource that the permission is assigned-on
|
match, match, verify
static PermissionBasedAuthorization create(String permission)
String getPermission()
String getResource()
PermissionBasedAuthorization setResource(String resource)
Copyright © 2024 Eclipse. All rights reserved.