public final class com.sun.security.sasl.util.PolicyUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.security.sasl.util.PolicyUtils
super_class: java.lang.Object
{
public static final int NOPLAINTEXT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int NOACTIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int NODICTIONARY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int FORWARD_SECRECY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int NOANONYMOUS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int PASS_CREDENTIALS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 512
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lcom/sun/security/sasl/util/PolicyUtils;
public static boolean checkPolicy(int, java.util.Map<java.lang.String, ?>);
descriptor: (ILjava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.noplaintext"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: iload 0
iconst_1
iand
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.noactive"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: iload 0
iconst_2
iand
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.nodictionary"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
9: iload 0
iconst_4
iand
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.noanonymous"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
12: iload 0
bipush 16
iand
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.forward"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
15: iload 0
bipush 8
iand
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
ldc "true"
aload 1
ldc "javax.security.sasl.policy.credentials"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 20
18: iload 0
sipush 512
iand
ifne 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 flags I
0 21 1 props Ljava/util/Map<Ljava/lang/String;*>;
Signature: (ILjava/util/Map<Ljava/lang/String;*>;)Z
MethodParameters:
Name Flags
flags
props
public static java.lang.String[] filterMechs(java.lang.String[], int[], java.util.Map<java.lang.String, ?>);
descriptor: ([Ljava/lang/String;[ILjava/util/Map;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
2: StackMap locals:
StackMap stack:
aload 0
arraylength
newarray 4
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 9
6: StackMap locals: boolean[] int int
StackMap stack:
aload 3
iload 5
aload 1
iload 5
iaload
aload 2
invokestatic com.sun.security.sasl.util.PolicyUtils.checkPolicy:(ILjava/util/Map;)Z
dup_x2
bastore
ifeq 8
7: iinc 4 1
8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 0
arraylength
if_icmplt 6
end local 5 10: iload 4
anewarray java.lang.String
astore 5
start local 5 11: iconst_0
istore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 17
14: StackMap locals: java.lang.String[] int[] java.util.Map boolean[] int java.lang.String[] int int
StackMap stack:
aload 3
iload 6
baload
ifeq 16
15: aload 5
iload 7
iinc 7 1
aload 0
iload 6
aaload
aastore
16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 0
arraylength
if_icmplt 14
end local 7 end local 6 18: aload 5
areturn
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 19 0 mechs [Ljava/lang/String;
0 19 1 policies [I
0 19 2 props Ljava/util/Map<Ljava/lang/String;*>;
3 19 3 passed [Z
4 19 4 count I
5 10 5 i I
11 19 5 answer [Ljava/lang/String;
12 18 6 i I
13 18 7 j I
Signature: ([Ljava/lang/String;[ILjava/util/Map<Ljava/lang/String;*>;)[Ljava/lang/String;
MethodParameters:
Name Flags
mechs
policies
props
}
SourceFile: "PolicyUtils.java"