[jboss-jira] [JBoss JIRA] (ELY-745) Using attribute name instead of OID in x500-attribute-principal-decoder

David Lloyd (JIRA) issues at jboss.org
Tue Nov 15 10:04:02 EST 2016


    [ https://issues.jboss.org/browse/ELY-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13322964#comment-13322964 ] 

David Lloyd commented on ELY-745:
---------------------------------

I like the idea of a simple properties-file database as proposed.  I think we'll still need constants for them though, as otherwise we'll have to do things like:

{code}
    String cnOid = OidDatabaseThingy.getOidByName("cn");
{code}

I think we can initialize the constants from the database though, going forward.

As far as conflicts go, yes OIDs are unique, however the string names may not be globally unique (though within LDAP at least, they should be).  Note that we use OIDs for a wide variety of other purposes than LDAP though.

> Using attribute name instead of OID in x500-attribute-principal-decoder
> -----------------------------------------------------------------------
>
>                 Key: ELY-745
>                 URL: https://issues.jboss.org/browse/ELY-745
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: X.500
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>            Priority: Critical
>
> Using OIDs not really convenient.
> See description of JBEAP-6100 for more details.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list