[jboss-jira] [JBoss JIRA] (WFLY-8619) Incorrect IIOP security config validation
Tomasz Adamski (JIRA)
issues at jboss.org
Thu Apr 20 17:43:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Adamski updated WFLY-8619:
---------------------------------
Description:
In org.wildfly.iiop.openjdk.ConfigValidator.java:
{code}
if (supportSSL && !sslConfigured) {
throw IIOPLogger.ROOT_LOGGER.noSecurityDomainOrSSLContextsSpecified();
}
else if (serverRequiresSsl || clientRequiresSsl) {
// if either the server or the client requires SSL, then SSL support must have been enabled.
throw IIOPLogger.ROOT_LOGGER.sslNotConfigured();
}
{code}
Shouldn't go to second if if supporSSL is configured.
was:
In org.wildfly.iiop.openjdk.ConfigValidator.java:
{code}
if (supportSSL && !sslConfigured) {
throw IIOPLogger.ROOT_LOGGER.noSecurityDomainOrSSLContextsSpecified();
}
else if (serverRequiresSsl || clientRequiresSsl) {
// if either the server or the client requires SSL, then SSL support must have been enabled.
throw IIOPLogger.ROOT_LOGGER.sslNotConfigured();
}
{code}
Should go to second if if supporSSL is configured.
> Incorrect IIOP security config validation
> -----------------------------------------
>
> Key: WFLY-8619
> URL: https://issues.jboss.org/browse/WFLY-8619
> Project: WildFly
> Issue Type: Bug
> Components: IIOP
> Affects Versions: 11.0.0.Alpha1
> Reporter: Tomasz Adamski
> Assignee: Tomasz Adamski
> Priority: Blocker
>
> In org.wildfly.iiop.openjdk.ConfigValidator.java:
> {code}
> if (supportSSL && !sslConfigured) {
> throw IIOPLogger.ROOT_LOGGER.noSecurityDomainOrSSLContextsSpecified();
> }
> else if (serverRequiresSsl || clientRequiresSsl) {
> // if either the server or the client requires SSL, then SSL support must have been enabled.
> throw IIOPLogger.ROOT_LOGGER.sslNotConfigured();
> }
> {code}
> Shouldn't go to second if if supporSSL is configured.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list