Issue Details (XML | Word | Printable)

Key: JRA-12945
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: John Washington
Votes: 0
Watchers: 1
Operations

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

Remove the domain part of email address when autocreating users

Created: 20/Jun/07 10:30 AM   Updated: 16/May/08 05:54 AM
Component/s: Email integration, Services
Affects Version/s: 3.9.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Standalone on linux with tomcat/mod_jk
Issue Links:
Supersession
 

Participants: Anton Mazkovoi [Atlassian] and John Washington
Since last comment: 1 year, 16 weeks, 3 days ago
Labels:


 Description  « Hide
Currently all users created by the autocreate=true option in the mail service are created with the email address. As most of our users have LDAP accounts (with the same name as the username in the email) it would be nice to create accounts for them that can be used with the LDAP. This could be done in two ways that I can think of: the easier (and one I would at some level prefer) is to have an ignore domain flag in the service options. We would set ignore_domain=example.com and it would create new users with just the local part of their email addresses.

The other way would be to do some validation/checks on the backend data source, but that is going to be a great deal more complex.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 20/Jun/07 11:46 PM
Hi John,

If this is urgent, you can have a look at customising the code in the createUserForReporter() method in the AbstractMessageHandler class. You can actually extend one of the internal handlers and override the reateUserForReporter() method.

For more information on e-mail Handlers please see:
http://www.atlassian.com/software/jira/docs/latest/issue_creation_email.html#handler_params

Cheers,
Anton