org.postgresql.gss.GssAction.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
???? 2
7 ? A ? A ? A ? A ? A ? A ? ? ?
?
b ?
?
b ?
A ? ? ?
b ? ?
b ? r
? ? ?
~ ? ?
?
? ?
? ? ?
b ? ? ? A ? ? ? ?
? ?
? ?
? ?
? ?
? ? ?
? ?
? ? ?
? ?
- ? ?
? ? ?
2 ? ?
? ? ? ?
? ? ? ?
2 ? ? ? ? ? ?
2 ?
A ? ?
? ?
? ? ? LOGGER Ljava/util/logging/Logger; pgStream Lorg/postgresql/core/PGStream; host Ljava/lang/String; user kerberosServerName useSpnego Z clientCredentials Lorg/ietf/jgss/GSSCredential; u(Lorg/postgresql/core/PGStream;Lorg/ietf/jgss/GSSCredential;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V Code LineNumberTable LocalVariableTable this Lorg/postgresql/gss/GssAction; hasSpnegoSupport (Lorg/ietf/jgss/GSSManager;)Z mech Lorg/ietf/jgss/Oid; manager Lorg/ietf/jgss/GSSManager; spnego mechs [Lorg/ietf/jgss/Oid;
StackMapTable ? `
Exceptions run ()Ljava/lang/Exception;
clientName Lorg/ietf/jgss/GSSName; elen I errorMsg (Lorg/postgresql/util/ServerErrorMessage; len type response clientCreds desiredMechs kerberosServerHostname
serverName
secContext Lorg/ietf/jgss/GSSContext; inToken [B outToken established e Ljava/io/IOException; gsse Lorg/ietf/jgss/GSSException; ? ? w ()Ljava/lang/Object; ()V Signature ILjava/lang/Object;Ljava/security/PrivilegedAction;
SourceFile GssAction.java Q ? G H O P I J K J L J M N org/ietf/jgss/Oid
1.3.6.1.5.5.2 Q ? ? ? ? ? ? ? X Y 1.2.840.113554.1.2.2 ? [ ? ? org/ietf/jgss/GSSCredential ? ? ? ? ? java/lang/StringBuilder ? ? @ ? ? ? [ org/ietf/jgss/GSSContext ? ? ? ? ? ? E F ? ? ? ( FE=> Password(GSS Authentication Token) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? &org/postgresql/util/ServerErrorMessage ? Q <=BE ErrorMessage({0}) ? !org/postgresql/util/PSQLException Q <=BE AuthenticationGSSContinue &Protocol error. Session setup failed. java/lang/Object
Q java/io/IOException org/ietf/jgss/GSSException GSS Authentication failed Q e f org/postgresql/gss/GssAction ? java/security/PrivilegedAction org/ietf/jgss/GSSManager java/lang/String org/ietf/jgss/GSSName (Ljava/lang/String;)V getMechs ()[Lorg/ietf/jgss/Oid; equals (Ljava/lang/Object;)Z getInstance ()Lorg/ietf/jgss/GSSManager; NT_USER_NAME
createName >(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lorg/ietf/jgss/GSSName; createCredential L(Lorg/ietf/jgss/GSSName;I[Lorg/ietf/jgss/Oid;I)Lorg/ietf/jgss/GSSCredential; java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; NT_HOSTBASED_SERVICE
createContext d(Lorg/ietf/jgss/GSSName;Lorg/ietf/jgss/Oid;Lorg/ietf/jgss/GSSCredential;I)Lorg/ietf/jgss/GSSContext; requestMutualAuth (Z)V initSecContext ([BII)[B java/util/logging/Level FINEST Ljava/util/logging/Level; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V org/postgresql/core/PGStream sendChar (I)V sendInteger4 send ([B)V flush
isEstablished ()Z receiveChar ()I receiveInteger4 receiveErrorString DecodeResult InnerClasses 7(I)Lorg/postgresql/core/EncodingPredictor$DecodeResult; 7(Lorg/postgresql/core/EncodingPredictor$DecodeResult;)V @(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V +(Lorg/postgresql/util/ServerErrorMessage;)V receive (I)[B org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState CONNECTION_UNABLE_TO_CONNECT Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V CONNECTION_FAILURE I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V java/lang/Class getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; 2org/postgresql/core/EncodingPredictor$DecodeResult %org/postgresql/core/EncodingPredictor A 7 D E F G H I J K J L J M N O P Q R S ? &*? *+? *,? *-? *? *? *? ? T " % &