Toro SSO question

View: New views
9 Messages — Rating Filter:   Alert me  

Toro SSO question

by loulou2u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a web-based chat application that I would like to implement
through sso. It is using jwchat and the only 2 things I'm concerned
about is, the login script uses 'onSubmit' to authenticate and a pop-up
chat window opens once logged in. So my question is can SSO handle this
type of application?

The form looks like this:

<form name="login" onSubmit="return loginCheck(this);">
       ...... yadda yadda .....
              <tr><td> </td><td><button type="submit"
id='login_button' tabindex=5 disabled>Login</button></td></tr>
          </table>
    </form>  

Thanks!

---
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more!
Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the  event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Toro SSO question

by GEORGE.ADAMS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Finally a question I can answer.
Most likely the JavaScript loginCheck() is doing just that, checking the form to make sure the user has filled in both the username and password. In that case you don't need to concern yourself about it. I have run into a few cases where much more is being done in the JavaScript. In one case another hidden form field was being set to the current time for the users time zone. In another case the script filled in the values from username and password into a hidden form and submitted that. You will need to find the loginCheck() and see what it is doing. If you are unsure what it does post the JavaScript here and we can take a look at it.

George Adams
Educational Technology / Integration Services
Saint Paul Public Schools




Laura McCord <mccordl@...>
Sent by: bounce-5777754-9517814@...

04/18/08 01:07 PM
Please respond to
uportal-user@...

To
uportal-user@...
cc
Subject
[uportal-user] Toro SSO question





I have a web-based chat application that I would like to implement
through sso. It is using jwchat and the only 2 things I'm concerned
about is, the login script uses 'onSubmit' to authenticate and a pop-up
chat window opens once logged in. So my question is can SSO handle this
type of application?

The form looks like this:

<form name="login" onSubmit="return loginCheck(this);">
      ...... yadda yadda .....
             <tr><td>&nbsp;</td><td><button type="submit"
id='login_button' tabindex=5 disabled>Login</button></td></tr>
         </table>
   </form>  

Thanks!

---
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more!
Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the  event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: george.adams@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

-- 

Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Toro SSO question

by loulou2u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi George,

Below is the loginCheck function. Have you had any success implementing
this type of application in your portal using sso?

Thanks for your response!

Laura

function loginCheck(form) {
  if (form.jid.value == '') {
    alert("You need to supply a username");
    return false;
  }

  if (form.pass.value == '') {
    alert("You need to supply a password");
    return false;
  }

  if (document.getElementById('tr_server').style.display != 'none') {
    var val = document.getElementById('server').value;
    if (val == '') {
      alert("You need to supply a jabber server");
      return false;
    }

    JABBERSERVER = val;
  }

  jid = form.jid.value + "@" + JABBERSERVER + "/";
  if (form.res.value != '')
    jid += form.res.value;
  else
    jid += DEFAULTRESOURCE;

  if(!isValidJID(jid))
    return false;

  if (jwchats[jid] && !jwchats[jid].closed) {
    jwchats[jid].focus();
    return false;
  }

  pass = form.pass.value;
  register = form.register.checked;

  prio = form.prio[form.prio.selectedIndex].value;

  connect_port = form.connect_port.value;
  connect_host = form.connect_host.value;
  connect_secure = form.connect_secure.checked;

  jwchats[jid] = window.open('jwchat.html',makeWindowName(jid),'width=180,height=390,resizable=yes');

  return false;
}



GEORGE.ADAMS@... wrote:

>
> Finally a question I can answer.
> Most likely the JavaScript loginCheck() is doing just that, checking
> the form to make sure the user has filled in both the username and
> password. In that case you don't need to concern yourself about it. I
> have run into a few cases where much more is being done in the
> JavaScript. In one case another hidden form field was being set to the
> current time for the users time zone. In another case the script
> filled in the values from username and password into a hidden form and
> submitted that. You will need to find the loginCheck() and see what it
> is doing. If you are unsure what it does post the JavaScript here and
> we can take a look at it.
>
> George Adams
> Educational Technology / Integration Services
> Saint Paul Public Schools
>
>
>
> *Laura McCord <mccordl@...>*
> Sent by: bounce-5777754-9517814@...
>
> 04/18/08 01:07 PM
> Please respond to
> uportal-user@...
>
>
>
> To
> uportal-user@...
> cc
>
> Subject
> [uportal-user] Toro SSO question
>
>
>
>
>
>
>
>
>
> I have a web-based chat application that I would like to implement
> through sso. It is using jwchat and the only 2 things I'm concerned
> about is, the login script uses 'onSubmit' to authenticate and a pop-up
> chat window opens once logged in. So my question is can SSO handle this
> type of application?
>
> The form looks like this:
>
> <form name="login" onSubmit="return loginCheck(this);">
>       ...... yadda yadda .....
>              <tr><td> </td><td><button type="submit"
> id='login_button' tabindex=5 disabled>Login</button></td></tr>
>          </table>
>    </form>  
>
> Thanks!
>
> ---
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!"
> April 27th - 30th, 2008 in St. Paul, Minnesota USA
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more!
> Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com, for news and updates about the  event.
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
> You are currently subscribed to uportal-user@... as:
> george.adams@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user
>
>--
>
>
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!" April 27th - 30th, 2008 in St.
> Paul, Minnesota USA
>
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more! Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com <http://jasig2008.blogspot.com/>, for
> news and updates about the event.
>
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
>
>You are currently subscribed to uportal-user@... as: mccordl@...
>To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
>

---
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more!
Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the  event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Toro SSO question

by GEORGE.ADAMS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The beginning of the JavaScript does make sure the user has entered a username and password. The rest sets some JavaScript variables and then open a popup window. The Toro Gateway portlet is only set up so the user can enter a username and password. If the users go off to different jabber servers you may have a problem. You will either need to make an instance of the portlet for each jabber server or you will somehow have to read the appropriate jabber server from your person attributes. Hopefully you only have one server.
The JavaScript also opens a popup window at the end. As far as I know the Toro Gateway portlet can't do that.
Another way to solve this problem would to create an intermediate web page. I have done this in a couple of situations.
1. Have the Gateway portlet pass the users username and password to a dynamic page you create.
2. On the page you create more or less duplicate the form below and include the JavaScript.
3. The page you create will need to fill in the values of the username and password into the form. This could be done with any CGI like PHP, JSP, ColdFusion or whatever you know. This could also be done in a html page using JavaScript
The form would look like
<form name="login" onSubmit="return loginCheck(this);">
<input type="hidden" name="jid" value="#form.jid#">
<input type="hidden" name="pass" value="#form.pass#">
<input type="hidden" name="server" value="hardCodedJabberServer">
...... yadda yadda .....
</form>

 The #form.jid# and #form.pass# above are ColdFusion codes to place the value passed in a form in this location. This will be different for PHP and others.

4. Add this after the </form> tab which should automatically submit the form and call the JavaScript
<script type="text/JavaScript" language="JavaScript">
 document.login.submit();
</script>

If there are different Jabber servers and you have some sort of database table that has username and jabber server in it you could also query the table for the correct jabber server for this username and replace "hardCodedJabberServer" above with the proper jabber server.

Good luck.

George Adams
Educational Technology / Integration Services



Laura McCord <mccordl@...>
Sent by: bounce-5778084-9517814@...

04/18/08 02:18 PM
Please respond to
uportal-user@...

To
uportal-user@...
cc
Subject
Re: [uportal-user] Toro SSO question





Hi George,

Below is the loginCheck function. Have you had any success implementing
this type of application in your portal using sso?

Thanks for your response!

Laura

function loginCheck(form) {
 if (form.jid.value == '') {
   alert("You need to supply a username");
   return false;
 }

 if (form.pass.value == '') {
   alert("You need to supply a password");
   return false;
 }

 if (document.getElementById('tr_server').style.display != 'none') {
   var val = document.getElementById('server').value;
   if (val == '') {
     alert("You need to supply a jabber server");
     return false;
   }

   JABBERSERVER = val;
 }

 jid = form.jid.value + "@" + JABBERSERVER + "/";
 if (form.res.value != '')
   jid += form.res.value;
 else
   jid += DEFAULTRESOURCE;

 if(!isValidJID(jid))
   return false;

 if (jwchats[jid] && !jwchats[jid].closed) {
   jwchats[jid].focus();
   return false;
 }

 pass = form.pass.value;
 register = form.register.checked;

 prio = form.prio[form.prio.selectedIndex].value;

 connect_port = form.connect_port.value;
 connect_host = form.connect_host.value;
 connect_secure = form.connect_secure.checked;

 jwchats[jid] = window.open('jwchat.html',makeWindowName(jid),'width=180,height=390,resizable=yes');

 return false;
}



GEORGE.ADAMS@... wrote:

>
> Finally a question I can answer.
> Most likely the JavaScript loginCheck() is doing just that, checking
> the form to make sure the user has filled in both the username and
> password. In that case you don't need to concern yourself about it. I
> have run into a few cases where much more is being done in the
> JavaScript. In one case another hidden form field was being set to the
> current time for the users time zone. In another case the script
> filled in the values from username and password into a hidden form and
> submitted that. You will need to find the loginCheck() and see what it
> is doing. If you are unsure what it does post the JavaScript here and
> we can take a look at it.
>
> George Adams
> Educational Technology / Integration Services
> Saint Paul Public Schools
>
>
>
> *Laura McCord <mccordl@...>*
> Sent by: bounce-5777754-9517814@...
>
> 04/18/08 01:07 PM
> Please respond to
> uportal-user@...
>
>
>                  
> To
>                  uportal-user@...
> cc
>                  
> Subject
>                  [uportal-user] Toro SSO question
>
>
>
>                  
>
>
>
>
>
> I have a web-based chat application that I would like to implement
> through sso. It is using jwchat and the only 2 things I'm concerned
> about is, the login script uses 'onSubmit' to authenticate and a pop-up
> chat window opens once logged in. So my question is can SSO handle this
> type of application?
>
> The form looks like this:
>
> <form name="login" onSubmit="return loginCheck(this);">
>       ...... yadda yadda .....
>              <tr><td>&nbsp;</td><td><button type="submit"
> id='login_button' tabindex=5 disabled>Login</button></td></tr>
>          </table>
>    </form>  
>
> Thanks!
>
> ---
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!"
> April 27th - 30th, 2008 in St. Paul, Minnesota USA
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more!
> Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com, for news and updates about the  event.
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
> You are currently subscribed to uportal-user@... as:
> george.adams@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user
>
>--
>
>
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!" April 27th - 30th, 2008 in St.
> Paul, Minnesota USA
>
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more! Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com <http://jasig2008.blogspot.com/>, for
> news and updates about the event.
>
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
>
>You are currently subscribed to uportal-user@... as: mccordl@...
>To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
>

---
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more!
Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the  event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: george.adams@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

-- 

Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Toro SSO question

by loulou2u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi George,

We do only have one jabber server so if I need to hard code it that
should be fine. I appreciate your suggestions. I'm anxious to give it a try.

I'll let you know how it worked.

Thanks!
Laura

GEORGE.ADAMS@... wrote:

>
> The beginning of the JavaScript does make sure the user has entered a
> username and password. The rest sets some JavaScript variables and
> then open a popup window. The Toro Gateway portlet is only set up so
> the user can enter a username and password. If the users go off to
> different jabber servers you may have a problem. You will either need
> to make an instance of the portlet for each jabber server or you will
> somehow have to read the appropriate jabber server from your person
> attributes. Hopefully you only have one server.
> The JavaScript also opens a popup window at the end. As far as I know
> the Toro Gateway portlet can't do that.
> Another way to solve this problem would to create an intermediate web
> page. I have done this in a couple of situations.
> 1. Have the Gateway portlet pass the users username and password to a
> dynamic page you create.
> 2. On the page you create more or less duplicate the form below and
> include the JavaScript.
> 3. The page you create will need to fill in the values of the username
> and password into the form. This could be done with any CGI like PHP,
> JSP, ColdFusion or whatever you know. This could also be done in a
> html page using JavaScript
> The form would look like
> <form name="login" onSubmit="return loginCheck(this);">
> <input type="hidden" name="jid" value="#form.jid#">
> <input type="hidden" name="pass" value="#form.pass#">
> <input type="hidden" name="server" value="hardCodedJabberServer">
> ...... yadda yadda .....
> </form>
>  The #form.jid# and #form.pass# above are ColdFusion codes to place
> the value passed in a form in this location. This will be different
> for PHP and others.
>
> 4. Add this after the </form> tab which should automatically submit
> the form and call the JavaScript
> <script type="text/JavaScript" language="JavaScript">
>  document.login.submit();
> </script>
>
> If there are different Jabber servers and you have some sort of
> database table that has username and jabber server in it you could
> also query the table for the correct jabber server for this username
> and replace "hardCodedJabberServer" above with the proper jabber server.
>
> Good luck.
>
> George Adams
> Educational Technology / Integration Services
>
>
>
> *Laura McCord <mccordl@...>*
> Sent by: bounce-5778084-9517814@...
>
> 04/18/08 02:18 PM
> Please respond to
> uportal-user@...
>
>
>
> To
> uportal-user@...
> cc
>
> Subject
> Re: [uportal-user] Toro SSO question
>
>
>
>
>
>
>
>
>
> Hi George,
>
> Below is the loginCheck function. Have you had any success implementing
> this type of application in your portal using sso?
>
> Thanks for your response!
>
> Laura
>
> function loginCheck(form) {
>  if (form.jid.value == '') {
>    alert("You need to supply a username");
>    return false;
>  }
>
>  if (form.pass.value == '') {
>    alert("You need to supply a password");
>    return false;
>  }
>
>  if (document.getElementById('tr_server').style.display != 'none') {
>    var val = document.getElementById('server').value;
>    if (val == '') {
>      alert("You need to supply a jabber server");
>      return false;
>    }
>
>    JABBERSERVER = val;
>  }
>
>  jid = form.jid.value + "@" + JABBERSERVER + "/";
>  if (form.res.value != '')
>    jid += form.res.value;
>  else
>    jid += DEFAULTRESOURCE;
>
>  if(!isValidJID(jid))
>    return false;
>
>  if (jwchats[jid] && !jwchats[jid].closed) {
>    jwchats[jid].focus();
>    return false;
>  }
>
>  pass = form.pass.value;
>  register = form.register.checked;
>
>  prio = form.prio[form.prio.selectedIndex].value;
>
>  connect_port = form.connect_port.value;
>  connect_host = form.connect_host.value;
>  connect_secure = form.connect_secure.checked;
>
>  jwchats[jid] =
> window.open('jwchat.html',makeWindowName(jid),'width=180,height=390,resizable=yes');
>
>  return false;
> }
>
>
>
> GEORGE.ADAMS@... wrote:
>
> >
> > Finally a question I can answer.
> > Most likely the JavaScript loginCheck() is doing just that, checking
> > the form to make sure the user has filled in both the username and
> > password. In that case you don't need to concern yourself about it. I
> > have run into a few cases where much more is being done in the
> > JavaScript. In one case another hidden form field was being set to the
> > current time for the users time zone. In another case the script
> > filled in the values from username and password into a hidden form and
> > submitted that. You will need to find the loginCheck() and see what it
> > is doing. If you are unsure what it does post the JavaScript here and
> > we can take a look at it.
> >
> > George Adams
> > Educational Technology / Integration Services
> > Saint Paul Public Schools
> >
> >
> >
> > *Laura McCord <mccordl@...>*
> > Sent by: bounce-5777754-9517814@...
> >
> > 04/18/08 01:07 PM
> > Please respond to
> > uportal-user@...
> >
> >
> >                  
> > To
> >                  uportal-user@...
> > cc
> >                  
> > Subject
> >                  [uportal-user] Toro SSO question
> >
> >
> >
> >                  
> >
> >
> >
> >
> >
> > I have a web-based chat application that I would like to implement
> > through sso. It is using jwchat and the only 2 things I'm concerned
> > about is, the login script uses 'onSubmit' to authenticate and a pop-up
> > chat window opens once logged in. So my question is can SSO handle this
> > type of application?
> >
> > The form looks like this:
> >
> > <form name="login" onSubmit="return loginCheck(this);">
> >       ...... yadda yadda .....
> >              <tr><td> </td><td><button type="submit"
> > id='login_button' tabindex=5 disabled>Login</button></td></tr>
> >          </table>
> >    </form>  
> >
> > Thanks!
> >
> > ---
> > Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> > Solutions: The Community Source Way!"
> > April 27th - 30th, 2008 in St. Paul, Minnesota USA
> >
> > Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> > uPortal, and more!
> > Information/Registration at:
> > http://www.ja-sig.org/conferences/08spring/index.html
> >
> > Subscribe to the conference blog, The Community Source Way
> > http://jasig2008.blogspot.com, for news and updates about the  event.
> >
> > Join the Conference networking site at
> > http://ja-sigspring08.crowdvine.com/
> >
> > You are currently subscribed to uportal-user@... as:
> > george.adams@...
> > To unsubscribe, change settings or access archives, see
> > http://www.ja-sig.org/wiki/display/JSG/uportal-user
> >
> >--
> >
> >
> > Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> > Solutions: The Community Source Way!" April 27th - 30th, 2008 in St.
> > Paul, Minnesota USA
> >
> >
> > Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> > uPortal, and more! Information/Registration at:
> > http://www.ja-sig.org/conferences/08spring/index.html
> >
> >
> > Subscribe to the conference blog, The Community Source Way
> > http://jasig2008.blogspot.com <http://jasig2008.blogspot.com/>, for
> > news and updates about the event.
> >
> >
> > Join the Conference networking site at
> > http://ja-sigspring08.crowdvine.com/
> >
> >
> >You are currently subscribed to uportal-user@... as:
> mccordl@...
> >To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user
> >
>
> ---
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!"
> April 27th - 30th, 2008 in St. Paul, Minnesota USA
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more!
> Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com, for news and updates about the  event.
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
> You are currently subscribed to uportal-user@... as:
> george.adams@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user
>
>--
>
>
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!" April 27th - 30th, 2008 in St.
> Paul, Minnesota USA
>
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more! Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com <http://jasig2008.blogspot.com/>, for
> news and updates about the event.
>
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
>
>You are currently subscribed to uportal-user@... as: mccordl@...
>To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
>

---
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more!
Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html

Subscribe to the conference blog, The Community Source Way
http://jasig2008.blogspot.com, for news and updates about the  event.

Join the Conference networking site at http://ja-sigspring08.crowdvine.com/

You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Toro SSO question Revisted

by loulou2u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I had a chance to revisit this project that I started 2 months ago. I
created an intermediary page (tried a perl and php version) to grab the
credentials and populate the form. Since this form uses an onSubmit
action that performs its processing through a javascript, I did as
suggested and after the form I added:

<script type="text/JavaScript" language="JavaScript">
 document.login.submit();
</script>

However, when I tried this it looks like I am getting some recursive
behavior and nothing is happening. I'm not even getting anything in the
logs.

I removed these few lines of code and I tested it through my portal and
the username/password is populated but I have to click on the 'Login'
button in order for it to work.

Then, I decided to try the bridge files (http://www.unicon.net/node/595)
and that doesn't seem to work either.

Any further suggestions?

Laura



GEORGE.ADAMS@... wrote:

>
> Finally a question I can answer.
> Most likely the JavaScript loginCheck() is doing just that, checking
> the form to make sure the user has filled in both the username and
> password. In that case you don't need to concern yourself about it. I
> have run into a few cases where much more is being done in the
> JavaScript. In one case another hidden form field was being set to the
> current time for the users time zone. In another case the script
> filled in the values from username and password into a hidden form and
> submitted that. You will need to find the loginCheck() and see what it
> is doing. If you are unsure what it does post the JavaScript here and
> we can take a look at it.
>
> George Adams
> Educational Technology / Integration Services
> Saint Paul Public Schools
>
>
>
> *Laura McCord <mccordl@...>*
> Sent by: bounce-5777754-9517814@...
>
> 04/18/08 01:07 PM
> Please respond to
> uportal-user@...
>
>
>
> To
> uportal-user@...
> cc
>
> Subject
> [uportal-user] Toro SSO question
>
>
>
>
>
>
>
>
>
> I have a web-based chat application that I would like to implement
> through sso. It is using jwchat and the only 2 things I'm concerned
> about is, the login script uses 'onSubmit' to authenticate and a pop-up
> chat window opens once logged in. So my question is can SSO handle this
> type of application?
>
> The form looks like this:
>
> <form name="login" onSubmit="return loginCheck(this);">
>       ...... yadda yadda .....
>              <tr><td> </td><td><button type="submit"
> id='login_button' tabindex=5 disabled>Login</button></td></tr>
>          </table>
>    </form>  
>
> Thanks!
>
> ---
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!"
> April 27th - 30th, 2008 in St. Paul, Minnesota USA
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more!
> Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com, for news and updates about the  event.
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
> You are currently subscribed to uportal-user@... as:
> george.adams@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user
>
> --
>
>
> Join your friends and colleagues at JA-SIG 2008 - "Higher Education
> Solutions: The Community Source Way!" April 27th - 30th, 2008 in St.
> Paul, Minnesota USA
>
>
> Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai,
> uPortal, and more! Information/Registration at:
> http://www.ja-sig.org/conferences/08spring/index.html
>
>
> Subscribe to the conference blog, The Community Source Way
> http://jasig2008.blogspot.com <http://jasig2008.blogspot.com/>, for
> news and updates about the event.
>
>
> Join the Conference networking site at
> http://ja-sigspring08.crowdvine.com/
>
>
> You are currently subscribed to uportal-user@... as: mccordl@...
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user


--
Laura McCord
Web Programmer/Analyst
Information Technology Services
Southwestern University
512/863-1066
mccordl@...


---
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Channel to Change Password

by Kristen Walker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My apologies if this is common knowledge or has been done a long time ago,
but we would love to put in a channel that allows our users to change their
passwords after they log in.  Has anyone done this?

Thanks so much,
Kristen



---
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Channel to Change Password

by Cris J Holdorph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is entirely dependent on the technology you're using to store a
user's credentials.  Are you talking about the default database table
store that uPortal ships with, or are you talking about a generic LDAP
solution, or possibly something more custom then that.

In terms of the database storage that uPortal ships with... there used
to be an administrator version, but I don't know if there was ever an
end user version.  The uportal database storage for user entries, was
never intended for a permanent solution, so not much work has been done
to create administration tools for it.

You'd probably have more luck finding someone who has already built an
LDAP password change Portlet.  I don't personally know of one, but it's
a portlet that would make a lot of sense for someone to build.

---- Cris J H

Kristen Walker wrote:

> My apologies if this is common knowledge or has been done a long time ago,
> but we would love to put in a channel that allows our users to change their
> passwords after they log in.  Has anyone done this?
>
> Thanks so much,
> Kristen
>
>
>
> ---
> You are currently subscribed to uportal-user@... as: holdorph@...
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
>

---
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: Channel to Change Password

by Chris Myers-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
If you use Novell eDirectory for your backend, you should check out their PWM offering - it's free, open-source, and written in Java, so it can be easily integrated into your portal.  And, it fully supports all the fun NMAS stuff (forgot password, password policies, etc.)  It saved us weeks of development time, and gave us more features than we would have been able to have come up with anyhow.
 
Even if you don't use Novell, you might be able to mod it to work with your environment.
 
 
Chris
 

Chris Myers
CCNA, A+, Thawte WOT Notary, AMX Certified Designer & Installer
User Services Specialist,
Millikin University IT Dept
M Class of 2003
(217) 362-6488
http://www.myerscountry.net
People use duct tape to fix everything . . . God used nails


>>>
From: Cris J Holdorph <holdorph@...>
To: <uportal-user@...>
Date: 7/23/2008 05:42 PM
Subject: Re: [uportal-user] Channel to Change Password
This is entirely dependent on the technology you're using to store a
user's credentials.  Are you talking about the default database table
store that uPortal ships with, or are you talking about a generic LDAP
solution, or possibly something more custom then that.

In terms of the database storage that uPortal ships with... there used
to be an administrator version, but I don't know if there was ever an
end user version.  The uportal database storage for user entries, was
never intended for a permanent solution, so not much work has been done
to create administration tools for it.

You'd probably have more luck finding someone who has already built an
LDAP password change Portlet.  I don't personally know of one, but it's
a portlet that would make a lot of sense for someone to build.

---- Cris J H

Kristen Walker wrote:

> My apologies if this is common knowledge or has been done a long time ago,
> but we would love to put in a channel that allows our users to change their
> passwords after they log in.  Has anyone done this?
>
> Thanks so much,
> Kristen
>
>
>
> ---
> You are currently subscribed to uportal-user@... as: holdorph@...
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
>

---
You are currently subscribed to uportal-user@... as: CMyers@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user


-- 
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
LightInTheBox - Buy quality products at wholesale price