com.huawei.opengauss.jdbc.ssl.LibPQFactory$ConsoleCallbackHandler.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 U Acom/huawei/opengauss/jdbc/ssl/LibPQFactory$ConsoleCallbackHandler java/lang/Object ,javax/security/auth/callback/CallbackHandler LibPQFactory.java *com/huawei/opengauss/jdbc/ssl/LibPQFactory ConsoleCallbackHandler password [C (Ljava/lang/String;)V ()V
java/lang/String toCharArray ()[C
this CLcom/huawei/opengauss/jdbc/ssl/LibPQFactory$ConsoleCallbackHandler; Ljava/lang/String; handle +([Ljavax/security/auth/callback/Callback;)V java/io/IOException 9javax/security/auth/callback/UnsupportedCallbackException ! java/lang/System # console ()Ljava/io/Console; % &
$ ' Console is not available ) <(Ljavax/security/auth/callback/Callback;Ljava/lang/String;)V
+
" , java/io/Console . ([Ljavax/security/auth/callback/Callback; 0 -javax/security/auth/callback/PasswordCallback 2 *(Ljavax/security/auth/callback/Callback;)V
4
" 5 %javax/security/auth/callback/Callback 7 setPassword ([C)V 9 :
3 ; %s = getPrompt ()Ljava/lang/String; ? @
3 A readPassword )(Ljava/lang/String;[Ljava/lang/Object;)[C C D
/ E pwdCallback /Ljavax/security/auth/callback/PasswordCallback; callback 'Ljavax/security/auth/callback/Callback; callbacks cons Ljava/io/Console; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses
N o *? *? +? *+? ? ? O P ? ? ?
? ? Q ? N &