Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 jdk.security.auth.jmod - Security Auth Module
JDK 17 jdk.security.auth.jmod is the JMOD file for JDK 17 Security Auth module.
JDK 17 Security Auth module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.security.auth.jmod.
JDK 17 Security Auth module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Security Auth module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.security.auth.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/security/auth/login/ConfigFile.java
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.security.auth.login;
import javax.security.auth.login.AppConfigurationEntry;
import javax.security.auth.login.Configuration;
import java.net.URI;
// NOTE: As of JDK 8, this class instantiates
// sun.security.provider.ConfigFile.Spi and forwards all methods to that
// implementation. All implementation fixes and enhancements should be made to
// sun.security.provider.ConfigFile.Spi and not this class.
// See JDK-8005117 for more information.
/**
* This class represents a default implementation for
* {@code javax.security.auth.login.Configuration}.
*
* <p> This object stores the runtime login configuration representation,
* and is the amalgamation of multiple static login
* configurations that resides in files.
* The algorithm for locating the login configuration file(s) and reading their
* information into this {@code Configuration} object is:
*
* <ol>
* <li>
* Loop through the security properties,
* <i>login.config.url.1</i>, <i>login.config.url.2</i>, ...,
* <i>login.config.url.X</i>.
* Each property value specifies a {@code URL} pointing to a
* login configuration file to be loaded. Read in and load
* each configuration.
*
* <li>
* The system property
* {@systemProperty java.security.auth.login.config}
* may also be set to a {@code URL} pointing to another
* login configuration file
* (which is the case when a user uses the -D switch at runtime).
* If this property is defined, and its use is allowed by the
* security property file (the Security property,
* <i>policy.allowSystemProperty</i> is set to <i>true</i>),
* also load that login configuration.
*
* <li>
* If the <i>java.security.auth.login.config</i> property is defined using
* "==" (rather than "="), then ignore all other specified
* login configurations and only load this configuration.
*
* <li>
* If no system or security properties were set, try to read from the file,
* ${user.home}/.java.login.config, where ${user.home} is the value
* represented by the "user.home" System property.
* </ol>
*
* <p> The configuration syntax supported by this implementation
* is exactly that syntax specified in the
* {@code javax.security.auth.login.Configuration} class. In addition, the
* security property <i>policy.expandProperties</i> can be used to control
* whether system properties in the configuration file are expanded. If not
* set, the default value is <i>true</i> which means that properties will
* be expanded.
*
* @see javax.security.auth.login.LoginContext
* @see java.security.Security security properties
*/
public class ConfigFile extends Configuration {
private final sun.security.provider.ConfigFile.Spi spi;
/**
* Create a new {@code Configuration} object.
*
* @throws SecurityException if the {@code Configuration} can not be
* initialized
*/
public ConfigFile() {
spi = new sun.security.provider.ConfigFile.Spi();
}
/**
* Create a new {@code Configuration} object from the specified {@code URI}.
*
* @param uri the {@code URI}
* @throws SecurityException if the {@code Configuration} can not be
* initialized
* @throws NullPointerException if {@code uri} is null
*/
public ConfigFile(URI uri) {
spi = new sun.security.provider.ConfigFile.Spi(uri);
}
/**
* Retrieve an entry from the {@code Configuration} using an application
* name as an index.
*
* @param applicationName the name used to index the {@code Configuration}
* @return an array of {@code AppConfigurationEntry} which correspond to
* the stacked configuration of {@code LoginModule}s for this
* application, or null if this application has no configured
* {@code LoginModule}s.
*/
@Override
public AppConfigurationEntry[] getAppConfigurationEntry
(String applicationName) {
return spi.engineGetAppConfigurationEntry(applicationName);
}
/**
* Refresh and reload the {@code Configuration} by re-reading all of the
* login configurations.
*
* @throws SecurityException if the caller does not have permission
* to refresh the {@code Configuration}
*/
@Override
public void refresh() {
spi.engineRefresh();
}
}
⏎ com/sun/security/auth/login/ConfigFile.java
Or download all of them as a single archive file:
File name: jdk.security.auth-17.0.5-src.zip File size: 67508 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.security.jgss.jmod - Security JGSS Module
2023-03-28, ∼7822🔥, 0💬
Popular Posts:
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...