Alfred,

Thanks for the feedback.  I have an LDAP integration with AD that populates 
people data and I set the logins to lowercase there, so the only accounts that 
get created manually are for integrations and admin accounts.

As far as documentation, I tend to be overly verbose on that sort of thing.  I 
have a customization template that coworkers haven't liked in the past because 
I make them fill out a long document that helps track what is changed as well 
as describe the purpose of the change.

Thanks,

Shawn Pierson

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Differ, Alfred W CTR NAVSEA, 210
Sent: Wednesday, February 24, 2010 7:19 PM
To: [email protected]
Subject: Re: Forcing the Mid Tier to login using lowercase only

Sounds like a tidy solution.

The only thing I can think of right now is to ensure the accounts in the User 
table are forced to lower case too.  You might not have many people creating 
the accounts, but some day if you get to identity management solutions or move 
on to another job someone, somewhere will appreciate the closing of this loop.


Of course, document this thing so people know what you did in case you aren't 
there to explain it.  8)






Alfred Differ
Sr. Remedy Developer
NDTI / NSWC PHD

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Pierson, Shawn
Sent: Wednesday, February 24, 2010 15:22
To: [email protected]
Subject: Forcing the Mid Tier to login using lowercase only

**
Good afternoon,

I'm using ARS 7.1, and have had difficulties with users trying to log in with 
mixed case.  As a result, I decided to modify the Mid Tier's login.jsp file to 
only display lowercase, and to use javascript to convert the value to lowercase 
on the fly.  Does anyone have a better way of doing this?  Basically, what I 
did was to take the line that says:

<input name="<%=Params.USERNAME%>" maxlength="<%=Params.USERNAME_LENGTH%>" 
id="username-id" value="<%=com.remedy.arsys.share.HTMLWriter.escape(name)%>" 
class="loginfield" size="30" type="text">

and convert it to this:

<input name="<%=Params.USERNAME%>" maxlength="<%=Params.USERNAME_LENGTH%>" 
id="username-id" value="<%=com.remedy.arsys.share.HTMLWriter.escape(name)%>" 
class="loginfield" size="30" type="text" style="text-transform:lowercase;" 
onblur="javascript:this.value=this.value.toLowerCase();">

I'm not a Javascript king by any stretch of the imagination, but this does get 
the job done and doesn't require much work at all.  Does anyone see any problem 
with doing this?

Thanks,

Shawn Pierson
Remedy Developer | Southern Union

Private and confidential as detailed here 
<http://www.sug.com/disclaimers/default.htm#Mail> . If you cannot access 
hyperlink, please e-mail sender.
_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Private and confidential as detailed here: 
http://www.sug.com/disclaimers/default.htm#Mail . If you cannot access the 
link, please e-mail sender.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to