plainblack.com
Username Password
search
Bookmark and Share
Subscribe

Auto Login to Remote Apps

Automatic login with LDAP (known as single sign on or SSO) is not possible. LDAP provides what is known as single login (SL), meaning that all the user accounts are in one repository so you only have to know one username and password to log in to everything. However, that doesn't actually make you log in to everything.

There are a couple of ways to accomplish SSO using WebGUI. There's the expensive way, writing a custom app to manage your logins, and there's the cheap way, using the user profiling system.  Here, we'll demonstrate the cheap way.

Basically you'll create two new fields in each user's profile for each application you wish to support. Those fields are RTuser and RTpassword for example. The users can fill these fields in themselves, or you can populate them for the user.  It's, up to you. Then you create a page with a snippet on it. That snippet contains HTML like this:

<form action="/path/to/login/script" method="post">
<input type="hidden" name="username" value="^User(RTuser);">
<input type="hidden" name="password" value="^User(RTpassword);">
<input type="submit" value="Click here to log in to RT">
....also put any other form elements the app requires.....
</form> 

You'll now have a nice little button that allows your users to login to a remote application.

Please take into consideration that the above method is a security risk since your user name and password to that site will be visibile in the browser cache and when you do a view page source in the browser.

Keywords:

Search | Most Popular | Recent Changes | Wiki Home
© 2018 Plain Black Corporation | All Rights Reserved