6.0 form auth and auto logout

Hi,
I have recently started using 6.0 and have configured security to
force form auth.
I start the server and then I open a browser and login via the form.
I have noticed that after around 1.5 hours of inactivity, I get logged
out. The current user is set to
"guest" and I am returned to the login form.
Is this new with 6.0? How can the timeout be configured? Is the
timeout only based on inactivity or is it just periodic?
Thanks,
Rob
[email protected]

Rob Appelbaum wrote:
Hi,
I start the server and then I open a browser and login via the form.
I have noticed that after around 1.5 hours of inactivity, I get logged
out. The current user is set to
"guest" and I am returned to the login form.
Is this new with 6.0? How can the timeout be configured? Is the
timeout only based on inactivity or is it just periodic?
Rob,
This is not new behavior. It is straight from the servlet spec. It
happens after a certain amount of inactivity and is set using the
session-timeout element of the web.xml deployment descriptor.
HTH.
Tom Mitchell
[email protected]
Very Current Stoneham, MA Weather
http://www.tom.org

Similar Messages

  • Form Auth and Russian Language

    I have a probleme with Form based Auth. When i try edit data , my encoding is broken
    why?
    when i off form auth - i edit data normal

    i have web application with Master - Detail relationship. I can add and edit data. Then i add BASIC auth , i can add and edit data too, but when i change BASIC auth to FORM auth (jsp/UIX - same) i have probleme
    with edit/add data- my data is broken - i see (????) instead of my russian language. Why?
    in web.xml i add cp1251 and UIX page with 1251 encoding
    but i have probleme with Form ayth
    it's mysticism for me :-))

  • How can I use screen lock and auto-logout together?

    I'm managing a network of Macbook Pros at an elementary school and would like to use both the screen lock and automatic logout features together, but this does not seem to work for some reason.
    What I would like to happen:
    After 5 minutes: locked screen
    After 30 minutes: automatically logged out
    The automatic logout works when I don't have locked screen enabled, but once I turn on locked screen, the account never gets logged out. It does work if I only enable the screen saver to appear after 5 minutes. The computer isn't going to sleep so I'm not sure what is preventing the automatic logout.
    Any ideas on how to resolve this issue?

    You can use LabVIEWs UDP functions to communicate with SNMP devices. The tedious part is converting the MIB information into the required hex message.
    There is also a problem in using the UDP functions on port 161 (default SNMP port) if the Windows SNMP services is running.

  • Screen Pixalation when using Sleep and Auto Logout problems. OS bug?

    Original Thread here: http://forums.macrumors.com/showthread.php?t=1295058
    Thread Tools
    Search this Thread
    Display Modes
    Dec 21, 2011, 01:01 PM
      #1
    gswilder
    macrumors regular
    Join Date: Oct 2007
    iMac Sleep Problem Waking - Screen Black & Pixelization
    Have a new BTO 27" iMac I received a couple of weeks ago. Of course it is running Lion 10.7....
    I am having a screen problem "waking" my iMac. (I also have this problem randomly on my MB Air - mid 2011 model)
    After the iMac is in true sleep mode
    (I have it set to enter a password after sleep mode)
    Screen is blank/off
    I "wiggle" my mouse or trackpad
    Screen is still blank (sometimes it may display my screen saver, but the screensaver is frozen)
    If I start moving the mouse or trackpad, it starts "un painting" the black screen. You can see whatever is supposed to be on the screen, such as the logon "button".
    It is really wierd. Like a black "overlay" is painted on the resume from sleep screen. As I move my mouse or trackpad, it is basically erasing the black, to show what is underneath. Each movement of the mouse, erases a small black square.
    I usually move my mouse around the middle of the screen to uncover the logon button. Press the logon button. The screen magically reappears as normal. I enter my password and system logs back on normally.
    It only seems to be when the iMac is in really deep sleep mode. If the screen is just blank for an hour or so. I move the mouse/trackpad, and the logon screen is immediately displayed normally.
    Any thoughts or recommendations?
    Thanks to all in advance.
    Greg
    0  
    Dec 23, 2011, 12:17 AM
      #2
    gswilder
    Thread Starter
    macrumors regular
    Join Date: Oct 2007
    UPdate
    Still experimenting.
    If certain programs are running (ie Firefox), then I don't have a problem coming out of deep sleep. It gives me a message when I reenter my password, that Firefox prevented the system from logging off.
    Does that additional information help? It is a really annoying problem. And since I have it on my MBA, I am concerned it is more widespread. Does anyone else have this issue?
    0  
    Dec 24, 2011, 09:18 PM
      #3
    UNCHeelYeah
    macrumors newbie
    Join Date: Dec 2011
    Black Screen and "Erasure" with Mouse.
    I am having this same problem. I am using the Mac OS X Lion 10.7.2, not using a screen saver, and it happens sporadically upon trying to wake my iMac from sleep mode. The screen is black, and as you move the mouse over the screen, it "erases" the black, like the opposite of a blackboard, to reveal the login name and picture underneath. After that everything works fine. There is no pattern to this that I can discern (e.g. - happens every fifth time, only happens when a program isn't running etc.). It appears random, but is uber annoying, and behaves like a virus. I have Norton Antivirus, and it updates daily, and upon scanning states no virus is found. I also do system scan with MacKeeper, and it scans, says system is excellent. Something is definitely going on, I just wish I knew what it was. If anyone has any knowledge of this, any solution or insight would be greatly appreciated! Thanks!
    0  
    Dec 25, 2011, 12:29 PM
      #4
    GGJstudios
    macrumors G4
    Join Date: May 2008
    Quote:
    Originally Posted by UNCHeelYeah
    It appears random, but is uber annoying, and behaves like a virus. I have Norton Antivirus, and it updates daily, and upon scanning states no virus is found.
    That's because there are no Mac OS X viruses. You should uninstall Norton. You don't need 3rd party antivirus apps to protect your Mac from malware. Macs are not immune to malware, but no true viruses exist in the wild that can run on Mac OS X, and there never have been any since it was released 10 years ago. The only malware in the wild that can affect Mac OS X is a handful of trojans, which can be easily avoided with some basic education, common sense and care in what software you install. Also, Mac OS X Snow Leopard and Lion have anti-malware protection built in, further reducing the need for 3rd party antivirus apps.
    Mac Virus/Malware Info
    Quote:
    Originally Posted by UNCHeelYeah
    I also do system scan with MacKeeper, and it scans, says system is excellent.
    You don't need MacKeeper, either. You really don't need "cleaner" or "maintenance" apps to keep your Mac running well, and some of these apps can do more harm than good. Most only remove files/folders or unused languages or architectures, which does nothing more than free up some drive space. It will not make your Mac run faster or more efficiently, since having stuff stored on a drive does not impact performance, unless you're running out of drive space.
    Mac OS X does a good job of taking care of itself, without the need for 3rd party software.
    Your problem, and the OP's is a graphics problem, likely having to do with the screensaver, not a malware problem.
    1  
    Dec 26, 2011, 08:13 AM
      #5
    UNCHeelYeah
    macrumors newbie
    Join Date: Dec 2011
    Norton Antivirus, and what does it mean?
    I suppose one reason I developed a concern that there was more here than meets the proverbial eye, so to speak was a message that I have received through Norton on multiple occasions. The last message of similar stated messages reads as follows (Norton Antivirus 2.2.1 (5) ): "Vulnerability blocked, December 13th, 2011, 8:57 P.M. When I click on "View Recent Activities", a window is opened that is titled "Activity Log." There, four columns are listed, titled from left to right "Date", "Event Type", "Result", and "Details." Under the December 13th episode, It lists "Portscan" under Event type, "Result" gives an IP Address (192.168.x.xxx), and "Incoming" under details.
    I am admittedly a neophyte in the Mac world, having switched over from Windows 7 to Mac recently, but am intent on educating myself to the not-so-subtle differences. The above information that Norton displayed would lead one to believe that their antivirus software is protecting my iMac, and that its subsequent removal would have perhaps disastrous results ( i.e. - my iMac would be susceptible to said "Vulnerability", whatever it is, and that "Incoming would NOT be blocked). I had a conversation with Norton because previously, every time the stated "Vulnerability" attempted access, I was interrupted by a pop-up screen informing me of this. The Norton representative was able to turn off the pop-up screen notification, but stated that it would continue to log episodes of the "Vulnerability" when it attempted to portscan and access. So am I to understand that uninstalling Norton would leave my computer no less vulnerable to this vulnerability? It is confusing to me.
    Furthermore, I suppose I did wonder if this vulnerability threat had anything to do with the issue of the black screen erasure with the mouse. I will attempt to post a picture of the screen as it was being erased with the mouse, and perhaps a short movie as well. As previously stated, I do not have a screen saver enabled. Thank you for your input, any information is helpful to me! _
    ~Marc
    http://forums.macrumors.com/attachment.php?attachmentid=317412&d=1324905189
    0  
    Dec 26, 2011, 11:19 AM
      #6
    gswilder
    Thread Starter
    macrumors regular
    Join Date: Oct 2007
    Ditto & FYI Workaround
    UncHeel...
    Thanks for posting the picture. It is same as my iMac problem. On my iMac, it happens 100% of the time. On my MBA, it happens randomly like yours.
    I began to notice if certain programs were running, when it went into screen saver and sleep mode, this didn't happen. And when I woke it up, I got a message that said "could not be logged off due to Firefox or Sketchbook Pro, etc. So that got me to thinking. So....
    Over the weekend, I disabled "logoff after xx minutes of activity" in system preferences. That seems to fix the issue. I still have it set to require a password after the screen saver/sleep mode kicks it. But I disabled the logoff toggle.
    Still not sure what this is an issue, but seems to be a work around. I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    Any thoughts based on this new information?
    Thanks again
    Greg
    0  
    Dec 26, 2011, 11:52 AM
      #7
    GGJstudios
    macrumors G4
    Join Date: May 2008
    Quote:
    Originally Posted by UNCHeelYeah
    The above information that Norton displayed would lead one to believe that their antivirus software is protecting my iMac, and that its subsequent removal would have perhaps disastrous results
    You have to remember that many antivirus apps consider cookies to be a "vulnerability" or "threat", when they're not. The only malware in the wild that can affect Mac OS X requires the user to actively install it. As long as a user is reasonably careful about where they get software, there is no need for 3rd party antivirus apps to protect Mac OS X from malware. Just make sure your firewall is enabled (System Preferences > Security > Firewall), and disable Java in your browser (Safari > Preferences > Security > Enable Java (uncheck))
    Quote:
    Originally Posted by gswilder
    I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    You can let it sleep without logging off. That way, your apps/documents are still open when you wake it up, rather than having to relaunch apps and reopen documents. Recovery from sleep is much faster than from logging off.
    0  
    Dec 27, 2011, 03:02 PM
      #8
    rda2w
    macrumors newbie
    Join Date: Oct 2011
    Quote:
    Originally Posted by gswilder
    UncHeel...
    Thanks for posting the picture. It is same as my iMac problem. On my iMac, it happens 100% of the time. On my MBA, it happens randomly like yours.
    I began to notice if certain programs were running, when it went into screen saver and sleep mode, this didn't happen. And when I woke it up, I got a message that said "could not be logged off due to Firefox or Sketchbook Pro, etc. So that got me to thinking. So....
    Over the weekend, I disabled "logoff after xx minutes of activity" in system preferences. That seems to fix the issue. I still have it set to require a password after the screen saver/sleep mode kicks it. But I disabled the logoff toggle.
    Still not sure what this is an issue, but seems to be a work around. I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    Any thoughts based on this new information?
    Thanks again
    Greg
    I have had the same problem on my mid-2010 iMac since upgrading to Lion and it's been driving me nuts. The relation to automatic Logoff makes sense to me now that I look at my settings. The logoff was occurring after sleep and it's the only thing I haven't tried yet. I had previously thought it was related to Sleep but it never occurs if I force it to sleep. It only occurs after the system was left unattended and went through it's normal steps of screensaver then sleep. I'll try disabling the automatic Logoff and see if it fixes the problem for me too.
    -BA
    0  
    Dec 29, 2011, 10:58 AM
      #9
    rda2w
    macrumors newbie
    Join Date: Oct 2011
    Quote:
    Originally Posted by rda2w
    I have had the same problem on my mid-2010 iMac since upgrading to Lion and it's been driving me nuts. The relation to automatic Logoff makes sense to me now that I look at my settings. The logoff was occurring after sleep and it's the only thing I haven't tried yet. I had previously thought it was related to Sleep but it never occurs if I force it to sleep. It only occurs after the system was left unattended and went through it's normal steps of screensaver then sleep. I'll try disabling the automatic Logoff and see if it fixes the problem for me too.
    -BA
    I can only declare partial success with unpicking "logoff after xx". It solved the pixelated screen issue but now the computer is not sleeping. I guess I'll have to uncheck file sharing now.
    -BA
    0  
    Feb 6, 2012, 06:26 PM
      #10
    ougrad1764
    macrumors newbie
    Join Date: Apr 2010
    Any updates?
    Just wanted to see if there had been any changes since the last posting in this thread. I'm experiencing the same issue as OP on my 2011 13" MacBook Air w/ OS X 10.7.3, as well as on my parents' mid-2010 iMac (running OS X 10.7.2).
    I can't seem to pin down the cause and have tried the steps suggested previously. Thanks!
    0  
    Feb 21, 2012, 10:03 PM
      #11
    wchp
    macrumors newbie
    Join Date: Feb 2012
    Still having the same issue here as well.
    Have any of you tried a clean install of OSX?
    Before I try a full reinstall I did an install on a external drive with no aps, just the bare install and I could not replicate the issue.
    I continue to question if this is a graphics card firmware issue or and OS issue.
    A reinstall (overlay) of the OS did not resolve the issue.
    I have screen shots as follows:
    1) Paint pixels on screen
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo1. jpg
    2) Click Icon
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo2. jpg
    3) Type in PWD
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo3. jpg
    4) Logged in:
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo4. jpg
    Last edited by grapes911; Feb 21, 2012 at 10:12 PM. Reason: replaced img with timg
    0  
    Yesterday, 12:21 AM
      #12
    jrobin
    macrumors newbie
    Join Date: Feb 2012
    Having the same issue
    I have four MacBooks and a MacBook Air. I am seeing this issue on two MacBooks both running Lion 10.7.3. One is a newer i5 MacBook the other is an early 2010. The only common denominator I can think of is they are both set up with Parental Controls and they are set to logoff after X amount of time. The other MacBooks don't have this "pixel painting to revel the login screen issue" I also don't see it on our iMacs or the MacMini. Only the two with the issue are set to auto logoff. So the above poster is most likely on to something. I will give it a try by turning off the auto logoff on the two MacBooks in question. If that solves the problem then I will assume its a bug that needs to be addressed.
    0  
    Yesterday, 12:30 AM
      #13
    ougrad1764
    macrumors newbie
    Join Date: Apr 2010
    reinstall (overlay) of the OS did not resolve the issue
    wchp - Thank you for following up and posting the screenshots. They match exactly what I was experiencing (and what UNCHeelYeah reported previously). I can confirm that I experienced the issue even following a clean reinstall of Snow Leopard on my MacBook Air (13-inch, Mid 2011).
    jrobin - "I will give it a try by turning off the auto logoff on the two MacBooks in question. If that solves the problem then I will assume its a bug that needs to be addressed."
    Good thinking! Thanks for taking the time to test with your machines. This will help provide further validation of what gswilder (OP) tried as well in reply #6. Interesting about Parental Controls, too.
    Side note:
    Since I recently joined the Apple Developers program, I did a clean install of SL on my MBA then upgraded via the App Store to Mountain Lion to "kick-the-tires" if you will. Interestingly, I've not yet experienced any issue related to waking from sleep with a black screen and pixilation, even while running all the same apps I had previously. I'll report here (and file a bug report with Apple) if I do see this issue pop-up in ML. I'll be reinstalling SL in a few weeks and will report back if/when the black screen and pixelation issue reappears. I'll be sure to note the applications left running at the time the computer went to sleep.
    Last edited by ougrad1764; Yesterday at 12:44 AM. Reason: Follow-up to jrobin (reply came in while I was typing mine)
    0  
    Yesterday, 09:04 AM
      #14
    evillanueva
    macrumors newbie
    Join Date: Feb 2012
    I have experienced the same issue with my brand new MBA Late 2011.
    I recently found out that this only happens when DISPLAY is set to go to sleep minutes before the "Log out after X minutes of inactivity". I had "Display sleep" option set to 5 minutes and "Log out after 10 minutes of inactivity" and this causes the display to go to sleep first (screen goes black) and then, 5 minutes later, it logs out.
    If "Display sleep" is off and "Log out after X minutes of inactivity" is on, the issue does not replicate. So Im thinking it has something to do with the screen being black at the moment it logs out. Can you try and replicate that?
    Thanks
    0  
    Yesterday, 01:39 PM
      #15
    wchp
    macrumors newbie
    Join Date: Feb 2012
    Quote:
    Originally Posted by evillanueva
    I have experienced the same issue with my brand new MBA Late 2011.
    I recently found out that this only happens when DISPLAY is set to go to sleep minutes before the "Log out after X minutes of inactivity". I had "Display sleep" option set to 5 minutes and "Log out after 10 minutes of inactivity" and this causes the display to go to sleep first (screen goes black) and then, 5 minutes later, it logs out.
    If "Display sleep" is off and "Log out after X minutes of inactivity" is on, the issue does not replicate. So Im thinking it has something to do with the screen being black at the moment it logs out. Can you try and replicate that?
    Thanks
    Just tested this premise and yes, you are correct.
    IF: Screen saver ON after 5m AND require password immediately AND Sleep (Display) after 30m AND Logout after 60m I am able to reproduce the problem.
    IF: Screen Saver ON after 5m AND require password immediately AND Sleep (Display) after 30m AND Logut after xx NOT enabled, problem goes away
    IF: Screen Saver ON after 5m AND require password immediately AND Sleep (Display) OFF AND Logut after 60M enabled, problem goes away
    So on my machine (iMac 27, 3.4/i7, 16GB/1333, Radeon 6970m/2048MB, OSX 10.7.3
    It would appear that if I am running Monitor Sleep and it kicks in prior to LogOff then I am able to reproduce this artifact. Only Display sleep with immediate login OR Loguot should be used but not both.
    The only other thing to test is is I leave display sleep on, and screen saver on but with NO immediate password and enable logoff if the problem goes away.
    Testing for another day.
    I have linked this entire thread to a Apple support ticket and will report back on Apples response

    Thank you so much wchp, this is brilliant. I have had this annoying problem for a long time. I eventually rang Mac support, they did not know how to fix the problem as you have suggested so they instigated many hardware replacements which eventually left my iMac severely crippled. They eventually replaced it with the latest model. But I spent two months working with a disabled computer which really interfere with my work.
    Your solution appears to have solved my problem, at least so far, but I am hopeful that it is a permanent fix. I hope that your suggestions are taken up by Apple support. This may solve many users problems and avoid Apple making expensive fixes that don't actually work.
    I thought that the new iMac would not have the 'Wake up from sleep by painting in the login window' problem but it did, this really annoyed me. Anyway now the problem appears to be solved, it's not I will repost and keep working on it. Thanks again.

  • Basic auth in proxy server breaks managed server form auth

    Hi,
    I have a proxy server configured in front of 2 managed servers.
    The managed servers have secure pages and are using form auth and the
    proxy server is working properly. In other words, I point my browser
    at the proxy and I end up being services by one of the managed servers.
    If I attempt to access a secure page via the proxy I am sent to the form
    login page via the proxy.
    Now for the problem:
    If I configure the proxy server to use basic auth, and secure all
    pages in the proxy, I must provide my userid/password to the proxy
    server (this is working fine) before I can get to one of the managed
    servers. I can get to the welcome page of the managed server (which is
    not secure) There is a link to a secure page on the welcome page. When
    I click on the link to the secure page, I am sent to the form auth by
    the managed server. I authenticate, but I can never see the secure
    page. I end up being redirected to the form login page endlessly.
    Both the proxy server and the managed server are usign the default
    JSESSIONID.
    Here is a section of the web.xml for the proxy server:
    <servlet>
    <servlet-name>HttpClusterServlet</servlet-name>
    <servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class>
    <init-param>
    <param-name>WebLogicCluster</param-name>
    <param-value>${ProxyConfig}</param-value>
    </init-param>
    <init-param>
    <param-name>SecureProxy</param-name>
    <param-value>ON</param-value>
    </init-param>
    <init-param>
    <param-name>Debug</param-name>
    <param-value>ON</param-value>
    </init-param>
    <init-param>
    <param-name>DebugConfigInfo</param-name>
    <param-value>ON</param-value>
    </init-param>
    <init-param>
    <param-name>CookieName</param-name>
    <param-value>JSESSIONID</param-value>
    </init-param>
    <init-param>
    <param-name>CookieName</param-name>
    <param-value>wlauthcookie_</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>gcmgui/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>applauncher/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>ssoadmin/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>default/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>domainadmin/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>gsc/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>psr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>broadcastclient/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>nra/*</url-pattern>
    </servlet-mapping>
    Here is the proxy debug:
    <Fri Jul 11 14:40:07 EDT 2003>: ===New Request===GET
    /applauncher/jsp/AppLaunche
    r.jsp HTTP/1.1
    <Fri Jul 11 14:40:07 EDT 2003>: Found cookie: Sf4VoFtpQwG]dTNEh9Yq
    <Fri Jul 11 14:40:07 EDT 2003>: #### Trying to connect with server
    -213061352!10
    .68.10.87!1080!10443
    <Fri Jul 11 14:40:07 EDT 2003>: Remove idle for '30' secs:
    ProxyConnection(isSec
    ureProxy=true): 10.68.10.87:10443, keep-alive='30'secs
    <Fri Jul 11 14:40:07 EDT 2003>: Create connection:
    ProxyConnection(isSecureProxy
    =true): 10.68.10.87:10443, keep-alive='30'secs
    <Fri Jul 11 14:40:07 EDT 2003>: In-bound headers:
    <Fri Jul 11 14:40:07 EDT 2003>: Accept: image/gif, image/x-xbitmap,
    image/jpeg,
    image/pjpeg, application/vnd.ms-excel, application/msword,
    application/vnd.ms-po
    werpoint, */*
    <Fri Jul 11 14:40:07 EDT 2003>: Accept-Language: en-us
    <Fri Jul 11 14:40:07 EDT 2003>: Accept-Encoding: gzip, deflate
    <Fri Jul 11 14:40:07 EDT 2003>: User-Agent: Mozilla/4.0 (compatible;
    MSIE 6.0; W
    indows NT 4.0; H010818)
    <Fri Jul 11 14:40:07 EDT 2003>: Host: localhost:18002
    <Fri Jul 11 14:40:07 EDT 2003>: Connection: Keep-Alive
    <Fri Jul 11 14:40:07 EDT 2003>: Cookie:
    JSESSIONID=1PEosMJQ9ZJrewjj1t5nZfNtYe1e5
    pWYbjyBGvZ1ExEY8YoueKTG!-213061352!NONE;
    wlauthcookie_=Sf4VoFtpQwG]dTNEh9Yq
    <Fri Jul 11 14:40:07 EDT 2003>: Authorization: Basic
    cmFwcGVsYmE6b3V0Mmx1bmNo
    <Fri Jul 11 14:40:07 EDT 2003>: HTTP/1.1 302 Moved Temporarily
    <Fri Jul 11 14:40:07 EDT 2003>: Out-bound headers:
    <Fri Jul 11 14:40:07 EDT 2003>: Date: Fri, 11 Jul 2003 18:40:07 GMT
    <Fri Jul 11 14:40:07 EDT 2003>: Location:
    https://localhost:18002/applauncher/un
    restricted/jsp/FormLogin.jsp
    <Fri Jul 11 14:40:07 EDT 2003>: Server: WebLogic WebLogic Server 8.1
    Thu Mar 20
    23:06:05 PST 2003 246620
    <Fri Jul 11 14:40:07 EDT 2003>: Transfer-Encoding: Chunked
    <Fri Jul 11 14:40:07 EDT 2003>: ===New Request===GET
    /applauncher/unrestricted/j
    sp/FormLogin.jsp HTTP/1.1
    <Fri Jul 11 14:40:07 EDT 2003>: Found cookie: UZ]OrXsBP6uEEa[0veSz
    <Fri Jul 11 14:40:07 EDT 2003>: Request successfully processed
    <Fri Jul 11 14:40:07 EDT 2003>: #### Trying to connect with server
    -213061352!10
    .68.10.87!1080!10443
    <Fri Jul 11 14:40:07 EDT 2003>: Requeue connection:
    ProxyConnection(isSecureProx
    y=true): 10.68.10.87:10443, keep-alive='30'secs
    <Fri Jul 11 14:40:07 EDT 2003>: Recycle connection:
    ProxyConnection(isSecureProx
    y=true): 10.68.10.87:10443, keep-alive='30'secs
    <Fri Jul 11 14:40:07 EDT 2003>: Request successfully processed
    <Fri Jul 11 14:40:07 EDT 2003>: In-bound headers:
    <Fri Jul 11 14:40:07 EDT 2003>: Accept: image/gif, image/x-xbitmap,
    image/jpeg,
    image/pjpeg, application/vnd.ms-excel, application/msword,
    application/vnd.ms-po
    werpoint, */*
    <Fri Jul 11 14:40:07 EDT 2003>: Accept-Language: en-us
    <Fri Jul 11 14:40:07 EDT 2003>: Accept-Encoding: gzip, deflate
    <Fri Jul 11 14:40:07 EDT 2003>: User-Agent: Mozilla/4.0 (compatible;
    MSIE 6.0; W
    indows NT 4.0; H010818)
    <Fri Jul 11 14:40:08 EDT 2003>: Host: localhost:18002
    <Fri Jul 11 14:40:08 EDT 2003>: Connection: Keep-Alive
    <Fri Jul 11 14:40:08 EDT 2003>: Authorization: Basic
    cmFwcGVsYmE6b3V0Mmx1bmNo
    <Fri Jul 11 14:40:08 EDT 2003>: Cookie:
    JSESSIONID=1PEHvo1gQIbwOMuVsU9pJnnvlGBSP
    74ZUcSHwazE7domCL8UlVA2!-937872307; wlauthcookie_=UZ]OrXsBP6uEEa[0veSz
    <Fri Jul 11 14:40:08 EDT 2003>: HTTP/1.1 200 OK
    <Fri Jul 11 14:40:08 EDT 2003>: Out-bound headers:
    <Fri Jul 11 14:40:08 EDT 2003>: Date: Fri, 11 Jul 2003 18:40:08 GMT
    <Fri Jul 11 14:40:08 EDT 2003>: Server: WebLogic WebLogic Server 8.1
    Thu Mar 20
    23:06:05 PST 2003 246620
    <Fri Jul 11 14:40:08 EDT 2003>: Content-Length: 4238
    <Fri Jul 11 14:40:08 EDT 2003>: Set-Cookie:
    JSESSIONID=1PEIxJ21oT5H3Z2ilQjPqpq1V
    kdOhEnNbbz9wviTtTTZj6IBp29b!-213061352!NONE; path=/
    <Fri Jul 11 14:40:08 EDT 2003>: Request successfully processed
    <Fri Jul 11 14:40:08 EDT 2003>: Requeue connection:
    ProxyConnection(isSecureProx
    y=true): 10.68.10.87:10443, keep-alive='30'secs
    <Fri Jul 11 14:40:08 EDT 2003>: Request successfully processed
    <Fri Jul 11 14:40:44 EDT 2003>: Trigger remove idle for '35' secs:
    ProxyConnecti
    on(isSecureProxy=true): 10.68.10.87:10443, keep-alive='30'secs
    Thanks,
    Rob

    I typically have used Apache Commons HttpClient for anything but trivial URL connections, and especially when combining both basic auth and proxy auth. When you use it, be aware of the "preemptive authentication" flag. One server I worked with didn't send the correct parameters back on particular requests, so I had to turn on this flag to get it to work.

  • How to auto collect form responses and get an email notification?

    Is there a way to auto collect form responses AND get an email notification? Currently I have my form set up to auto save and collect the responses and its working well but I cannot figure out how to add an email notification as well so we know when to check for new submissions.

    [discussion moved to FormsCentral forum]

  • Form Auth with HttpClient 4.01 and JAVASSO Partnering Application

    I am using Apache Commons HttpClient 4.01 and tyring to perform a form authentication against a web application that is a OC4J 10.1.3 instance using JavaSSO Partnering Application. The stock Login provided by 10.1.3 has 'j_security_check', 'j_username' and 'j_password' form fields.
    I am doing a post against the SSOLogin page - (Sample) http://my.localhost.com/jsso/SSOLogin:
    <form action="j_security_check" name="loginForm" method="post">
    <input class="inputBox" type="text" id="username" name="j_username" maxlength="64" tabindex="1"/>
    <input class="inputBox" type="password" id="password" name="j_password" maxlength="64" tabindex="2"/>
    <input class="submit" type="submit" name="submit" value="Login" tabindex="3"/>
    </form>
    Here's the code I'm using to post:
    DefaultHttpClient httpclient = new DefaultHttpClient();
    HttpGet httpget = new HttpGet("http://my.localhost.com/jsso/SSOLogin");
    HttpResponse response = httpclient.execute(httpget);
    HttpEntity entity = response.getEntity();
    EntityUtils.consume(entity);
    List<Cookie> cookies = httpclient.getCookieStore().getCookies();
    HttpPost httpost = new HttpPost("http://my.localhost.com/jsso/SSOLogin");
    List<NameValuePair> formParams = new ArrayList<NameValuePair>();
    formParams.add(new BasicNameValuePair("j_username", "testuser"));
    formParams.add(new BasicNameValuePair("j_password", "testpassword123"));
    UrlEncodedFormEntity urlCode = new UrlEncodedFormEntity(formParams, HTTP.UTF_8);
    httpost.setEntity(urlCode);
    response = httpclient.execute(httpost);
    entity = response.getEntity();
    For whatever reason the page does execute the action tied to 'j_security_check'. I've tried the same code against other sites that use form authentication and it works OK. Is there anything concerning OC4J 10.1.3 and JAVASSO Partnering Application I'm overlooking?
    Any insight would be appreciated.

    The JavaSSO login is using standard form based login. This means that the client has to be session aware. When the login page (http://my.site.com/jsso/SSOLogin) is accessed, cookie will be set. Ensure that the cookie is set back on the next request sent to the server. The username and password credentials should be posted to http://my.site.com/jsso/j_security_check and not to the URLs you attempted.

  • Put some data form the databse of SQL Server into SAP and auto general PR?

    Dear all,
            Can you tell me how I can put some data from the databse of SQL Server into SAP and auto general PR?
    Best regards,
    Merryzhang
    Edited by: merry zhang on Feb 4, 2009 9:10 AM

    Hi Zhang,
    If i have understood your question properly, I guess you wanted to create Purchase Requistion automatically right?
    Then you have lots of option simpilest one would be create a couple of Z table with all the fields that you require for header and Item.
    create a Program and use BAPI function module to create the PR by reading the values from those Z tables. after creation delete the contents from the table. Schedule this program in Background periodically like everyday or weekly once however you would like it to be. So once the table has contents in it and when the program runs it will create the PR's (Purchase Requisition).
    You can also use a workflow with the Z table. Once the Z table is filled you can trigger a workflow based on the Table change. I'm not sure like how to do it but I nkow that this process can also be used.
    Hope this might have thrown some light upon.
    Thanks,
    Prashanth

  • FORM AUTH:  JDBCRealms  WILL NOT WORK     HELP ! ! !

    hello,
    i have followed the tomcat JDBCRealms setup.....but it never allows me through to secure page it always redirects to loginerror....when using valid user/pass pair !!!!!!!!!!!!!!!!
    i am a student and this is part of a reasearch project to compare .NET with J2EE.........
    HELP
    my project details are below
    . loginForm.html <<<<<<<<<<<<<<<<<<<<<<<<?xml version="1.0"?>
    <!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>
    <title>Login Test: Login Form</title>
    </head>
    <h1>Login Form</h1>
         Welcome to the login page. You will have to authenticate to get access to the secure area:
    <form method="POST" action="j_security_check">
    Username: <input type="text" name="j_username">
    Password: <input type="password" name="j_password">
    <input type="submit" value="Login">
    <input type="reset" value="Reset">
    </form>
    </html>
    web.xml <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>SecurePages</web-resource-name>
    <description>Security constraint for resources in the secure directory</description>
    <url-pattern>/secure/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>tomcatRole</role-name>
    </auth-constraint>
    <user-data-constraint>
    <description>SSL not required</description>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/LoginForm.html</form-login-page>
    <form-error-page>/LoginError.html</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>tomcatRole</role-name>
    </security-role>
    </web-app>
    extract from server.xml (in tomcat 3.2.2/conf dir) <<<<<<<<<<<<<<<<<<<!--
    UnComment the following and comment out the
              <RequestInterceptor className="org.apache.tomcat.request.SimpleRealm" debug="0" />
    -->
    <RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@MADDZILLA:1521:Store" connectionName="SYSTEM" connectionPassword="manager" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" />
    server.xml <<<<<<<<<<<<<<<<<<<<<<altered part...
    <!-- commented out memoryrealm request
    <RequestInterceptor className="org.apache.tomcat.request.SimpleRealm" debug="0" />     
    -->
    added jdbcrealm request
    <RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@MADDZILLA:1521:Store" connectionName="SYSTEM" connectionPassword="manager" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" />
    . tables created for tomcat security example <<<<<<<<<<<<<<<<create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    INSERT INTO users (user_name, user_pass) VALUES (tomcat,tomcat);
    INSERT INTO users (user_name, user_pass) VALUES (user1,tomcat);
    INSERT INTO users (user_name, user_pass) VALUES (user2,tomcat);
    INSERT INTO users (user_name, user_pass) VALUES (user3,tomcat);
    INSERT INTO roles (role_name) VALUES (tomcatRole);
    INSERT INTO roles (role_name) VALUES (otherRole);
    INSERT INTO user_roles (role_name, user_name) VALUES (tomcatRole,user1);
    INSERT INTO user_roles (role_name, user_name) VALUES (otherRole,user2);
    INSERT INTO user_roles (role_name, user_name) VALUES (otherRole,tomcat);
    INSERT INTO user_roles (role_name, user_name) VALUES (tomcatRole,tomcat);

    I've tried jdbc realm, and it works fine for me. I'm not using the form_auth, rather it pops-up a network login dialog for me. If you need details, get in touch on [email protected]

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • Auto-populate of SHELL_shellName_shell Upper form DE only functions in one single-instance project shell.  The DE in the BP Upper Form needs to auto-populate in two separate single-instance shells.  How can I get this DE to autopopulate in both?

      The Unifier environment
    contains two single-instance project shells, INF and PBS, and two multiple-instance child project shells, INFS and
    PB.    There is a single instance, non-workflow
    business process, ‘Project Information’ that contains a data element in the
    upper form definition, Project ID.  The Project ID is set to auto-populate from the multi-instance “INFS”
    project shell attribute, which is populated manually. 
    Issue:  The auto-populate functionality for the
    Project ID ‘Shell_shellName_shell’ data element within the single-instance
    Project Information BP only functions within one of the shells, either
    INFS or PB, but not both.  The INF and INFS shells are currently deployed
    to production, PB and PBS shell are not.
    It is critical that Project ID ‘Shell_shellname_shell’ data element is populated correctly in the
    Project Information upper form of both shells, INFS and PB,
    because that data element is referenced by multiple business processes and
    integrations. 
    The attribute form definitions for both single and multiple instance project shells are identical.  The Project ID utilizes the same data
    element ‘SHELL_shellName_shell’ as is defined in both shell attribute forms
    (INFS and PB). 
    The data definition source is a Unifier system-level variable, SYS Shell
    Name (String, 128, Text Box)
    Potential Solutions:
    1. Create a Project ID DE of another data type which can
    be successfully auto-populated from either shell.  Drawback: all BPs and integrations which
    reference Shell_Shellname_shell will need to be rewritten.
    2. Investigate converting the Project Information single-instance
    to a  multi-instance BP, and create a
    separate instance for each single-instance shell type.  Same Drawback as Option #1, but with additional
    rework.  Most likely Project Information
    would have to be recreated as a new BP.
    Not sure that this option would even work.
    3. Create a separate Project Information BP for PB.  Drawback:  Two separate BPs for Project Information would
    need to be created.  All existing BPs
    refer to Project Information, so this option could potentially invalidate the
    ability to use the existing BPs in the PB shell.

    Was it really necessary to post the whole API description?!?
    Locale[] locales = Locale.ENGLISH();ENGLISH is not a method in class Locale, so do not add the braces "( );".
    Also, the constant ENGLISH is not an array, but just a single Locale object.
    You didn't say what your problem was. What do you want to achieve with your program and what is it that you don't understand?

  • How to identify listeners types for forms, items and events in addon wizard

    Dear users,
    I have developed a sample addon through B1DE wizards and successfully installed and connected the addon and can view menu and form of my addon. Since i am new to this, i didn't add any listeners to my form, items and events because i don't know what type of listeners to add and what coding to add after adding listeners.
    If anyone describe me how to work with listeners, i would be glad. My form has basic fields like BPcode, BPname, Docnum, Itemcode, Item name, quanity, price, total etc. Uptil now my addon form has no function of getting list of BP and Items and calculating the totals based on price and quantity but it has some basic functions like add, update,del, add print view, next record previous, record next etc. which are due to object registration and auto-code generation wizards i think.
    Please help me in adding listeners and their relevant coding.
    Thanks in advance.

    Thanks for reply, Actually I am asking about listeners in the wizard of B1DE, code generator wizard. I think you are telling me about adding listeners directly in the vb.net. Kindly, tell me first, what event type I should add for item, form etc while adding listeners during  the wizard. Or If you know some link where event types of listeners are decribed, you are more than welcome.
    Thanks,
    Farhan

  • Errors:Installing Oracle Portal, Forms, Reports and Discoverer on Win7

    Someone can help me?
    I installed Oracle Portal, Forms, Reports and Discoverer on Win7.
    I have install:
    jdk 64bit
    Oracle db 11g (64bit)
    Oracle Weblogic 1033 (wls1033_generic.jar)
    Oracle Portal, Forms, Reports and Discoverer (ofm_pfrd_win_11.1.1.2.0_64/ofm_pfrd_win_11.1.1.3.0_64)
    Configure Components Screen:I just choose the Oracle Forms/reports Oracle Forms/reports builder Enterprise Manager Oracle Web Cache .
    Configure Ports Screen:Auto Port Configuration.
    Specify Proxy Details Screen:No
    Specify Application OID Screen:NO
    But when I configure the "Configuring the Classic Instance" under the "Oracle Classic 11g-Home1". It's always pending in "Creating the domain". No any Error information.
    the related log information:
    Creating a new AdminServer Object ...
    AdminServer port is 7001
    Starting the domain ...
    LOADING DLL : C:\Oracle\Middleware\as_2\install\config\\StartUtil64.dll

    Since your weblogic is on version 10.3.3, you can only succesfully configure your fusion middleware when you are on version 11.1.1.3.
    So (1) restart the install of fusion middleware 11.1.1.2, (2) choose install type INSTALL ONLY, (3) start installation of fusion middleware 11.1.1.3 and finally (4) configure fusion middleware using AS_ORACLE_HOME\bin\config.bat

  • Acrobat Forms Cache and Emailing

    I have a technical question regarding using the Auto-Complete function on Acrobat.  I fill in mutiple forms with mutilple pages prior to emailing them to clients.  The information being filled in is personal information and should not be accessed by anyone other than the recepient.  Having the Auto-Complete function turned on would really shorten the time spent filling in the data.  However, given that I email the PDF file to the client I have to ensure that they cannot see anyone elses personal data when they open the PFD to finish the form.  When sending a form in which Auto-Complete is used, does any other infromation from the "Cache" go with the PDF or does it all reside on the in the "Cache" on the "C" drive?

    >1. I noticed that it seems the form will save in Acrobat Reader 8 and not the Reader version 9. Why might this be?
    A problem with the system that the IRS is using. They need to update to get it to work.
    >2. Can a developer of software freely "redistribute" those forms in a software package? In other words, an end user can download the PDF fillable forms (such as Form 1040 or perhaps a state form, etc) but can a software developer then download those forms and then redistribute them in their own software program?
    That's between the owner of the forms and the developer.
    >3. What is this 500 limit all about? Is it that a form can only be "filled out" in the Acrobat Reader 500 times? Or does the 500 apply to something else?
    You got the first one correct BUT, that only applies to forms created with Acrobat Pro using the newly available enabling features. The IRS for instance, uses LiveCycle Extensions for Reader which uses a server side solution for enabling forms. If you can stay under the 500 limit, you can simply enable the forms using Acrobat Pro.
    >4. Where on Adobe's web site can I find this information in their licensing agreements?
    You'd probably want to give customer service a call. It would be located in the two different product's EULA's which I've never seen on the site (not that they aren't there. I've just never found them.)

  • How do i create an adobe form that has auto numbering?

    Our purchasing department requires a Purchase Requisition that contains it's own unique number so the requisition can be associated with the Purchase Order.  Can this type of form be created using Adobe Acrobat?

    I need to create the form below and have the requisition number field auto populate and never generate a duplicate.

Maybe you are looking for

  • Removing Keywords

    This is really starting to bug me!!! I have done a search on this forum about how to remove keywords from more than one image and it sort of works for me... Problem is when I select all the images (Edit - Select All) and then delete the keyword it st

  • Blade 1500 and No DIsks Found

    System failed to reboot after installing some patches. Now trying to re-install Solaris 10 form CDROM I get 'No Disks Found' so perhaps controller failure? Any tools to diagnose?

  • FGEN error -107411589​6

    Can anyone please explain the error listed below? I'm using the PXI-5761 and the NI streaming API to stream float 32 IQ files. I've added code to the API to modulate the data while streaming. My options are no modulation, AM, or FM. I can stream the

  • Voice command in Cisco Unity Connection

            I'm currently using Unity Connection 8.5.1 with Cisco Unified CallManager version  7.1.5.  I'm trying to see where I can make sure our Class of Service is correct for the Unity Connection voice command and am unable to find anything. Can anyo

  • OfficeJet Pro 8500A Plus keeps disconnecting from computer

    I have had this printer for about 4 years, the same length of time I have had my hp pavillion laptop computer.  I have been printing wirelessly with no problems until 2 days ago when I began to be unable to print from my PC.  I would print a document