Bug 211945 - JNDI CP sets authZ identity incorrectly when authN type is AuthNSelfIssuedMaterials
Summary: JNDI CP sets authZ identity incorrectly when authN type is AuthNSelfIssuedMat...
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Higgins (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tom Doman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 22:08 EST by Jim Sermersheim CLA
Modified: 2016-11-09 16:26 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Sermersheim CLA 2007-12-04 22:08:10 EST
When JNDIContext.open is called and an AuthNSelfIssuedMaterials is passed, the provider authenticates to the underlying JNDI SP using whatever Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS were set in the context's configuration. Using this identity, it searches for a subject matching the data found in the AuthNSelfIssuedMaterials.  This works in terms of authentication, but the underlying JNDI context is left open using the original principal and credentials.

This causes a scenario where anyone authenticating with AuthNSelfIssuedMaterials gets the authZ privileges of another identity.  This could cause more or less data to be returned than is allowed from subsequent access operations.
Comment 1 Tom Doman CLA 2008-01-14 16:56:50 EST
Looking at using LDAP proxy authorization.  This has the following caveats:

1. Not all directory servers support proxy authZ.
2. The directory service must be modified to allow the authenticated user to proxy for the specified user.
 
Comment 2 Brian Walker CLA 2008-12-03 17:34:41 EST
moving unfinished items from M4 to M5 candidate list
Comment 3 Brian Walker CLA 2009-01-29 13:10:15 EST
moving all unfinished tasks from M5 to M6 as candidate tasks. 
Comment 4 Brian Walker CLA 2009-01-29 22:20:40 EST
temporarily moving these Higgins 1.1 candidate items out to 1.1 target milestone as placeholder for time being. Will pull in select items to various Milestone builds as appropriate as we approach 1.1 release.