final class org.apache.catalina.realm.MemoryUserRule extends org.apache.tomcat.util.digester.Rule
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.realm.MemoryUserRule
super_class: org.apache.tomcat.util.digester.Rule
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/realm/MemoryUserRule;
public void begin(java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ldc "username"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 3
ldc "name"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 4
3: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "password"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 3
ldc "roles"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: aload 0
getfield org.apache.catalina.realm.MemoryUserRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 0
getfield org.apache.catalina.realm.MemoryUserRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getCount:()I
iconst_1
isub
invokevirtual org.apache.tomcat.util.digester.Digester.peek:(I)Ljava/lang/Object;
checkcast org.apache.catalina.realm.MemoryRealm
6: astore 7
start local 7 7: aload 7
aload 4
aload 5
aload 6
invokevirtual org.apache.catalina.realm.MemoryRealm.addUser:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: return
end local 7 end local 6 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 9 0 this Lorg/apache/catalina/realm/MemoryUserRule;
0 9 1 namespace Ljava/lang/String;
0 9 2 name Ljava/lang/String;
0 9 3 attributes Lorg/xml/sax/Attributes;
1 9 4 username Ljava/lang/String;
4 9 5 password Ljava/lang/String;
5 9 6 roles Ljava/lang/String;
7 9 7 realm Lorg/apache/catalina/realm/MemoryRealm;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
attributes
}
SourceFile: "MemoryRuleSet.java"