Class WildcardPermissionBasedAuthorization
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.authorization.Authorization
-
- io.vertx.mutiny.ext.auth.authorization.WildcardPermissionBasedAuthorization
-
public class WildcardPermissionBasedAuthorization extends Authorization
Represents a wildcard permission (ie: 'manage:order:*' '*:orders', '*', etc.) Note that it can optionally be assigned to a specific resource NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<WildcardPermissionBasedAuthorization>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description WildcardPermissionBasedAuthorization(io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization delegate)
WildcardPermissionBasedAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WildcardPermissionBasedAuthorization
create(String permission)
boolean
equals(Object o)
io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization
getDelegate()
String
getPermission()
String
getResource()
int
hashCode()
static WildcardPermissionBasedAuthorization
newInstance(io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization arg)
WildcardPermissionBasedAuthorization
setResource(String resource)
String
toString()
-
Methods inherited from class io.vertx.mutiny.ext.auth.authorization.Authorization
match, match, newInstance, verify
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<WildcardPermissionBasedAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
WildcardPermissionBasedAuthorization
public WildcardPermissionBasedAuthorization(io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization delegate)
-
WildcardPermissionBasedAuthorization
public WildcardPermissionBasedAuthorization(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization getDelegate()
- Overrides:
getDelegate
in classAuthorization
-
toString
public String toString()
- Overrides:
toString
in classAuthorization
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAuthorization
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAuthorization
-
create
public static WildcardPermissionBasedAuthorization create(String permission)
-
getPermission
public String getPermission()
- Returns:
-
getResource
public String getResource()
- Returns:
-
setResource
public WildcardPermissionBasedAuthorization setResource(String resource)
- Parameters:
resource
-- Returns:
-
newInstance
public static WildcardPermissionBasedAuthorization newInstance(io.vertx.ext.auth.authorization.WildcardPermissionBasedAuthorization arg)
-
-