public class io.vertx.ext.auth.impl.UserImpl implements io.vertx.ext.auth.User, io.vertx.core.shareddata.impl.ClusterSerializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.auth.impl.UserImpl
super_class: java.lang.Object
{
private io.vertx.ext.auth.authorization.Authorizations authorizations;
descriptor: Lio/vertx/ext/auth/authorization/Authorizations;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.json.JsonObject attributes;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.json.JsonObject principal;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/UserImpl;
public void <init>(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
invokespecial io.vertx.ext.auth.impl.UserImpl.<init>:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 2 1 principal Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
principal
public void <init>(io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
putfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
2: aload 0
aload 2
putfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
3: aload 0
new io.vertx.ext.auth.authorization.impl.AuthorizationsImpl
dup
invokespecial io.vertx.ext.auth.authorization.impl.AuthorizationsImpl.<init>:()V
putfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 5 1 principal Lio/vertx/core/json/JsonObject;
0 5 2 attributes Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
principal
attributes
public io.vertx.ext.auth.authorization.Authorizations authorizations();
descriptor: ()Lio/vertx/ext/auth/authorization/Authorizations;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/UserImpl;
public io.vertx.core.json.JsonObject attributes();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/UserImpl;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.ext.auth.impl.UserImpl
astore 2
start local 2 7: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
aload 2
getfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
8: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
aload 2
getfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
aload 2
getfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
StackMap locals: io.vertx.ext.auth.impl.UserImpl
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 12 1 obj Ljava/lang/Object;
7 12 2 other Lio/vertx/ext/auth/impl/UserImpl;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
aastore
dup
iconst_1
aload 0
getfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
aastore
dup
iconst_2
aload 0
getfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/UserImpl;
public io.vertx.ext.auth.User isAuthorized(io.vertx.ext.auth.authorization.Authorization, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>>);
descriptor: (Lio/vertx/ext/auth/authorization/Authorization;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/User;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new io.vertx.ext.auth.authorization.impl.AuthorizationContextImpl
dup
aload 0
invokespecial io.vertx.ext.auth.authorization.impl.AuthorizationContextImpl.<init>:(Lio/vertx/ext/auth/User;)V
astore 3
start local 3 3: aload 2
aload 1
aload 3
invokeinterface io.vertx.ext.auth.authorization.Authorization.match:(Lio/vertx/ext/auth/authorization/AuthorizationContext;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 5 1 authorization Lio/vertx/ext/auth/authorization/Authorization;
0 5 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;
3 5 3 context Lio/vertx/ext/auth/authorization/AuthorizationContext;
Signature: (Lio/vertx/ext/auth/authorization/Authorization;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;)Lio/vertx/ext/auth/User;
MethodParameters:
Name Flags
authorization
resultHandler
public io.vertx.core.json.JsonObject principal();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/UserImpl;
public void setAuthProvider(io.vertx.ext.auth.AuthProvider);
descriptor: (Lio/vertx/ext/auth/AuthProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 1 1 authProvider Lio/vertx/ext/auth/AuthProvider;
MethodParameters:
Name Flags
authProvider
public void writeToBuffer(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.vertx.ext.auth.impl.UserConverter.encode:(Lio/vertx/ext/auth/User;)Lio/vertx/core/json/JsonObject;
aload 1
invokevirtual io.vertx.core.json.JsonObject.writeToBuffer:(Lio/vertx/core/buffer/Buffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 2 1 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
buffer
public int readFromBuffer(int, io.vertx.core.buffer.Buffer);
descriptor: (ILio/vertx/core/buffer/Buffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 3
start local 3 1: aload 3
iload 1
aload 2
invokevirtual io.vertx.core.json.JsonObject.readFromBuffer:(ILio/vertx/core/buffer/Buffer;)I
istore 4
start local 4 2: aload 3
invokestatic io.vertx.ext.auth.impl.UserConverter.decode:(Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/auth/User;
astore 5
start local 5 3: aload 0
aload 5
invokeinterface io.vertx.ext.auth.User.principal:()Lio/vertx/core/json/JsonObject;
putfield io.vertx.ext.auth.impl.UserImpl.principal:Lio/vertx/core/json/JsonObject;
4: aload 0
aload 5
invokeinterface io.vertx.ext.auth.User.authorizations:()Lio/vertx/ext/auth/authorization/Authorizations;
putfield io.vertx.ext.auth.impl.UserImpl.authorizations:Lio/vertx/ext/auth/authorization/Authorizations;
5: aload 0
aload 5
invokeinterface io.vertx.ext.auth.User.attributes:()Lio/vertx/core/json/JsonObject;
putfield io.vertx.ext.auth.impl.UserImpl.attributes:Lio/vertx/core/json/JsonObject;
6: iload 4
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/auth/impl/UserImpl;
0 7 1 pos I
0 7 2 buffer Lio/vertx/core/buffer/Buffer;
1 7 3 jsonObject Lio/vertx/core/json/JsonObject;
2 7 4 read I
3 7 5 readUser Lio/vertx/ext/auth/User;
MethodParameters:
Name Flags
pos
buffer
}
SourceFile: "UserImpl.java"