public class org.apache.commons.vfs2.auth.StaticUserAuthenticator implements org.apache.commons.vfs2.UserAuthenticator, java.lang.Comparable<org.apache.commons.vfs2.auth.StaticUserAuthenticator>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.vfs2.auth.StaticUserAuthenticator
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log LOG;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String username;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String password;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.apache.commons.vfs2.auth.StaticUserAuthenticator.LOG:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
2: aload 0
aload 3
putfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
3: aload 0
aload 1
putfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 5 1 domain Ljava/lang/String;
0 5 2 username Ljava/lang/String;
0 5 3 password Ljava/lang/String;
MethodParameters:
Name Flags
domain final
username final
password final
public org.apache.commons.vfs2.UserAuthenticationData requestAuthentication(org.apache.commons.vfs2.UserAuthenticationData$Type[]);
descriptor: ([Lorg/apache/commons/vfs2/UserAuthenticationData$Type;)Lorg/apache/commons/vfs2/UserAuthenticationData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new org.apache.commons.vfs2.UserAuthenticationData
dup
invokespecial org.apache.commons.vfs2.UserAuthenticationData.<init>:()V
astore 2
start local 2 1: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 18
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator org.apache.commons.vfs2.UserAuthenticationData$Type[] org.apache.commons.vfs2.UserAuthenticationData top int int org.apache.commons.vfs2.UserAuthenticationData$Type[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
getstatic org.apache.commons.vfs2.UserAuthenticationData.DOMAIN:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
if_acmpne 6
4: aload 2
getstatic org.apache.commons.vfs2.UserAuthenticationData.DOMAIN:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toChar:(Ljava/lang/String;)[C
invokevirtual org.apache.commons.vfs2.UserAuthenticationData.setData:(Lorg/apache/commons/vfs2/UserAuthenticationData$Type;[C)V
5: goto 17
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator org.apache.commons.vfs2.UserAuthenticationData$Type[] org.apache.commons.vfs2.UserAuthenticationData org.apache.commons.vfs2.UserAuthenticationData$Type int int org.apache.commons.vfs2.UserAuthenticationData$Type[]
StackMap stack:
6: aload 3
getstatic org.apache.commons.vfs2.UserAuthenticationData.USERNAME:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
if_acmpne 9
7: aload 2
getstatic org.apache.commons.vfs2.UserAuthenticationData.USERNAME:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toChar:(Ljava/lang/String;)[C
invokevirtual org.apache.commons.vfs2.UserAuthenticationData.setData:(Lorg/apache/commons/vfs2/UserAuthenticationData$Type;[C)V
8: goto 17
StackMap locals:
StackMap stack:
9: aload 3
getstatic org.apache.commons.vfs2.UserAuthenticationData.PASSWORD:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
if_acmpne 12
10: aload 2
getstatic org.apache.commons.vfs2.UserAuthenticationData.PASSWORD:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toChar:(Ljava/lang/String;)[C
invokevirtual org.apache.commons.vfs2.UserAuthenticationData.setData:(Lorg/apache/commons/vfs2/UserAuthenticationData$Type;[C)V
11: goto 17
12: StackMap locals:
StackMap stack:
getstatic org.apache.commons.vfs2.auth.StaticUserAuthenticator.LOG:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 17
13: getstatic org.apache.commons.vfs2.auth.StaticUserAuthenticator.LOG:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: ldc " does not support authentication data type '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: ldc "'; authentication request for this type ignored."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
end local 3 17: StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator org.apache.commons.vfs2.UserAuthenticationData$Type[] org.apache.commons.vfs2.UserAuthenticationData top int int org.apache.commons.vfs2.UserAuthenticationData$Type[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
iload 5
if_icmplt 2
19: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 20 1 types [Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
1 20 2 data Lorg/apache/commons/vfs2/UserAuthenticationData;
3 17 3 type Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
MethodParameters:
Name Flags
types final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 37
iload 1
imul
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator int
StackMap stack: int
2: aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator int
StackMap stack: int int
3: iadd
istore 1
4: bipush 37
iload 1
imul
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator int
StackMap stack: int int
6: iadd
istore 1
7: bipush 37
iload 1
imul
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
ifnonnull 8
iconst_0
goto 9
StackMap locals:
StackMap stack: int
8: aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator int
StackMap stack: int int
9: iadd
istore 1
10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
1 11 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 org.apache.commons.vfs2.auth.StaticUserAuthenticator
astore 2
start local 2 7: aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
aload 2
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.equalsNullsafe:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
aload 2
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.equalsNullsafe:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
8: aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
aload 2
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.equalsNullsafe:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
9: iconst_1
ireturn
StackMap locals: org.apache.commons.vfs2.auth.StaticUserAuthenticator
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 11 1 obj Ljava/lang/Object;
7 11 2 other Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
MethodParameters:
Name Flags
obj final
private boolean equalsNullsafe(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 2
ifnull 5
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 6 1 thisString Ljava/lang/String;
0 6 2 otherString Ljava/lang/String;
MethodParameters:
Name Flags
thisString final
otherString final
public int compareTo(org.apache.commons.vfs2.auth.StaticUserAuthenticator);
descriptor: (Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
aload 1
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.compareStringOrNull:(Ljava/lang/String;Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
ifne 2
aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
aload 1
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.compareStringOrNull:(Ljava/lang/String;Ljava/lang/String;)I
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: istore 2
4: iload 2
ifne 5
aload 0
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
aload 1
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.compareStringOrNull:(Ljava/lang/String;Ljava/lang/String;)I
goto 6
StackMap locals:
StackMap stack:
5: iload 2
StackMap locals:
StackMap stack: int
6: istore 2
7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 8 1 other Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
1 8 2 result I
MethodParameters:
Name Flags
other final
private int compareStringOrNull(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 2
ifnull 8
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 3
start local 3 6: iload 3
ifeq 8
7: iload 3
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
0 9 1 thisString Ljava/lang/String;
0 9 2 otherString Ljava/lang/String;
6 8 3 result I
MethodParameters:
Name Flags
thisString final
otherString final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
ifnull 3
2: aload 1
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.domain:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
ifnull 6
4: aload 1
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.username:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
ldc "(null)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.vfs2.auth.StaticUserAuthenticator.password:Ljava/lang/String;
ifnull 9
8: aload 1
ldc ":***"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;
1 10 1 buffer Ljava/lang/StringBuilder;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.commons.vfs2.auth.StaticUserAuthenticator
invokevirtual org.apache.commons.vfs2.auth.StaticUserAuthenticator.compareTo:(Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/commons/vfs2/UserAuthenticator;Ljava/lang/Comparable<Lorg/apache/commons/vfs2/auth/StaticUserAuthenticator;>;
SourceFile: "StaticUserAuthenticator.java"
InnerClasses:
public Type = org.apache.commons.vfs2.UserAuthenticationData$Type of org.apache.commons.vfs2.UserAuthenticationData