public final class org.apache.cassandra.auth.AuthKeyspace
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.auth.AuthKeyspace
super_class: java.lang.Object
{
public static final java.lang.String ROLES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "roles"
public static final java.lang.String ROLE_MEMBERS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "role_members"
public static final java.lang.String ROLE_PERMISSIONS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "role_permissions"
public static final java.lang.String RESOURCE_ROLE_INDEX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "resource_role_permissons_index"
public static final long SUPERUSER_SETUP_DELAY;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final org.apache.cassandra.config.CFMetaData Roles;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.cassandra.config.CFMetaData RoleMembers;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.cassandra.config.CFMetaData RolePermissions;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.cassandra.config.CFMetaData ResourceRoleIndex;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "cassandra.superuser_setup_delay_ms"
ldc 10000
invokestatic java.lang.Long.getLong:(Ljava/lang/String;J)Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
putstatic org.apache.cassandra.auth.AuthKeyspace.SUPERUSER_SETUP_DELAY:J
1: ldc "roles"
2: ldc "role definitions"
3: ldc "CREATE TABLE %s (role text,is_superuser boolean,can_login boolean,salted_hash text,member_of set<text>,PRIMARY KEY(role))"
4: invokestatic org.apache.cassandra.auth.AuthKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
5: putstatic org.apache.cassandra.auth.AuthKeyspace.Roles:Lorg/apache/cassandra/config/CFMetaData;
6: ldc "role_members"
7: ldc "role memberships lookup table"
8: ldc "CREATE TABLE %s (role text,member text,PRIMARY KEY(role, member))"
9: invokestatic org.apache.cassandra.auth.AuthKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
10: putstatic org.apache.cassandra.auth.AuthKeyspace.RoleMembers:Lorg/apache/cassandra/config/CFMetaData;
11: ldc "role_permissions"
12: ldc "permissions granted to db roles"
13: ldc "CREATE TABLE %s (role text,resource text,permissions set<text>,PRIMARY KEY(role, resource))"
14: invokestatic org.apache.cassandra.auth.AuthKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
15: putstatic org.apache.cassandra.auth.AuthKeyspace.RolePermissions:Lorg/apache/cassandra/config/CFMetaData;
16: ldc "resource_role_permissons_index"
17: ldc "index of db roles with permissions granted on a resource"
18: ldc "CREATE TABLE %s (resource text,role text,PRIMARY KEY(resource, role))"
19: invokestatic org.apache.cassandra.auth.AuthKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
20: putstatic org.apache.cassandra.auth.AuthKeyspace.ResourceRoleIndex:Lorg/apache/cassandra/config/CFMetaData;
21: return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/apache/cassandra/auth/AuthKeyspace;
private static org.apache.cassandra.config.CFMetaData compile(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
ldc "system_auth"
invokestatic org.apache.cassandra.config.CFMetaData.compile:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.comment:(Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
2: getstatic java.util.concurrent.TimeUnit.DAYS:Ljava/util/concurrent/TimeUnit;
ldc 90
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
l2i
invokevirtual org.apache.cassandra.config.CFMetaData.gcGraceSeconds:(I)Lorg/apache/cassandra/config/CFMetaData;
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
0 4 1 description Ljava/lang/String;
0 4 2 schema Ljava/lang/String;
MethodParameters:
Name Flags
name
description
schema
public static org.apache.cassandra.schema.KeyspaceMetadata metadata();
descriptor: ()Lorg/apache/cassandra/schema/KeyspaceMetadata;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "system_auth"
iconst_1
invokestatic org.apache.cassandra.schema.KeyspaceParams.simple:(I)Lorg/apache/cassandra/schema/KeyspaceParams;
iconst_4
anewarray org.apache.cassandra.config.CFMetaData
dup
iconst_0
getstatic org.apache.cassandra.auth.AuthKeyspace.Roles:Lorg/apache/cassandra/config/CFMetaData;
aastore
dup
iconst_1
getstatic org.apache.cassandra.auth.AuthKeyspace.RoleMembers:Lorg/apache/cassandra/config/CFMetaData;
aastore
dup
iconst_2
getstatic org.apache.cassandra.auth.AuthKeyspace.RolePermissions:Lorg/apache/cassandra/config/CFMetaData;
aastore
dup
iconst_3
getstatic org.apache.cassandra.auth.AuthKeyspace.ResourceRoleIndex:Lorg/apache/cassandra/config/CFMetaData;
aastore
invokestatic org.apache.cassandra.schema.Tables.of:([Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/schema/Tables;
invokestatic org.apache.cassandra.schema.KeyspaceMetadata.create:(Ljava/lang/String;Lorg/apache/cassandra/schema/KeyspaceParams;Lorg/apache/cassandra/schema/Tables;)Lorg/apache/cassandra/schema/KeyspaceMetadata;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AuthKeyspace.java"