Bug 778977 (SOA-1405) - Include JBESB-2695-Add jndi security support to EJBProcessor
Summary: Include JBESB-2695-Add jndi security support to EJBProcessor
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1405
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Kevin Conner
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-07 09:53 UTC by Stelios Koussouris
Modified: 2010-01-28 11:15 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 778978 (view as bug list)
Environment:
Last Closed: 2010-01-28 11:15:30 UTC
Type: Task
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1405 0 None None None Never

Description Stelios Koussouris 2009-07-07 09:53:13 UTC
Affects: Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, Compatibility/Configuration, Release Notes
Date of First Response: 2009-10-23 13:10:43
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=313752&gid=1354
project_key: SOA

Currently there is no support for supplying jndi security credentials and principals which should be added.
I also think that the EJBProcessor could be refactored to be simpler but I'll create a jira for that and link it to this one.

In customer case:
At source code for EJBProcessor.java:

By making adding modifications (line 247)

props.put(Context.INITIAL_CONTEXT_FACTORY, ejbRef.get(INICTXFACTORY));
props.put(Context.PROVIDER_URL, ejbRef.get(PROVIDERURL));
props.put(Context.SECURITY_PRINCIPAL, "a username"); 
props.put(Context.SECURITY_CREDENTIALS, "a password");

and also by using org.jboss.security.jndi.JndiLoginInitialContextFactory now it supports  the call of EJB's running in different security contexts and with the required authentication.


Regards,
Marc

Comment 1 Stelios Koussouris 2009-07-07 09:53:54 UTC
Link: Added: This issue depends JBESB-2695


Comment 2 Kevin Conner 2009-10-23 17:10:43 UTC
Already present in ESB trunk.

Comment 3 Martin Vecera 2010-01-28 11:15:30 UTC
Verified in ER7.


Note You need to log in before you can comment on or make changes to this bug.