[opencms-dev] OpenCMS loginUser does help

Olli Aro olli_aro at yahoo.co.uk
Wed Nov 27 19:25:04 CET 2002


Hi Nico,

Just an idea (so don't shoot me, if this does not help:) ), but would it
help if you would create a session with; HttpSession
session=((HttpServletRequest)cms.getRequestContext().getRequest().getOrigina
lRequest()).getSession(true);

after using cms.loginUser()?

Olli
  -----Original Message-----
  From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]On Behalf Of Nico Krause
  Sent: 27 November 2002 15:44
  To: opencms-dev at opencms.com
  Subject: [opencms-dev] OpenCMS loginUser does help


  Hello all,



  I login a user with cms.loginuser(username,password) the login works. I
can check the logged inUsers with OpenCMS API.

  But If I want to enter a protected area - a HTTP-AUTH pops up. So the user
have authenticate a second time.

  The area where the login form - there is no authentication required.



  What can I do - for also setting the HTTP-AUTH at the same time? Or
disabling the HTTP-AUTH for this user session - after login

  with cms.loginuser ?



  Where is the difference? If somebody could help me - this would make me
really happy!



  Thank you in advance - if possible....

  Nico











  ____________________________________

  Nico Krause

  NorthStar Communications GmbH

  Wallbergstr. 20-22     85221 Dachau

  Telefon: +49 (0) 81 31 / 9 96 87 - 53

  Fax:      +49 (0) 81 31 / 9 96 87 - 29

  Mobil:    +49 (0) 1 71 / 3 70 10 70






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021127/30f8c3b0/attachment.htm>


More information about the opencms-dev mailing list