Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SSO login pop up

2610032Feb 11 2015 — edited Feb 13 2015

Hi All I am trying to single sign on implemetation and i am getting username from active directory. When i use activexobject its throwing  a pop up like "an activex control on this page might be unsafe to interact with other parts of the page" Can you please let me know the alternate solution for it. I am using the below code unter html header to implement it.

<script language="Javascript">
function getLoginName(){
   var strUsername;
   var objNetwork;
  objNetwork= new ActiveXObject("WScript.Network");
   strUsername= objNetwork.Username;
   strUsername= strUsername.toLowerCase();
   return strUsername;
javascript:alert(document.cookie);
}
function doSSO(p_sso_set){
   html_GetElement('P11_APP_USER').value = getLoginName();
   doSubmit('SSO_SIGNON');
}
</script>

Thanks for the help

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2015
Added on Feb 11 2015
5 comments
1,666 views