Thomas,
1) The logging level is set to be trace for all by default, but I don't see where
anything regarding authentication in any of the log file in TOMCAT/logs directory (
catalina.out is the stdout log )
2) If I do the following:
-- logout from xwiki from browser
-- Keep log out
-- put URL
http://techdev1:9090/XWiki/bin/view/XYZ/ into browser <== this is protected
by realm
-- return
-- immediately getting 403
Question: why I am not getting log-in prompt?
Thanks,
Ji
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ji Zhang
Sent: Wednesday, November 05, 2014 12:17 PM
To: XWiki Users
Subject: Re: [xwiki-users] Question regarding AppServerTrustedAuthServiceImpl
Hi Thomas,
Thanks for your help.
Are you saying that the Tomcat JDBC realm users will be automatically becoming registered
xwiki users if AppServerTrustedAuthServiceImpl is turned on. Should we see all the users
in realm in the xwiki user list if AppServerTrustedAuthServiceImpl is configured
correctly?
Thx again.
Ji
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Tuesday, November 04, 2014 2:56 AM
To: XWiki Users
Subject: Re: [xwiki-users] Question regarding AppServerTrustedAuthServiceImpl
To know if you are authenticated from XWiki point of view look at the top right corner,
you should see you name or id there (so probably jsmith here). If you are not
authenticated then you should have a "login" button/link instead.
You can also enable debug log for this authenticator. Search for it in Administration
-> Logging and set log level to TRACE or DEBUG. When this is done you should see
details on what is happening in this authenticator in your application server log.
On Mon, Nov 3, 2014 at 7:10 PM, Ji Zhang <JZhang(a)tradeinformatics.com> wrote:
Thanks Clemens.
How do I test if this authentication works? For example, I have an user jsmith/password
in Tomcat JDBC realm. How do I assign the viewing privileges to jsmith?
Thanks again.
Ji
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Clemens
Klein-Robbenhaar
Sent: Monday, November 03, 2014 11:42 AM
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Question regarding
AppServerTrustedAuthServiceImpl
On 11/03/2014 05:15 PM, Ji Zhang wrote:
Guys,
I am new to Xwiki.
I have a xwiki deployed on tomcat 6. I need to use authentication against tomcat JDBC
realm. AppServerTrustedAuthServiceImpl seems to my option. Are there some detailed
documents or examples for using it?
yes: add a line do the xwiki.cfg in the WEB-INF folder, as explained here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HCo
ntainerAuthentication
That (and restarting tomcat) should be everything you need to do.
Cheers,
Clemens
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users