synyx GmbH & Co. KG Homepage Welcome Guest   | Login
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Register  | Search  | Help  | RSS feeds


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1921 times and has 3 replies Next Thread
Female chako
Stranger



Joined: Dec 25, 2003
Posts: 1
Status: Offline

Basic Authentication and OpenCMS?

hi,

want to protect a folder in my site so that only authenticated users can get to this pages...

What I did:
- Create a new folder "protected" and disabled all rights for "all users".
- Add a securtiy constraint into the opencms web-xml for the protected folder with a security role.
- in Opencms properties the auth.basic=true (so Basic authentication should be enabled).

What happens:
- When I try to load the protected index.jsp, I get a login screen. Thats ok.
- But I cannot get after the login screen, although the credentials are definitily ok... And the user is in the right group...

Question:
-Whats the Algorithm used to hash the user passwords in Opencms.
-How can I debug whats going wrong?
-Has someone a working example?

regards
Chako
[Dec 25, 2003 2:00:41 PM] Show Printable Version of Post        http://hermes.gotdns.org [Link] Report threatening or abusive post: please login first  Go to top 
Male Arrasz
Advanced Member
Member's Avatar


Joined: Mar 9, 2003
Posts: 1279
Status: Offline

Hi,


for debugging hints there is a thread in the tutorial section i think.
You have to start the VM with a port param ... then connect with your debugger to this port. With windows it`s also possible to debugvia shared memory. But i haven`t done this yet.

Hope this helps

Joachim Arrasz

Synyx oHG
----------------------------------------
--
/**
* Joachim Arrasz
* OpenSource Solutions
* Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe
* @phone +49(0)721 66 24 866
* @eMail arrasz@synyx.de
* @www http://www.synyx.de
*/
[Dec 28, 2003 4:18:16 PM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male Anonymous
Advanced Member



Joined: Oct 9, 2006
Posts: 332
Status: Offline

Did you get this to work?

I'm wondering if you had any success getting this to work
[Jan 1, 1990 12:01:00 AM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male Arrasz
Advanced Member
Member's Avatar


Joined: Mar 9, 2003
Posts: 1279
Status: Offline

Why,

this tutorial works fine under Linux and also under Windows. Not problem found till to now.

Bye Achim
----------------------------------------
--
/**
* Joachim Arrasz
* OpenSource Solutions
* Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe
* @phone +49(0)721 66 24 866
* @eMail arrasz@synyx.de
* @www http://www.synyx.de
*/
[Feb 25, 2004 9:14:46 AM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]