cancel
Showing results for 
Search instead for 
Did you mean: 

Windows based login for Alfresco

rajshekar
Champ in-the-making
Champ in-the-making
Hi Folks,

I have done NTLM configuration successfully in Alfresco Explorer and Alfresco Share,when i start Alfresco Its Asking Authentication Requried so,i entered user name/password and it went successfully but,what i need is For very first time also it should not ask username/password.

Once i enter the Url, alfresco should automatically populate through windows based login credentials for this,i have a script where Is it possible to auto-populate with this JavaScript:


if script to be used so where shall i do the configuration.

Thanks in Advance,
Rajshekar
5 REPLIES 5

zaizi
Champ in-the-making
Champ in-the-making
Add Alfresco server to your Intranet Zone so it will automatically send your login credentials to Alfresco. It should then never ask for your username and password.

Further details on IE security zones: http://support.microsoft.com/kb/174360/EN-US/.

Ainga

rajshekar
Champ in-the-making
Champ in-the-making
I got a script from forum saying that this script might be useful for auto-populating with Windows.

<script type="text/javascript">
function getuserlogin() {
   var user = new ActiveXObject("WSCRIPT.Network");
   return user.UserName.toLowerCase();
}
</script>

if this script is useful so,where can i use this script in <Alfersco_Installation>Files so,that i need not to enter username/password for very first time also.It should automatically populate with windows login(Application should automatically get the logged with Windows user name and authenticate)

Thanks in Advance,
Rajshekar.

kopoguy
Champ in-the-making
Champ in-the-making
@Rajshekar
javascript is placed where it ??

thx

-indra m -

rajshekar
Champ in-the-making
Champ in-the-making
hii,

i dn't get you,are you trying to say this script doesn't work or else this is fine.

Rajshekar

kopoguy
Champ in-the-making
Champ in-the-making
instead, I am a beginner alfresco, to be able to do it, I must save it or paste it where?