public class PermissionBasedAuthorization extends Authorization
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<PermissionBasedAuthorization> |
__TYPE_ARG |
Constructor and Description |
---|
PermissionBasedAuthorization(Object delegate) |
PermissionBasedAuthorization(PermissionBasedAuthorization delegate) |
Modifier and Type | Method and Description |
---|---|
static PermissionBasedAuthorization |
create(String permission) |
boolean |
equals(Object o) |
PermissionBasedAuthorization |
getDelegate() |
String |
getPermission()
returns the value of the permission
|
String |
getResource()
returns an optional resource that the permission is assigned-on
|
int |
hashCode() |
static PermissionBasedAuthorization |
newInstance(PermissionBasedAuthorization arg) |
PermissionBasedAuthorization |
setResource(String resource)
sets an optional resource that the permission is assigned-on
|
String |
toString() |
match, match, newInstance, verify
public static final io.vertx.lang.rx.TypeArg<PermissionBasedAuthorization> __TYPE_ARG
public PermissionBasedAuthorization(PermissionBasedAuthorization delegate)
public PermissionBasedAuthorization(Object delegate)
public String toString()
toString
in class Authorization
public boolean equals(Object o)
equals
in class Authorization
public int hashCode()
hashCode
in class Authorization
public PermissionBasedAuthorization getDelegate()
getDelegate
in class Authorization
public static PermissionBasedAuthorization create(String permission)
public String getPermission()
public String getResource()
public PermissionBasedAuthorization setResource(String resource)
resource
- public static PermissionBasedAuthorization newInstance(PermissionBasedAuthorization arg)
Copyright © 2024 Eclipse. All rights reserved.