com.huawei.gauss200.jdbc.gss.MakeGSS.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
The newest version!
???? 4 ?
V " W X Y Z
[ \ ] ^
_ `
Q a b
Q c d e d f g h i j
k
l
m
n o
p
Q q r s
p t u v
w x y z
{ | }
~
[ ? LOGGER Ljava/util/logging/Logger; ()V Code LineNumberTable LocalVariableTable this &Lcom/huawei/gauss200/jdbc/gss/MakeGSS; authenticate ?(ZLcom/huawei/gauss200/jdbc/core/PGStream;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZ)V gssCreds Ljava/util/Set; lc (Ljavax/security/auth/login/LoginContext; action Ljava/security/PrivilegedAction; result Ljava/lang/Exception; performAuthentication Z
gssCredential Lorg/ietf/jgss/GSSCredential; sub Ljavax/security/auth/Subject; e encrypted pgStream (Lcom/huawei/gauss200/jdbc/core/PGStream; host Ljava/lang/String; user password jaasApplicationName kerberosServerName useSpnego jaasLogin logServerErrorDetail LocalVariableTypeTable .Ljava/util/Set; 7Ljava/security/PrivilegedAction;
StackMapTable ? ? ?
Exceptions
SourceFile MakeGSS.java ' ( % & ? ? ? <=BE AuthenticationReqGSS ? ? ? pgjdbc postgres ? ? ? ? ? org/ietf/jgss/GSSCredential ? ? ? ? ? ? ? ? ? ? &javax/security/auth/login/LoginContext /com/huawei/gauss200/jdbc/gss/GSSCallbackHandler ' ? ' ? ? ( ? ? )com/huawei/gauss200/jdbc/gss/GssEncAction ' ? ? ? java/lang/Exception &com/huawei/gauss200/jdbc/gss/GssAction +com/huawei/gauss200/jdbc/util/PSQLException GSS Authentication failed java/lang/Object ? ? ? ? ? ? ' ? java/io/IOException $com/huawei/gauss200/jdbc/gss/MakeGSS ? ? ? ? ? &com/huawei/gauss200/jdbc/core/PGStream java/lang/String javax/security/auth/Subject java/util/logging/Level FINEST Ljava/util/logging/Level; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V java/security/AccessController
getContext &()Ljava/security/AccessControlContext;
getSubject C(Ljava/security/AccessControlContext;)Ljavax/security/auth/Subject; getPrivateCredentials "(Ljava/lang/Class;)Ljava/util/Set;
java/util/Set isEmpty ()Z iterator ()Ljava/util/Iterator; java/util/Iterator next ()Ljava/lang/Object; '(Ljava/lang/String;Ljava/lang/String;)V C(Ljava/lang/String;Ljavax/security/auth/callback/CallbackHandler;)V login ()Ljavax/security/auth/Subject; ?(Lcom/huawei/gauss200/jdbc/core/PGStream;Lorg/ietf/jgss/GSSCredential;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)V doAs Q(Ljavax/security/auth/Subject;Ljava/security/PrivilegedAction;)Ljava/lang/Object; com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 'com/huawei/gauss200/jdbc/util/PSQLState CONNECTION_FAILURE )Lcom/huawei/gauss200/jdbc/util/PSQLState; S(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;Ljava/lang/Throwable;)V java/lang/Class getName ()Ljava/lang/String; getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! " % &