On Wed, Nov 5, 2014 at 6:16 PM, Ji Zhang <jzh...@tradeinformatics.com> wrote:
> 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?

AppServerTrustedAuthServiceImpl will create a user as soon as its
accessing XWiki so yes it's automatically registered but no you won't
see all users, only those that conected to XWiki.

>
> Thx again.
>
> Ji
>
> -----Original Message-----
> From: users [mailto:users-boun...@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 <jzh...@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-boun...@xwiki.org] On Behalf Of Clemens
>> Klein-Robbenhaar
>> Sent: Monday, November 03, 2014 11:42 AM
>> To: users@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@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to