META-INF.modules.java.base.classes.sun.security.provider.ConfigFile$Spi.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? :G
*javax/security/auth/login/ConfigurationSpi ()V
$sun/security/provider/ConfigFile$Spi
expandProp Z
init java/io/IOException java/lang/SecurityException
(Ljava/lang/Throwable;)V
java/net/URI toURL ()Ljava/net/URL; url Ljava/net/URL; " &sun/security/provider/ConfigFile$Spi$1
! $ % ](Lsun/security/provider/ConfigFile$Spi;Ljavax/security/auth/login/Configuration$Parameters;)V
' ( ) * + java/security/AccessController doPrivileged =(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object; - 'java/security/PrivilegedActionException
, / 0 1 getException ()Ljava/lang/Exception; 3 policy.expandProperties
5 6 7 8 9 java/security/Security getProperty &(Ljava/lang/String;)Ljava/lang/String;
; 6 < java/lang/System > false
@ A B C D java/lang/String equals (Ljava/lang/Object;)Z F java/util/HashMap
E I J K debugConfig Lsun/security/util/Debug; M java/lang/StringBuilder
L P reading
L R S T append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
L V S W -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
L Y Z [ toString ()Ljava/lang/String;
] ^ _ ` a sun/security/util/Debug println (Ljava/lang/String;)V
c d (Ljava/net/URL;Ljava/util/Map;)V f g h
configuration Ljava/util/Map; j policy.allowSystemProperty l true
@ n o p equalsIgnoreCase (Ljava/lang/String;)Z r java.security.auth.login.config t =
@ v w p
startsWith
@ y z { substring (I)Ljava/lang/String;
} ~ ? 9 "sun/security/util/PropertyExpander expand ? 2sun/security/util/PropertyExpander$ExpandException ? Unable.to.properly.expand.config ? java/lang/Object
? ? ? ioException <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException; ? java/net/URL
? ? a ? java/net/MalformedURLException ? java/io/File
? ?
? ? ? ? exists ()Z
? ? ? ? toURI ()Ljava/net/URI; ? 'extra.config.No.such.file.or.directory. ? overriding other policies! ? login.config.url.
L ? S ? (I)Ljava/lang/StringBuilder; ? ? ? ?
separatorChar C
@ ? ? ? replace (CC)Ljava/lang/String; ? Reading config: ? ) Reading Policy from ~/.java.login.config ? user.home
L ? S ? (C)Ljava/lang/StringBuilder; ? .java.login.config ? java/io/InputStreamReader
? ? ? getInputStream %(Ljava/net/URL;)Ljava/io/InputStream; ? ? ? ? ? !java/nio/charset/StandardCharsets UTF_8 Ljava/nio/charset/Charset;
? ? ? 2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
? ? ?
readConfig "(Ljava/io/Reader;Ljava/util/Map;)V
? ? ? close ? java/lang/Throwable
? ? ?
addSuppressed ? java/io/FileNotFoundException
? Y ? -Configuration.Error.No.such.file.or.directory
? ? ? ? 9 sun/security/util/ResourcesMgr getAuthResourceString
? ? ? ? ? ?
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; ? java/util/List ? ? ? ? size ()I ? /javax/security/auth/login/AppConfigurationEntry ? ? ? ? iterator ()Ljava/util/Iterator; ? ? ? ? ? java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object;
? ? ? [ getLoginModuleName
? ? ? ? getControlFlag J()Ljavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag;
?
getOptions ()Ljava/util/Map;
? l(Ljava/lang/String;Ljavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag;Ljava/util/Map;)V
;
getSecurityManager ()Ljava/lang/SecurityManager; "javax/security/auth/AuthPermission refreshLoginConfiguration
?
java/lang/SecurityManager checkPermission (Ljava/security/Permission;)V &sun/security/provider/ConfigFile$Spi$2
)(Lsun/security/provider/ConfigFile$Spi;)V
' * 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; ! linenum I# java/io/BufferedReader
"% & (Ljava/io/Reader;)V( java/io/StreamTokenizer
'% +,- st Ljava/io/StreamTokenizer;
'/01 quoteChar (I)V
'345 wordChars (II)V
'789
lowerCaseMode (Z)V
';<9 slashSlashComments
'>?9 slashStarComments
'AB9 eolIsSignificant
DE ? nextToken GH! lookahead
JKL parseLoginEntry (Ljava/util/Map;)VN java/util/LinkedList
M 'QRS sval Ljava/lang/String; UV K debugParserX Reading next config entry: Z {
\] 9 match_ }
ab p peekd module class namef controlFlag hijkl java/util/Locale ENGLISH Ljava/util/Locale;
@nop toUpperCase &(Ljava/util/Locale;)Ljava/lang/String;
@rs ? hashCodeu REQUIREDw REQUISITEy
SUFFICIENT{ OPTIONAL }~u? Fjavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag HLjavax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag; }?w? }?y? }?{?? -Configuration.Error.Invalid.control.flag.flag? ;?
option key? option value
~ ???? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
??? [ getLocalizedMessage? ? , ???? keySet ()Ljava/util/Set;? ??
java/util/Set? ??? D add ??? D containsKey? @Configuration.Error.Can.not.specify.multiple.entries.for.appName? 5Configuration.Error.expected.expect.read.end.of.file.? :Configuration.Error.Line.line.expected.expect.found.value.
????? java/lang/Integer valueOf (I)Ljava/lang/Integer;? .Configuration.Error.Line.line.expected.expect.? ,
'D? file
??? [ getProtocol
????
openStream ()Ljava/io/InputStream;? java/lang/Exception
??? [ getPath
??? [ getHost
@?? ? isEmpty? //? cannot read ? , try ? java/io/FileInputStream
? ?? KConfiguration.Error.Line.line.system.property.value.expanded.to.empty.value? java/text/MessageFormat
? ?
???? format &(Ljava/lang/Object;)Ljava/lang/String;?
configfile
]??? getInstance -(Ljava/lang/String;)Lsun/security/util/Debug;? configparser Signature fLjava/util/Map;>; Code LineNumberTable LocalVariableTable ioe Ljava/io/IOException; this &Lsun/security/provider/ConfigFile$Spi;
StackMapTable (Ljava/net/URI;)V uri Ljava/net/URI; 7(Ljavax/security/auth/login/Configuration$Parameters;)V pae )Ljava/security/PrivilegedActionException; params 4Ljavax/security/auth/login/Configuration$Parameters;? 2javax/security/auth/login/Configuration$Parameters
Exceptions peee 4Lsun/security/util/PropertyExpander$ExpandException;
configFile Ljava/io/File; mue Ljava/net/MalformedURLException; overrideAll configURL extra_config userConfigFile initialized newConfig allowSys n
config_url LocalVariableTypeTable isr Ljava/io/InputStreamReader; fnfe Ljava/io/FileNotFoundException; config w(Ljava/net/URL;Ljava/util/Map;>;)V engineGetAppConfigurationEntry F(Ljava/lang/String;)[Ljavax/security/auth/login/AppConfigurationEntry; e 1Ljavax/security/auth/login/AppConfigurationEntry; i applicationName list Ljava/util/List; entries 2[Ljavax/security/auth/login/AppConfigurationEntry; Ljava/util/Iterator; CLjava/util/List; GLjava/util/Iterator;
engineRefresh sm Ljava/lang/SecurityManager; reader Ljava/io/Reader; y(Ljava/io/Reader;Ljava/util/Map;>;)V key moduleClass sflag options
configEntries appName 5Ljava/util/Map; i(Ljava/util/Map;>;)V expect value tok Ljava/lang/Exception; s resourceKey args [Ljava/lang/Object; form Ljava/text/MessageFormat;
SourceFile ConfigFile.java NestHost? sun/security/provider/ConfigFile InnerClasses SpiC 'javax/security/auth/login/Configuration
Parameters ExpandException LoginModuleControlFlag 1 g h ? ? ! ,- H!
J K
V K ? ? *? *? *?
?
L? Y+? ??
? ? x ?
? ? ? ?? ?? ?? ? ? ? ? ? #*? *? *+? ? *?
?
M? Y,? ?? ? " ? x ? ? ? ? ? " ?? ?? #?? #?? ? ? ? ? ? #*? *? ? !Y*+? #? &W? M,? .? ?? , ? ? x ? ? ? ? " ?? ?? #?? #?? ? ? ? ,? ? b
<2? 4M,? 2? :M=,? ?? *? ? EY? GN*? ? 4? H? ? H? LY? NO? Q*? ? U? X? \**? -? b*-? e?i? 4:k? m? ?q? ::? ?6s? u? 6? x:? |:? :*?? ?YS? ??:? ?Y? ?:? 5:? ?Y? ?: ? ?? ? ?? :? *?? ?YS? ??? H? ? H? LY? NO? Q? U? X? \*-? b<? ? H? ? H?? \*-? e?6? LY? N?? Q? ?? X? 4Y:? ]? |? ?/? ?:? H? ? H? LY? N?? Q? Q? X? \*? ?Y? ?-? b