本文整理了Java中org.wildfly.security.manager.WildFlySecurityManager.getSystemEnvironmentPrivilege
本文整理了Java中org.wildfly.security.manager.WildFlySecurityManager.getSystemEnvironmentPrivileged()
方法的一些代码示例,展示了WildFlySecurityManager.getSystemEnvironmentPrivileged()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WildFlySecurityManager.getSystemEnvironmentPrivileged()
方法的具体详情如下:
包路径:org.wildfly.security.manager.WildFlySecurityManager
类名称:WildFlySecurityManager
方法名:getSystemEnvironmentPrivileged
WildFlySecurityManager.getSystemEnvironmentPrivileged介绍
[英]Get the system environment map, doing a faster permission check that skips having to execute a privileged action frame.
[中]获取系统环境映射,进行更快的权限检查,从而避免执行特权操作框架。
代码示例
代码示例来源:origin: org.wildfly.core/wildfly-server
@Override
protected void systemPropertyUpdated(String propertyName, String propertyValue) {
if (BOOT_PROPERTIES.contains(propertyName)) {
if (BUNDLES_DIR.equals(propertyName)) {
configureBundlesDir(propertyValue, providedProperties);
} else if (SERVER_TEMP_DIR.equals(propertyName)) {
configureServerTempDir(propertyValue, providedProperties);
} else if (QUALIFIED_HOST_NAME.equals(propertyName)) {
configureQualifiedHostName(propertyValue, providedProperties.getProperty(HOST_NAME),
providedProperties, WildFlySecurityManager.getSystemEnvironmentPrivileged());
} else if (HOST_NAME.equals(propertyName)) {
configureHostName(propertyValue, providedProperties);
} else if (SERVER_NAME.equals(propertyName)) {
configureServerName(propertyValue, providedProperties);
} else if (NODE_NAME.equals(propertyName)) {
configureNodeName(propertyValue, providedProperties);
}
}
}
代码示例来源:origin: org.wildfly/wildfly-server
@Override
protected void systemPropertyUpdated(String propertyName, String propertyValue) {
if (BOOT_PROPERTIES.contains(propertyName)) {
if (BUNDLES_DIR.equals(propertyName)) {
configureBundlesDir(propertyValue, providedProperties);
} else if (SERVER_TEMP_DIR.equals(propertyName)) {
configureServerTempDir(propertyValue, providedProperties);
} else if (QUALIFIED_HOST_NAME.equals(propertyName)) {
configureQualifiedHostName(propertyValue, providedProperties.getProperty(HOST_NAME),
providedProperties, WildFlySecurityManager.getSystemEnvironmentPrivileged());
} else if (HOST_NAME.equals(propertyName)) {
configureHostName(propertyValue, providedProperties);
} else if (SERVER_NAME.equals(propertyName)) {
configureServerName(propertyValue, providedProperties);
} else if (NODE_NAME.equals(propertyName)) {
configureNodeName(propertyValue, providedProperties);
}
}
}
代码示例来源:origin: wildfly/wildfly-core
@Override
protected void systemPropertyUpdated(String propertyName, String propertyValue) {
if (BOOT_PROPERTIES.contains(propertyName)) {
if (BUNDLES_DIR.equals(propertyName)) {
configureBundlesDir(propertyValue, providedProperties);
} else if (SERVER_TEMP_DIR.equals(propertyName)) {
configureServerTempDir(propertyValue, providedProperties);
} else if (QUALIFIED_HOST_NAME.equals(propertyName)) {
configureQualifiedHostName(propertyValue, providedProperties.getProperty(HOST_NAME),
providedProperties, WildFlySecurityManager.getSystemEnvironmentPrivileged());
} else if (HOST_NAME.equals(propertyName)) {
configureHostName(propertyValue, providedProperties);
} else if (SERVER_NAME.equals(propertyName)) {
configureServerName(propertyValue, providedProperties);
} else if (NODE_NAME.equals(propertyName)) {
configureNodeName(propertyValue, providedProperties);
}
}
}
代码示例来源:origin: org.wildfly.swarm/container
ServerEnvironment serverEnvirOnment= determineEnvironment(WildFlySecurityManager.getSystemPropertiesPrivileged(), WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.SELF_CONTAINED, startTime);
final Bootstrap bootstrap = Bootstrap.Factory.newInstance();
代码示例来源:origin: thorntail/thorntail
ServerEnvironment serverEnvirOnment= determineEnvironment(WildFlySecurityManager.getSystemPropertiesPrivileged(), WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.SELF_CONTAINED, startTime);
final Bootstrap bootstrap = Bootstrap.Factory.newInstance();
代码示例来源:origin: org.wildfly.core/wildfly-host-controller
env = WildFlySecurityManager.getSystemEnvironmentPrivileged();
代码示例来源:origin: io.thorntail/container
ServerEnvironment serverEnvirOnment= determineEnvironment(WildFlySecurityManager.getSystemPropertiesPrivileged(), WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.SELF_CONTAINED, startTime);
final Bootstrap bootstrap = Bootstrap.Factory.newInstance();
代码示例来源:origin: wildfly/wildfly-core
env = WildFlySecurityManager.getSystemEnvironmentPrivileged();
代码示例来源:origin: org.wildfly/wildfly-server
ServerEnvironment serverEnvirOnment= determineEnvironment(args, WildFlySecurityManager.getSystemPropertiesPrivileged(), WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.STANDALONE);
if (serverEnvirOnment== null) {
abort(null);
代码示例来源:origin: org.wildfly.core/wildfly-server
WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.STANDALONE,
Module.getStartTime());
if (serverEnvironmentWrapper.getServerEnvironment() == null) {
代码示例来源:origin: wildfly/wildfly-core
WildFlySecurityManager.getSystemEnvironmentPrivileged(), ServerEnvironment.LaunchType.STANDALONE,
Module.getStartTime());
if (serverEnvironmentWrapper.getServerEnvironment() == null) {
代码示例来源:origin: wildfly/wildfly-core
WildFlySecurityManager.getSystemEnvironmentPrivileged(), null, null, ServerEnvironment.LaunchType.DOMAIN,
RunningMode.NORMAL, productConfig, Module.getStartTime(), suspend, null, null, null);
DomainServerCommunicationServices.updateOperationID(initialOperationID);
代码示例来源:origin: org.wildfly/wildfly-server
WildFlySecurityManager.getSystemEnvironmentPrivileged(), null, null, ServerEnvironment.LaunchType.DOMAIN, RunningMode.NORMAL, productConfig);
DomainServerCommunicationServices.updateOperationID(initialOperationID);
代码示例来源:origin: org.wildfly.core/wildfly-server
WildFlySecurityManager.getSystemEnvironmentPrivileged(), null, null, ServerEnvironment.LaunchType.DOMAIN,
RunningMode.NORMAL, productConfig, Module.getStartTime(), suspend, null, null, null);
DomainServerCommunicationServices.updateOperationID(initialOperationID);