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