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