Any method to prevent a user login with 1 account, but several machines?

May I ask for your recommendations to prevent a user to login my application with his/her account through different computers?
Background information:
1. My application is developed with BC4J framework.
2. Login details: Once a user's is validated with their user id and password stored in a backend database table, he/she would be granted the right to use my application with a common connection account, as stated with the configuration details specified.
Here is my solution:
- When a user login my application, I'll lookup if there is any existing user record in a database table, let say, TBL_CURR_USERS. If no user record is found, the user will be granted the right of launching my applications and have a user record written down in the table TBL_CURR_USERS. If a user record is found, the user will receive an error message - "Your specified account is in use. You are not allowed to enter until your specified account has been logged off."
- Problem: My problem is - how to trigger the event for removing the record in the table TBL_CURR_USER when user logs out implicity or internet connection interrupts. Let say, when the user close the browser by clicking the 'X' icon, I have nothing to trigger my deletion for the user record in the TBL_CURR_USERS table. If so, in the long term, many users will not be able to use my application until housekeeping is done for the table TBL_CURR_USERS ... what should I do? Any Java solutions or JDeveloper solutions available?
Thanks for your replying!

I had the same problem and I resolved in a different way. In the application server I have a Set in the context and I add a user when the login is successful and I remove it (I store the user even in the session) when the session expires (I have a session listener) or when the user explicitly logouts.
I don't need table and I don't need to do anything if the application server crashes.
If you don't use connection pooling you could use a logon trigger on the database.
I hope it helps,
Giovanni

Similar Messages

  • How to get an alert when user login with "DDIC" in any of the systems?

    Hi all,
    Can it be possible when ever the user login with DDIC user  in any of the satellite system,can we we  get an alert -as DDIC login attempt in any system?
    Is this possiblem in CCMS or BPM or...?
    Regards,
    Neni

    Hi Srikrishna,
    Link which you have give is good.But when i login with DDIC i am not geting alerts and i am not able to add any satllites system to
    under Security node
    My configuration:
    Miximum values for list                               1 min
    When should an alert be triggered?
    From value                   Red               Severity      2
    Max. number of alerts for each message ID             50
    Max. number of lines to be saved                      50
    SM19
    Client     *                                                     Events
    User       DDIC selected -Dailog logon         Alll
                                           systmem
    Please help me.
    Regards,
    Swaroop

  • Prevent same user login  more than twice in Online examination Application

    Hello Every Body,
    I want to prevent my user login more than twice in my application so what should i do?
    If user login twice then third time he must not be able to login and must not be able to attend online exam..
    Please somebody help me ....

    BalusC wrote:
    Implement HttpSessionListener or HttpSessionAttributeListener and get hold of all logged in Users and its Sessions in a Map. During login just check in the Map if the User isn't already in there. If it isn't, then add it to the map. If it is, then disallow login (or better, invalidate the previous Session and replace it in the Map it with current login). During logout, remove the User from the Map. During destroy of the session, remove the User from the Map.+"I want to prevent my user login more than twice in my application so what should i do?+
    +If user login twice then third time he must not be able to login and must not be able to attend online exam.."+
    Well i'm afraid that would not solve cause the end user's requirement.To me end user actually wants to stop any user to login his application(for taking an exam) more that twice. He has not added a clause stating end user at the sametime. Therefore, it is up to end user clearly define what is actual requirement is.

  • Preventing Duplicate User LogIN

    How to prevent Duplicate User Login ? The First User's Session has to be killed.
    How to do this ?

    How to prevent duplicate posts?
    http://forum.java.sun.com/thread.jspa?threadID=632857&tstart=0

  • User login with details

    hi guys,
    was need to come out a report for the user login details. which has to have the date and time of the user login to SAP, with the terminal ID access from and transaction has done. can any one tell me what table it is from? or is there existing report that i can view all this? thanks

    hi,
    you can find the transactions by a particular user from the transaction SM04.
    SM04 gives you the details of the users logged in,terminals,transactions the user is working on, the time he has logged in,no of sessions user has opened, and the memory used by the user's programs... all of that w.r.t to the client we login. but we can't get info like date and number of times the user has logged in.
    U can see tables:
    USR01 User master record (runtime data)
    USR02 Logon data
    USR03 User address data
    USR05 User Master Parameter ID
    USR12 User master authorization values
    You can also use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you want to track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    hope this is helpful
    regards,
    sravanthi

  • Terminate Portal User Login with JSessionID or MYSAPSSO2 Cookie

    Dear All,
    I know using Visual Administrator , we can terminate the session.
    Is it possible for the administrator to terminate a logged in portal user with his/her  JsessionID or MYSAPSSO2 cookie value or User Id programmatically.?
    Is it possible for portal admin to forcibly exit (logoutl) an active user login  without logging onto visual administrator?
    Regards,
    Eben Joyson

    The only complete mitigation for session hijacking is to run the entire site as SSL. This is Oracle's recommendation if you need a complete mitigation solution. And example of an ATG site running in full SSL is Dennis Kirk (denniskirk.com).
    The problem with doing so is that SSL (a) takes more processing power in the system running the client's browser and (2) incurs latency that degrades the perceived page performance. This is particularly true for consumers running Internet Explorer, where speed-up measures like SPDY are either incomplete or don't work. And for a hard core eComemrce site, slower page performance means that you make less money.
    Most sites, including those that you mention, use a mixture of SSL and non-SSL pages to overcome this. They use non-SSL for those areas of the site where penetration does not have a material negative impact. Browsing catalog pages as an anonymous user, for example. If someone hijacks my session and I'm browsing the catalog anonymously, they're welcome to it. There's nothing private in my session. Even robots can access that content.
    Once I login or go to pages where private information is being exchanged, then you have to secure the session. That's where the protocol switcher servlet comes in. As you authenticate, you switch the user to SSL.
    I've tried a number of additional mitigation steps. Unfortunately I can't discuss them here at this time.
    And none of the servlets that you mention have any benefit with mitigating session hijacking.

  • JSP-MySQL user login with username, password and registration

    Hi everyone:
    i need to create a simple jsp client login with username and password. There is also a registration link for those not register yet.
    I m using tomcat and MySQL and have already create a client login with username and password page.(record already in database).
    I m now have no idea on how to create a registration link, ie update the database. please help..the examples i search through google were build by Jboss, strut, ApacheGeronimo which i m not familiar with.
    Is it any "package" or "wizard" available in creating the login and registration page? Most of the webpage has build with user login and registration part, may i know how they "create" them?
    Please help.. Thanks in advance!

    hi,
    You can use tomcat5.5 for this. you can get help from the following link.
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    If ur registrantion page is RegistrationPage.jsp then u can write it:
    <a href="RegistrationPage.jsp">Registration Page </a">For Registration page u have to use session & for u can search this in javaworld.com site. MAy from this u will get ur solution

  • Disable multiple users login with single user id

    hi,
    I have a problem. I give a single user id to a  person and many people login to the server from different computers through that id.
    Please tell me how to block that only one user can login with a particular id at a particular time

    Hi Balaji,
    To disable multiple logins add parameter login/disable_multi_gui_login = 1 using RZ10
    Hope this help!
    Juan
    Please reward with points if helpful

  • User Login(s) / Account gone - BUG - thread overview - summary - solutions?

    Hello everyone...
    Time to open a new thread... Seems there is a serious bug going on since a while with 10.6 randomly, hit me saturday. After working late switched off my iMac and next morning all my user accounts were gone, not able to login with my account... instead I got a "other" account.
    Took me a day to get that fixed. Thanks Apple!
    Same problems here:
    http://discussions.apple.com/thread.jspa?threadID=2750969&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=13050110&#13050110
    http://discussions.apple.com/thread.jspa?threadID=2747165&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=12880505&#12880505
    http://discussions.apple.com/thread.jspa?messageID=12932314&#12932314
    http://discussions.apple.com/thread.jspa?messageID=12754295&#12754295
    http://discussions.apple.com/thread.jspa?messageID=12802769&#12802769
    http://discussions.apple.com/thread.jspa?messageID=12640182&#12640182
    http://discussions.apple.com/thread.jspa?messageID=12836318&#12836318
    http://discussions.apple.com/thread.jspa?messageID=12840608&#12840608
    http://discussions.apple.com/thread.jspa?messageID=12726662&#12726662
    This one has a interesting solution from user Illude
    http://discussions.apple.com/thread.jspa?threadID=2644133&tstart=0
    This one's from cNet:
    http://forums.cnet.com/7723-6126_102-505918.html
    There are quite some possible solutions (from threads) that seem to help, here are some of the popular ones:
    SOLUTION 1:
    1 - boot up using your SL disk.
    2 - select 'change password'
    3 - reset the root password
    4 - restart the mac from the system drive
    5 - log in as root
    6 - open system preferences
    7 - create an account with the SAME FULL NAME and ACCOUNT NAME as your 'lost' account
    8 - you will be prompted that "a folder with said name already exists - would you like to use the existing folder?" - SELECT OK
    9 - log out of root
    10- log into your account
    SOLUTION 2 for those without TM backup:
    Material needed: Snow Leopard DVD
    1. Boot from DVD: restart at log in menu you're stuck in. Otherwise hard restart. Press "C" while booting.
    2. Change password: in my case only System Administrator (root) and guest appeared. Change the password on System administrator.
    3. log in as "System Administrator" with your new password.
    4. Check to see if the folder with your user name is still there under "User"
    5. Go to System Preference>Account>add account: Set same account name. That will link the new user account with old username account folder. You can also adjust the login window option. For now I checked automatic log in.
    6. Restart. You should be able to log in to your old account.
    SOLUTION 3 with TERMINAL (from illude - thanks!):
    ... I had this exact problem. I installed the 10.6.5 update and when I finally rebooted several days later, all non-system users on my machine were deleted. Only "Other" showed up in the login screen. While the users were removed from the Directory Services, their data was still intact though, as their home directories in /Users were unchanged. This is of course a big relief...
    After reading this thread and the pages mentioned here, I came up with the following solution. Please replace "username" with the short (Unix) name of your user account (i.e. the one without spaces).
    1. Start the computer in Single-User Mode, by holding down Command+S as it boots up. You end up in a terminal as the root user.
    2. As suggested on the screen, do the following to check and mount your filesystem:
    /sbin/fsck -fy
    /sbin/mount -uw /
    3. Find out which accounts have been deleted (here I assume 'username' is one of them):
    defaults read /Library/Preferences/com.apple.preferences.accounts
    4. Convince yourself that the user data is still safe:
    ls /Users/username
    5. I noticed that the 10.6.5 update made backups of the Directory Services and shadow passwords in /private/var/db as the xar archives 'dslocal-backup.xar' and 'shadow-backup.xar', respectively. If you also have these files, you are in luck! Restore the settings for each deleted user, as well as all shadow passwords, as follows:
    cd /private/var/db
    xar -xf dslocal-backup.xar dslocal/nodes/Default/users/username.plist
    xar -xf shadow-backup.xar
    6. For good measure, remove the record of deleted users (not sure if this is necessary, but seemed like a good idea at the time):
    rm /Library/Preferences/com.apple.preferences.accounts.plist
    7. Restart the computer:
    shutdown -r now
    I restored the settings for all deleted users in Step 5, and everyone was back after the reboot. The great thing is that all settings are restored the way they were, including the password, user GUID (which should prevent Time Machine from redoing a full backup as mentioned in this thread) and the login picture (which was stored in the JPEGPhoto field in the plist file and would have been lost otherwise).
    Of course, this solution might not apply to your specific problem, so please take care when you tamper with system settings via Single-User Mode.
    SOLUTION 4 using a TimeMachine Backup:
    If you have a backup with time machine, reinstall with original OSX DVD.
    For that type "C" when booting and hold until system boots from DVD.
    Go trough necessary steps, then when asked if you want to restore from a TimeMachine Backup, do so. Will take some hours depending on how big your TM backup is and what kind of interface you use (GBit Network, USB, Firewire etc).
    After that your system should be restored. However you proably have to update back again to the latest OSX update you were using with that TM backup, as OSX Mail will crash if it doesn't have that exact update environment. Example: your TM backup was done with 10.6.6., mail will crash often if you restore to 10.6.5...
    ATTENTION: there may be some side effects after a restore regarding external volumes, they could be locked out as your old user settings are gone...
    After restore I could not access two external drives on my system,
    1) a firewire 2TB Lacie drive that was "locked". I did not have the rights to access it, and CTRL+I and setting the permissions did not work. permissions were not stored. The OSX Harddisk tool also did not work because the "owner" of that drive could not be set.
    Solution: A tiny app called "BatChmod" saved the day, it allowed me "unlock" the permissions of that drive, without being a Unix superfreak knowing all the tweaks.
    http://www.macchampion.com/arbysoft/BatchMod/Download.html
    2) I could not access my TimeCapsule TM after restore to refresh the backup. Quite interesting because my system just had restored from that drive. The TimeMachine Volume was locked with that little "lock" symbol left of the volume symbol. CTRL+I and setting permissions did not work too... Within OSX Harddisk Tool a TimeCapsule does not show up so you can't fix permissions there either...
    Solution: With Airports TimeCapsule Manual Settings there is a option to delete the volume or folders on it. deleted the sparsebundle and voila the TC could be used again.
    If there are any other solutions that worked out for you to recover from lost logins/accounts, please post them here, and do not forget to notify apple about that bug at
    http://www.apple.com/feedback/macosx.html
    so that it hopefully finally get's fixed with 10.6.7... it seems to be around since 10.5..., emerged again with 10.6 SL, and now came back with 10.6.6. so that should have been quite a long time to fix it.
    Thx
    Chris
    Message was edited by: vertrider
    Message was edited by: vertrider

    this symptom caught me by surprise just the other day - luckily I had the root account enabled, which is not the default.  With the root account enabled, and an available Time Machine backup, recovery is really simple, straightforward and quick.
    For my situation, which may not be identical with those for all who may read this thread, the plist files which define for DirectoryService the users I have created, including my admin accounts, and the password hash files were deleted.
    if the root account is not enabled on your system, then I suppose you will have to go through either booting in Single User mode or from a System Install disk that will let you run the Terminal application.  However it is done, once you have the ability to write to the database directories, and access to a Time Machine backup, the recovery process is thus:
    Step 1. Verify that the user account home directories still exist, both for peace of mind and to determine whether this recovery method is appropriate for your situation.
    ls -l /Users/
    This should show account directories for all the users you have created in the past.  If not, then a restore of the user directories from a Time Machine backup, as well as the user DirectoryService files is indicated.  And, I would propose that the cause of your particular difficulties is other than most in this thread have experienced.
    also, just for fun, open the Accounts Preference Pane in the System Preferences, and see that none of your user accounts are listed.  What I found interesting is that the groups that I had created were still defined, it was just the user accounts that were deleted.
    Step 2.  now, for the meat of the recovery.  I recommend opening a pair of Terminal windows, one in which to look at the database directories, the other to look at the Time machine directories.
    in the "database" window, change directory to the user accounts area.  This is read-write-execute for root only, so if you are not able to cd to this directory, you'll need to wrap the commands in sudo.
    cd  /var/db/dslocal/nodes/Default/users/
    ls -l
    [non-root version of commands:  cd /var/db/dslocal/nodes/;  sudo ls -l Default/users/ ]
    the result should show a number of plist files, with many system users starting with an underscore, and only a few others:  daemon.plist, nobody.plist, root.plist
    Step 3. in  the "TimeMachine" window, change directory to the user accounts area from a recent backup, such as this one for my computer "Odin", backed up to TimeMachineDrive (this is a long path, not a two line entry):
    cd /Volumes/TimeMachineDrive/Backups.backupdb/Odin/2011-04-20-002126/Odin/var/db/d slocal/nodes/Default/users/
    then perform a directory listing:
    ls -l
    [non-root version of command is similar to that in Step 2, only need to get to the dslocal/nodes/ directory on the TimeMachine volume]
    you should see all the same plist files as in Step 2, along with the additional user accounts definitions for those accounts you originally created.
    to restore the definitions to your system, copy the missing plist files to the database directory used in Step 2. For a missing account file "test.plist", this would be:
    cp -X test.plist /var/db/dslocal/nodes/Default/users/
    [non-root version of command:  sudo cp -X Default/users/test.plist /var/db/dslocal/nodes/Default/users/ ]
    the command option "-X" keeps the extended attributes from being copied along with the file
    do the same for each missing plist file.
    Step 4. this step restarts DirectoryService, so it becomes aware of newly restored account definitions.
    killall HUP DirectoryService
    [non-root version:  sudo killall HUP DirectoryService ]
    note:  DirectoryService will recognize the new accounts after a reboot, even without the killall command being issued.  I just like to avoid unnecessary rebooting....
    now comes the fun part - open up the Accounts Preference Pane in the System Preferences, or close and reopen if already open, and voila, the missing accounts should all be shown again!  If you perform a listing of the /Users directory, you'll see the account names instead of UID numbers shown as owner of the account directories once again.
    ls -l /Users/
    Great!  ready to go, right?  Almost, but we have to fix the ability to log in for these accounts first, by restoring the shadow password hash files.
    Step 5. to restore the hash files, we need to know which ones belong to which account, and which directories to restore from and to.  So, in the 'database' window
    cd /var/db/shadow/hash/
    ls -l
    [non-root version:  cd /var/db/;  sudo ls -l shadow/hash/ ]
    in the "TimeMachine" window, assuming you are still in the var/db/dslocal/nodes/Default/users/ directory:
    cd ../../../shadow/hash/
    ls -l
    [non-root version, assumes you are in the var/db/ directory:  sudo ls -l shadow/hash/ ]
    you should see a bunch of files with filenames consisting of uppercase letters, numbers, and dashes.  To determine which file(s) belongs to which account, here is an example for the account "test":
    dscl . -read /Users/test GeneratedUID
    [non-root version:  same as root version of command ]
    result should look like:
    GeneratedUID: E7FBADC6-CFCB-4B31-88F9-BB6BD1FAEB52
    this long string identifies which hash file(s) belongs with the account "test"
    from the "TimeMachine" window, copy the hash file back to the system location:
    cp -X E7FBADC6-CFCB-4B31-88F9-BB6BD1FAEB52* /var/db/shadow/hash/
    [non-root version, all on one line: sudo cp -X shadow/hash/E7FBADC6-CFCB-4B31-88F9-BB6BD1FAEB52* /var/db/shadow/hash/ ]
    once this is completed for all the missing accounts, your system should be restored to exactly the condition it was in prior to the user accounts disappearing.
    in Solution 3 above, from illude, the file  /Library/Preferences/com.apple.preferences.accounts.plist is mentioned.  I believe this is a file that was generated in Mac OS X 10.4, and maybe 10.5.  I'm pretty sure that a clean fresh install of Mac OS X 10.6, on a new partition for example, will *not* have this file.  Therefore, it a) may not be present, and b) if present, may have contents that don't represent any accounts created since the installation of Snow Leopard on that machine.
    be that all as it may - I wish I'd found this thread topic when this first occurred for me. But since I managed a solution, I thought I'd share, in case anyone finds these methods useful.
    cheers,
    Roy

  • I can login with password, but then it wont unlock anything

    So yeah. recently restored OS X onto a new hard drive, and set the password for my account. Set it up under System Preferences>Security to require a password when waking up. All was well until the next time the computer went into screen saver, and I tried to wake it.
    The password doesn't work, and I have to hard cut off my computer so that I can get back to the login screen to type the same password and log into the account.
    I then tried to change my password for the account under System Preferences>Accounts but then I noticed that I can-t unlock the little lock thing in the corner, because the password doesn't work.
    So I put in my install disc and reset the account password. Went and logged in. Still can't unlock anything. All I can do with the account password is simply log in from the log in screen.
    So then I tried deleting the login keychain and restarting my computer.
    No difference.
    Oh, and I also reset the administrator account while I was on the install disc. Made the password a little different, and tried it. Didn't work.
    So basically, what the heck do I do to change the password so I can actually use my computer?

    You know hopefully the issue is resolved, agreed, but if not reset you default keychain. Sounds intense but http://support.apple.com/kb/TS1544 will make short work of it. it will reset your keychain obviously, and you will have to reenter a few passwords (mail, etc) but it will use your newly created admin password to make the new keychain. Resolves a world of issues!

  • User Login with jquery mobile

    I have this code that works perfectly but when i embed with Jquery mobile it fails to work. its a user authenication code
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="../Connections/VT.asp" -->
    <%
        ' *** Validate request to log in to this site.
        MM_LoginAction = Request.ServerVariables("URL")
        If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
        MM_valUsername = CStr(Request.Form("username"))
        If MM_valUsername <> "" Then
            Dim MM_fldUserAuthorization
            Dim MM_redirectLoginSuccess
            Dim MM_redirectLoginFailed
            Dim MM_loginSQL
            Dim MM_rsUser
            Dim MM_rsUser_cmd
            MM_fldUserAuthorization = ""
            MM_redirectLoginSuccess = "source.asp"
            MM_redirectLoginFailed = "error.asp"
            MM_loginSQL = "SELECT Username, Password"
            If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
            MM_loginSQL = MM_loginSQL & " FROM dbo.Test_Register_Users WHERE Username = ? AND Password = ?"
            Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
            MM_rsUser_cmd.ActiveConnection = MM_VT_STRING
            MM_rsUser_cmd.CommandText = MM_loginSQL
            MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 70, MM_valUsername) ' adVarChar
            MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 50, Request.Form("password")) ' adVarChar
            MM_rsUser_cmd.Prepared = true
            Set MM_rsUser = MM_rsUser_cmd.Execute
            If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
                ' username and password match - this is a valid user
                Session("MM_Username") = MM_valUsername
                If (MM_fldUserAuthorization <> "") Then
                    Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
                Else
                    Session("MM_UserAuthorization") = ""
                End If
                if CStr(Request.QueryString("accessdenied")) <> "" And true Then
                    MM_redirectLoginSuccess = Request.QueryString("accessdenied")
                End If
                MM_rsUser.Close
                Response.Redirect(MM_redirectLoginSuccess)
            End If
            MM_rsUser.Close
            Response.Redirect(MM_redirectLoginFailed)
        End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css" />
    <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-role="page" id="page">
      <div data-role="header">
        <h1>Header</h1>
      </div>
      <div data-role="content">
        <form id="form1" name="form1" method="POST" action="login_code.asp">
          <table width="325" border="0" cellpadding="3" cellspacing="3">
            <tr>
              <td width="94"> </td>
              <td width="210"> </td>
            </tr>
            <tr>
              <td>Username</td>
              <td><input type="text" name="username" id="username" /></td>
            </tr>
            <tr>
              <td>Password</td>
              <td><input type="text" name="password" id="password" /></td>
            </tr>
            <tr>
              <td colspan="2"><div align="center">
                <input type="submit" name="button" id="button" value="Submit" />
              </div></td>
            </tr>
          </table>
        </form>
      </div>
      <div data-role="footer">
        <h4>Footer</h4>
      </div>
    </div>
    </body>
    </html>

    "Fails to work" in what way?

  • Override standard user login with the admin login

    I remember that on Snow Leopard when a standard user log in and screen lock, an admin user could unlock that. How to do this in Lion? Cheers

    I was able to resolve this by following some instructions on the internet.    It's been a while, and I sadly can't recall which was the final solution for me but I'd start with:
    http://arstechnica.com/civis/viewtopic.php?f=19&t=1149073
    which is to:
    /etc/pam.d
    aqua:pam.d root# diff screensaver screensaver.apple
    6c6
    < account    sufficient       pam_group.so no_warn group=admin,wheel fail_safe
    > account    required       pam_group.so no_warn group=admin,wheel fail_safe
    And I believe this changed the unlock dialog box to be the old style (yep just a comment, what gives? )
    cd /etc
    sudo cp authorization authorization.bak
    sudo nano authorization
    Press Control+W and search for "unlock the screensaver"
    Change the line:
    <string>The owner or any administrator can unlock the screensaver.</string>
    to:
    <string>(Use SecurityAgent.) The owner or any administrator can unlock the screensaver.</string>
    Press Control+X to save /etc/authorization and exit nano.

  • New User login with restart ?

    Hello,
    How to make a newly user created in WLS console or in the application
    log into the application without restarting the WLS or modification to
    weblogic.xml ?
    I have seen some message regarding this but did not find suitable answer ?
    Thanks
    Deepak

    Hi,
    I am using WLS6.1 SP1. I have configured WLS to use CachingRealm
    (RDBMSRealm).
    I have also configured Security-Role and security-role-assignment in Web.xml
    and Weblogic.xml
    respectively. All these configurations are working fine. Pages are
    protected, valid users are logged,
    invalid user/password throws failed login page etc..
    What I also want to get working is....
    When I create a newUser through the console or application, that user is
    successfully added to underlying
    DB table and it is refreshed, it is also visible in the console. It is also
    associated to one of the groups
    which is also configured as a Security-Role. (Only in DB. A usergroup in the
    DB table is mapped to a security-role
    one-to-one.)
    The problem is ?
    Now when I try to login using this new userid, I won't be able logon.
    I know that, at this point the new user is not yet assigned to the any
    Security-Role in WebLogic.XML.
    But when I manually change to Weblogic.xml to make this association and
    restart the
    server, then it WORKS !!! Well it should and it does.
    1. How to make this without restarting the server ?
    2. Every time when I create a new user should I change weblogic.xml to
    associate this user to
    one of the security roles ?
    3. How to programmatically implement this, Is this possible.
    4. Does Caching - user and/or group parameters affect this issue ?
    Sorry for the incorrect question in my earlier thread.
    Thanks
    Deepak
    "Utpal" <[email protected]> wrote in message
    news:[email protected]..
    Could you please post your questions again ? I didn't get what you want to
    do !!
    -Utpal

  • User login with domain suffix possible?

    Hello everyone,
    I've implemented a Portal EP 7.0 SP18. The user management is mapped to 2 different LDAP-Domains.
    Everything works fine. Unfortunately there are several users with duplicate user over the 2 domains and they can't logon (as already described in the documentation).
    Now my question: is there a way to build the logon by LDAP with a user suffix e.g. @domain1 ?
    Best regards, Bernd Hülsebusch

    Dear Anja,
    I've red the help file and changed the system connector to
    Logon Method = UIDPW and
    User Mapping Type = admin
    So only the admin can set the user mapping in the UME UI. This works!
    Addionally I've set the UME property ume.usermapping.admin.pwdprotection to false, because normally the admin does not know the password of a user. I've restarted the server, but unfortunately it has no effect:
    Ii the user mapping of the UME the admin must still enter a password. What might be the reason?
    Best regards, Bernd Hülsebusch

  • Any method of retaining different user sessions in Essbase

    Hi,
    A question that usually comes to me is suppose you have a person A who locks and sends data values to a cube and another person B who locks and sends different values for the same combination of dimension members, is there any way essbase shows the person A the data he entered and to B the data B entered?
    Regards,
    Alex Thomas

    Result of the case as you described is depend what Isolation Level has set at database level. If could be either 'Committed' or 'UnCommitted' : -
    1- Committed Access: - Committed access provides a high level of data consistency because only one transaction at a time can update data blocks. Under committed access, Essbase allows transactions to hold read/write locks on all data blocks involved with the transaction until the transaction completes and commits. However, you can still allow read-only access to the last committed data values.
    2- Uncommitted Access: - With uncommitted access (enabled by default), the Essbase kernel allows transactions to hold read/write locks on a block-by-block basis; Essbase releases a block after it is updated but does not commit blocks until the transaction completes or until a specified limit (a “synchronization point”) has been reached. You can set this limit, as described below. Concurrent users accessing the same data blocks might experience unexpected results under uncommitted access, because Essbase allows read-only access to data at its last commit point.
    For more detail, plz refere Ensure Data integrity of database administrator guide.

Maybe you are looking for