[Yanel-usage] Problems with adding a new realm
Andreas Wuest
awuest at student.ethz.ch
Mon Jan 8 17:10:30 CET 2007
Hi
On 8.1.2007 9:28 Uhr, Josias Thöny wrote:
> On Fri, 2007-01-05 at 21:32 +0100, Andreas Wuest wrote:
>> Hi
>>
>> I wanted to create a local test realm to toy around with Yulup.
>>
>> I've added a new realm, as described in
>> http://127.0.0.1:8080/yanel/yanel-website/en/documentation/how-to-add-a-new-realm.html.
>>
>> I've copied the file conf/realms.conf to conf/local/local.realms.conf,
>> and added a new entry at the bottom of the file:
>>
>> <realm id="blog" mount-point="/blog/">
>> <name>Andreas Wuest's Blog</name>
>> <config
>> src="/Users/awuest/Documents/devel/src/blog/yanel/config/yanel-realm-config.xml"/>
>> </realm>
>>
>> Then did a ./build.sh clean, ./build.sh, and ./yanel.sh start.
>>
>> My new realm indeed shows up on http://127.0.0.1:8080/yanel/ in the
>> "Registered Realms" section.
>>
>> Interestingly enough, this link points to
>> http://127.0.0.1:8080/yanel/blog/ (I thought it might point to
>> http://127.0.0.1:8080/blog/, but whatever).
>
> /yanel is just the servlet context path.
> Since there is only one yanel servlet which controls all realms, the
> context path is there for all realms.
> You could get rid of it by deploying yanel in the root context of your
> servlet container.
Thanks for the clarification! :)
--
Kind regards,
Andi
More information about the Yanel-usage
mailing list