On 7/9/06, Scott Randall <[EMAIL PROTECTED]> wrote: > Another network guy that knows very little about PHP with probably a stupid > question... > > I was wondering, is it possible to have a login from another server that can > be used to authenticate users and grant access to jffnms? > > My scenario is, I want to create a login on our company intranet that would > allow users to login to jffnms. I know, I know, I could just create a link > to the login page, but I guess I am trying to make things more difficult. > Plus our Intranet Admin needs a reason to justify his job.
I haven't tried this, but it should work fine. Assuming you're using the authentication ,method in JFF that displays a web form (as opposed to the htaccess style auth) you could just take the <form> elements from the page that jff uses, but simply change the target to be the jff login page. Here's the form as it is by default: <form id='jffnms_login' method='POST' target='_self'> <input id='user' type='text' name='user' value='' size='0'> <input id='pass' type='password' name='pass'> </form> But if you were to change the POST to something like: <form id='jffnms_login' method='POST' target='http://jffnms.yourdomain.com/'> <input id='user' type='text' name='user' value='' size='0'> <input id='pass' type='password' name='pass'> </form> ..and probably add a "submit" form element, I would think it would work just fine. Nothing php-ish has to be done, just straight html. --falz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
