RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 814 | Replies: 1
Reply
Join Date: Oct 2007
Posts: 38
Reputation: kevindougans is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
kevindougans kevindougans is offline Offline
Light Poster

customising groupwise login (via iframes?)

  #1  
Apr 22nd, 2008
Hi there,

Hope someone can help...

I'm developing a "Startpage" for a client's customers.

He wants all information relevant to his clients to be displayed on 1 web page.

We have come up with http://www.systemattend.com/index.php

All is well until we tried logging in to Novell Groupwise. It seems it won't accept logins from any location other than the login page they have created.

The original (and working) login page is here: http://gw01.mh.alwaysattend.com/gw/webacc

My question is... how can I include the original working login into our custom page at systemattend.com/index.php via an iframe that will automatically scroll away form all the junk on the original login page and just display the username and password box???

If that doesn't make sense let me know and I'll try re-clarify it but it looks understandable to me.

Thanks in advance,

Kevin
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2005
Posts: 732
Reputation: digital-ether has a spectacular aura about digital-ether has a spectacular aura about 
Rep Power: 6
Solved Threads: 44
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Master Poster

Re: customising groupwise login (via iframes?)

  #2  
Apr 24th, 2008
Originally Posted by kevindougans View Post
Hi there,

Hope someone can help...

I'm developing a "Startpage" for a client's customers.

He wants all information relevant to his clients to be displayed on 1 web page.

We have come up with http://www.systemattend.com/index.php

All is well until we tried logging in to Novell Groupwise. It seems it won't accept logins from any location other than the login page they have created.

The original (and working) login page is here: http://gw01.mh.alwaysattend.com/gw/webacc

My question is... how can I include the original working login into our custom page at systemattend.com/index.php via an iframe that will automatically scroll away form all the junk on the original login page and just display the username and password box???

If that doesn't make sense let me know and I'll try re-clarify it but it looks understandable to me.

Thanks in advance,

Kevin


You could move the scrollbar on the iframe to the position where it just shows what you want.
See: scrollTop and scrollLeft.

That would probably be the only solution if you cant edit the Groupwise page, or at least a page on that same domain. It may be that the Groupwise authentication first checks the http referer before authenticating.

If you can edit a page on that domain, just put the form there and try it out. If you can login from that page, then you can use that page to proxy over to the login page.
Just have your form action point to that page, then have that page generate a form with your login as hidden inputs and have javascript trigger the submit() on the form and send to Groupwise in another Iframe. That will post it to Groupwise and have groupwise login. Your proxy can then check based on the HTML of the page whether the login worked, and it can then reply to your original page via a javascript function like : top.loginResult(true||false);

The problem is the cross domain policy. You cant read the DOM of a child FRAME object if its on a different domain. But you can have that Iframe "talk" back to the parent by calling a javascript function in the parent once its loaded. It does this by referencing the parent as "top" and calling a function defined in the parent.

So you have your first iframe on the same domain as the login form, that is able to read the HTML of the login form, and is also able to talk back to the parent by invoking one of its javascript functions.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:39 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC