Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

wapext - How to wire the buttons?

Hi,

I'm trying to set up Web Authentication Passthrough - External (wapext).  So far things are looking good.  The page hosted on the external server comes up when connecting but my web developers don't have the Accept & Reject buttons on the page so attempting to go anywhere beyond the host server just loops back to the redirect/WebAuth page.  They are asking "How do we wire up the buttons?"

Is there anything special about coding the buttons?  If they just insert the button code from the Web Auth sample bundle, will the WLC's understand?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

wapext - How to wire the buttons?

It should understand it.  There is a 'demo' bundle on the WLC download section of CCO, in that should be all the java scripting needed for the buttons.

Steve

HTH, Steve ------------------------------------------------------------------------------------------------ Please remember to rate useful posts, and mark questions as answered
4 REPLIES

wapext - How to wire the buttons?

It should understand it.  There is a 'demo' bundle on the WLC download section of CCO, in that should be all the java scripting needed for the buttons.

Steve

HTH, Steve ------------------------------------------------------------------------------------------------ Please remember to rate useful posts, and mark questions as answered
New Member

wapext - How to wire the buttons?

Thanks!  That what I've been guessing & hoping would be the case.

We'll give it a try.

Hall of Fame Super Silver

wapext - How to wire the buttons?

They must of removed the script:

function submitAction(){
      var link = document.location.href;
      var searchString = "redirect=";
      var equalIndex = link.indexOf(searchString);
      var redirectUrl = "";
      var urlStr = "";
      if(equalIndex > 0) {
            equalIndex += searchString.length;
            urlStr = link.substring(equalIndex);
            if(urlStr.length > 0){
    redirectUrl += urlStr;
         if(redirectUrl.length > 255)
        redirectUrl = redirectUrl.substring(0,255);
       document.forms[0].redirect_url.value = redirectUrl;
   }
      }

      document.forms[0].buttonClicked.value = 4;
      document.forms[0].submit();
}

*******************************************************************************************

Button

-Scott
*** Please rate helpful posts ***
New Member

wapext - How to wire the buttons?

Yes, they had removed the script, not knowing how to wire the buttons.  Putting the script back in to our customized AUP page worked.  Now we're on to cleaning up rendering in different browsers, custom redirect after "Accept", getting name resolution and a cert for all the 1.1.1.1's, etc.

364
Views
0
Helpful
4
Replies
CreatePlease login to create content