Issue Details (XML | Word | Printable)

Key: GERONIMO-668
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Jencks
Reporter: Ivan Dubrov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Geronimo

Unable to determine username from EJB method

Created: 10/Jun/05 06:06 PM   Updated: 07/Aug/06 03:05 PM
Return to search
Component/s: None
Affects Version/s: 1.0-M4
Fix Version/s: 1.0-M5

Time Tracking:
Not Specified

Resolution Date: 16/Aug/05 08:21 AM


 Description  « Hide
When calling EJB method from the Web module some important security context information (username) is lost. It is impossible to determine caller user name from the EJB method. EJBContext.getCallerPrincipal().getName() returns something like this:

[org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal: manager]

Note that only group name can be determined from this string or from the EJBMethod.getCallerPrincipal().



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.