abstract class com.sun.security.sasl.gsskerb.GssKrb5Base extends com.sun.security.sasl.util.AbstractSaslImpl
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.security.sasl.gsskerb.GssKrb5Base
super_class: com.sun.security.sasl.util.AbstractSaslImpl
{
private static final java.lang.String KRB5_OID_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "1.2.840.113554.1.2.2"
protected static org.ietf.jgss.Oid KRB5_OID;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static final byte[] EMPTY;
descriptor: [B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected org.ietf.jgss.GSSContext secCtx;
descriptor: Lorg/ietf/jgss/GSSContext;
flags: (0x0004) ACC_PROTECTED
protected static final int JGSS_QOP;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_0
newarray 8
putstatic com.sun.security.sasl.gsskerb.GssKrb5Base.EMPTY:[B
1: new org.ietf.jgss.Oid
dup
ldc "1.2.840.113554.1.2.2"
invokespecial org.ietf.jgss.Oid.<init>:(Ljava/lang/String;)V
putstatic com.sun.security.sasl.gsskerb.GssKrb5Base.KRB5_OID:Lorg/ietf/jgss/Oid;
2: goto 4
StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
3: pop
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 3 Class org.ietf.jgss.GSSException
protected void <init>(java.util.Map<java.lang.String, ?>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.security.sasl.util.AbstractSaslImpl.<init>:(Ljava/util/Map;Ljava/lang/String;)V
1: aload 0
aconst_null
putfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 3 1 props Ljava/util/Map<Ljava/lang/String;*>;
0 3 2 className Ljava/lang/String;
Exceptions:
throws javax.security.sasl.SaslException
Signature: (Ljava/util/Map<Ljava/lang/String;*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
props
className
public java.lang.String getMechanismName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "GSSAPI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
public java.lang.Object getNegotiatedProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.completed:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Authentication incomplete"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc "com.sun.security.jgss.inquiretype."
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
4: aload 1
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 5: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
6: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "GssKrb5Base"
7: ldc "getNegotiatedProperty"
aload 1
8: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals: java.lang.String java.lang.String
StackMap stack:
invokestatic com.sun.security.jgss.InquireType.values:()[Lcom/sun/security/jgss/InquireType;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 19
StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base java.lang.String java.lang.String java.lang.String top int int com.sun.security.jgss.InquireType[]
StackMap stack:
10: aload 7
iload 5
aaload
astore 4
start local 4 11: aload 4
invokevirtual com.sun.security.jgss.InquireType.name:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
12: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
checkcast com.sun.security.jgss.ExtendedGSSContext
aload 4
invokeinterface com.sun.security.jgss.ExtendedGSSContext.inquireSecContext:(Lcom/sun/security/jgss/InquireType;)Ljava/lang/Object;
13: areturn
14: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base java.lang.String java.lang.String java.lang.String com.sun.security.jgss.InquireType int int com.sun.security.jgss.InquireType[]
StackMap stack: org.ietf.jgss.GSSException
astore 8
start local 8 15: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
16: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "inquireSecContext error"
aload 8
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
17: StackMap locals: org.ietf.jgss.GSSException
StackMap stack:
aconst_null
areturn
end local 8 end local 4 18: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base java.lang.String java.lang.String java.lang.String top int int com.sun.security.jgss.InquireType[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 6
if_icmplt 10
end local 3 20: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
invokespecial com.sun.security.sasl.util.AbstractSaslImpl.getNegotiatedProperty:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 21 1 propName Ljava/lang/String;
3 21 2 xprefix Ljava/lang/String;
5 20 3 type Ljava/lang/String;
11 18 4 t Lcom/sun/security/jgss/InquireType;
15 18 8 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
12 13 14 Class org.ietf.jgss.GSSException
MethodParameters:
Name Flags
propName
public byte[] unwrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.completed:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "GSSAPI authentication not completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.integrity:Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "No security layer negotiated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.ietf.jgss.MessageProp
dup
iconst_0
iconst_0
invokespecial org.ietf.jgss.MessageProp.<init>:(IZ)V
astore 4
start local 4 5: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 4
invokeinterface org.ietf.jgss.GSSContext.unwrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 5
start local 5 6: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.privacy:Z
ifeq 8
aload 4
invokevirtual org.ietf.jgss.MessageProp.getPrivacy:()Z
ifne 8
7: new javax.security.sasl.SaslException
dup
ldc "Privacy not protected"
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.ietf.jgss.MessageProp byte[]
StackMap stack:
aload 0
ldc ""
aload 4
invokevirtual com.sun.security.sasl.gsskerb.GssKrb5Base.checkMessageProp:(Ljava/lang/String;Lorg/ietf/jgss/MessageProp;)V
9: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 16
10: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB501:Unwrap"
ldc "incoming: "
11: aload 1
iload 2
iload 3
12: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
13: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB502:Unwrap"
ldc "unwrapped: "
14: aload 5
iconst_0
aload 5
arraylength
15: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
16: StackMap locals:
StackMap stack:
aload 5
17: areturn
end local 5 end local 4 18: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 19: new javax.security.sasl.SaslException
dup
ldc "Problems unwrapping SASL buffer"
aload 4
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 20 1 incoming [B
0 20 2 start I
0 20 3 len I
5 18 4 msgProp Lorg/ietf/jgss/MessageProp;
6 18 5 answer [B
19 20 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 17 18 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
incoming
start
len
public byte[] wrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.completed:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "GSSAPI authentication not completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.integrity:Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "No security layer negotiated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.ietf.jgss.MessageProp
dup
iconst_0
aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.privacy:Z
invokespecial org.ietf.jgss.MessageProp.<init>:(IZ)V
astore 4
start local 4 5: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
aload 1
iload 2
iload 3
aload 4
invokeinterface org.ietf.jgss.GSSContext.wrap:([BIILorg/ietf/jgss/MessageProp;)[B
astore 5
start local 5 6: getstatic com.sun.security.sasl.gsskerb.GssKrb5Base.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
7: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB503:Wrap"
ldc "outgoing: "
8: aload 1
iload 2
iload 3
9: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
10: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.myClassName:Ljava/lang/String;
ldc "KRB504:Wrap"
ldc "wrapped: "
11: aload 5
iconst_0
aload 5
arraylength
12: invokestatic com.sun.security.sasl.gsskerb.GssKrb5Base.traceOutput:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BII)V
13: StackMap locals: org.ietf.jgss.MessageProp byte[]
StackMap stack:
aload 5
14: areturn
end local 5 end local 4 15: StackMap locals: com.sun.security.sasl.gsskerb.GssKrb5Base byte[] int int
StackMap stack: org.ietf.jgss.GSSException
astore 4
start local 4 16: new javax.security.sasl.SaslException
dup
ldc "Problem performing GSS wrap"
aload 4
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 17 1 outgoing [B
0 17 2 start I
0 17 3 len I
5 15 4 msgProp Lorg/ietf/jgss/MessageProp;
6 15 5 answer [B
16 17 4 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
4 14 15 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
outgoing
start
len
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
ifnull 6
1: aload 0
getfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
invokeinterface org.ietf.jgss.GSSContext.dispose:()V
2: goto 5
StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
3: astore 1
start local 1 4: new javax.security.sasl.SaslException
dup
ldc "Problem disposing GSS context"
aload 1
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.security.sasl.gsskerb.GssKrb5Base.secCtx:Lorg/ietf/jgss/GSSContext;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
4 5 1 e Lorg/ietf/jgss/GSSException;
Exception table:
from to target type
1 2 3 Class org.ietf.jgss.GSSException
Exceptions:
throws javax.security.sasl.SaslException
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.security.sasl.gsskerb.GssKrb5Base.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
Exceptions:
throws java.lang.Throwable
void checkMessageProp(java.lang.String, org.ietf.jgss.MessageProp);
descriptor: (Ljava/lang/String;Lorg/ietf/jgss/MessageProp;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.ietf.jgss.MessageProp.isDuplicateToken:()Z
ifeq 2
1: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Duplicate token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isGapToken:()Z
ifeq 4
3: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Gap token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isOldToken:()Z
ifeq 6
5: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Old token"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.ietf.jgss.MessageProp.isUnseqToken:()Z
ifeq 8
7: new javax.security.sasl.SaslException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Token not in sequence"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/security/sasl/gsskerb/GssKrb5Base;
0 9 1 label Ljava/lang/String;
0 9 2 msgProp Lorg/ietf/jgss/MessageProp;
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
label
msgProp
}
SourceFile: "GssKrb5Base.java"