[
https://issues.apache.org/jira/browse/FC-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn McKinney updated FC-237:
------------------------------
Fix Version/s: 2.0.2
> OrgUnitDAO uses case sensitive operation to determine set membership
> --------------------------------------------------------------------
>
> Key: FC-237
> URL: https://issues.apache.org/jira/browse/FC-237
> Project: FORTRESS
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Shawn McKinney
> Assignee: Shawn McKinney
> Priority: Major
> Fix For: 2.0.2
>
>
> Fix the code under todo to be case insensitive:
> private OrgUnit getEntityFromLdapEntry( Entry le, long sequence, String
> contextId )
> {
> ...
> // TODO: the dn.contains is case sensitive which needs to be fixed:
> if ( dn.contains( getRootDn( contextId, GlobalIds.PSU_ROOT ) ) )
> {
> entity.setType( OrgUnit.Type.PERM );
> }
> else if ( dn.contains( getRootDn( contextId, GlobalIds.OSU_ROOT ) ) )
> {
> entity.setType( OrgUnit.Type.USER );
> }
> return entity;
> }
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)