[CMA-21] Need a method that returns the Alfresco username given a ticket Created: 01/Jul/08 Updated: 21/May/10 Resolved: 02/Jul/08 |
|
| Status: | Closed |
| Project: | Remote Alfresco API rivet |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.0 |
| Type: | New Feature | Priority: | Blocker |
| Reporter: | Al El-Nattar | Assignee: | Al El-Nattar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
For JPMC we need to have the ability to get the Alfresco username when a user logs in. A ticket is not enough. This is needed since they have written a Janus authentication component that is chained and sets the Alfresco user to an SID which is provided by a successful authentication into Janus. This SID is different from the username that we used to login in the CMA client app. This SID is equal to the Alfresco username. Since the client app in this case is totally unaware of the Alfresco username we have no way of getting our hands on the user's profile from Alfresco. That's why we need to have a way to get the username after authentication. One suggestion would be to overload CMA's authenticate() method to return the username somehow. This will allow us not to have to make two CMA calls instead of one. This new feature is critical for the JPMC project so please give it a high priority. Thanks a mil, -Alaaeldin |
| Comments |
| Comment by sumer [ 01/Jul/08 ] |
|
Let's embed the user name in the ticket if possible. Also, if we can have a function to return the uname given a ticket (straight from Alfie), then we can implement that as well. Thanks. |
| Comment by hlim [ 02/Jul/08 ] |
| the new feature will be available in ver 1.2 |