[jboss-jira] [JBoss JIRA] (AS7-3331) JacORB SSL config parameters should use enumeration instead of values encoded in integers
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Tue Jan 17 11:50:18 EST 2012
[ https://issues.jboss.org/browse/AS7-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659899#comment-12659899 ]
Dimitris Andreadis commented on AS7-3331:
-----------------------------------------
AFAIR the values are essentially bits ORed together and used when negotiating the security level. So either you need string descriptions that cover all usuable combinations, or provide for a syntax that supports the OR operator (|).
So, if we just have those 2 bits that can be configured this would work: None, EstablishTrustInTarget, EstablishTrustInClient, MutualAuth would work. I don't remember if there are more bits to be configured/more combinations allowed, probably not.
> JacORB SSL config parameters should use enumeration instead of values encoded in integers
> -----------------------------------------------------------------------------------------
>
> Key: AS7-3331
> URL: https://issues.jboss.org/browse/AS7-3331
> Project: Application Server 7
> Issue Type: Task
> Components: IIOP, Server
> Affects Versions: 7.1.0.CR1b
> Reporter: David Bosschaert
> Assignee: Stefan Guilhen
>
> The JacORB SSL settings use a fairly cryptic way to express something that would be better represented as a string with 4 allowed values.
> From the description:
> {noformat}client-supports: Value that indicates the client SSL supported parameters
> (EstablishTrustInTarget=20,EstablishTrustInClient=40,MutualAuth=60).
> client-requires: Value that indicates the client SSL required parameters
> (EstablishTrustInTarget=20,EstablishTrustInClient=40,MutualAuth=60).
> server-supports: Value that indicates the server SSL supported parameters
> (EstablishTrustInTarget=20,EstablishTrustInClient=40,MutualAuth=60).
> server-requires: Value that indicates the server SSL required parameters
> (EstablishTrustInTarget=20,EstablishTrustInClient=40,MutualAuth=60).{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list