the authentication question

when i configure tamino x-application ,it gives an important imformation:The setup.cmd command script fails if you want to access Tamino XML Server via an HTTP server that is protected with BASIC authentication. To install Tamino X-Application properly, you need an HTTP server without authentication check. Also, you must not protect the collection ino:collection with authentication rights, because the installation process of Tamino XML Server X-Application inserts new schemas.

but in my pc, the HTTP server has been protected with BASIC authentication. how can i set an http server that without authentication check.also what can i do in oder to access the collection ino:collection without the authentication rights.

Because i should use useid and password(useid and password are used for win 2k) to access http://localhost:9991/smh/login.htm usually.


how can i disable the authentication of http server???

my environment where you installed X-Application is win 2k professional

tamino server, apache http server, x-application4.11 , tomcat4.1.18 altogether
install in my pc. i can stop and restart the server.

i use Apache HTTP Server Version 1.3 inwin 2k professional

regards!

Hello Lisa,

I have looked through all your postings, but I could not find the version of Tamino which you are using. I see that you are using X-Application 4.1.1, so I suppose that you are also using Tamino 4.1.1 - is that correct?

The reason that this is important to know is that Tamino 4.1.1 can support authentication itself, whereas earlier versions relied on web server authentication.

That said, I will assume that you know your environment and that authentication is [only] being done by the web server. There is probably a section similar to this in your Apache conf/httpd.conf file:

   <Location /tamino/test>
     AllowOverride AuthConfig
     AuthName "Tamino"
     AuthType Basic
     AuthUserFile "bin/userids"
     require valid-user
   </Location>


This is what I was using with Apache 1.3 and the Tamino WebDAV Server (running on Tomcat), so your entries will probably be a bit different.

If you find a section like this in the httpd.conf file, I would try commenting it out. It isn’t easy to tell you exactly what you need to do though, as I don’t know exactly what has been done to enable authentication.
There is a good “howto” on this for Apache 1.3:
   Authentication, Authorization and Access Control

Once a user has been authenticated, Tamino Security will check if they are authorized to access the resource(s) being requested.
The permissions can be modified in the System Management Hub. Expand the following tree path in the upper left-hand pane:
   Hosts → → Tamino → Databases → → Security Manager

You should see the Users, User Groups and Access Control Lists. What you should do next depends upon your overall goal.
If you want to remove all the security constraints from the database, delete all the Users, Groups and ACLs.
If you just want to modify the Access Control on ino:collection, find the Access Control List which defines the access for ino:collection and modify it to meet your needs.

For full details, please see the following chapter in the documentation:
   …\Software AG\Tamino\Tamino 4.1.1.1\Documentation\manager\security.htm

I hope that helps,
Trevor.

hello Trevor Ford,
I am sorry to tell you that i use the XML Starter Kit for Tamino XML Server 3.1.1

And the section in my apache conf/httpd.conf file is :
<Location /tamino>
SetHandler ino



But i didn’t create any users,user Groups or Access Control Lists.
And in my tamino there is just only one user as administrator that is default administrator ( my win 2k administrator) .

Usually i should use useid and password(useid and password are used for win 2k) to access tamino to manage my database.

I also posted the same question in configure Tamino X-Application question,there are more detail information about this question, please see that ,thanks.

At last ,I think that maybe my tamino 3.1.1.4 don’t support the x-application4.11 ,doesn’t it?

hello Trevor Ford,
i want to ask if the tamino 3.1.1.4 doesn’t support the x-appliation 4.1.1?
If i want to use the x-application ,i should uninstall the tamino 3.1.1.4 and install the tamino 4.1.1?
but i can’t get the tamino 4.1 test version, which it will be available for download in a few weeks.
BTW: i use the tamino to do my graduate project. thank you!

[This message was edited by lisa on 01 May 2003 at 20:48.]

Hello Lisa,

I think that you will have problems if you try to use X-Application 4.1.1 with Tamino 3.1.1.

Tamino 4.1.1 has several new features that are not present in Tamino 3.1.1, and X-Application 4.1.1 makes use of these features.

I think that you have two options now - either obtain a copy of Tamino 4.1.1, or a copy of X-Application 3.1.1.

To obtain a copy of Tamino 4.1.1, you must contact your local Software AG office and explain your situation. It may be possible for you to obtain a copy of Tamino 4.1.1 for use in your graduate project, but I cannot grant this - that must be addressed by your local Software AG office.

The other option, to get X-Application 3.1.1, is a bit easier. Although this version is no longer on the download site, it is a freely available product so it should not be a problem to make this available to you.
I will try to find X-Application 3.1.1 and send it to you.

Greetings,
Trevor.

Hi Trevor and lisa,

Although there are some discussions in the X-Application Forums about how to use version 4 together with Tamino 3, I would recommend to use X-Application 3.1.3 (see technical information at the X-Application download site: Tamino Server 4.1.1. X-Application is certified for Tomcat 4.1 and for the platforms, listed above. It is based on Java Servlet 2.2 and Java Server Pages 1.1 and and is expected to run on all Java platforms using JDK 1.3.1 or greater).

The X-Application 3.1.3 version is still available at the download site http://developer.softwareag.com/tamino/x-application/download.htm.
Go to the end of the page and follow the link “Download previous version”.

Regards, Harald

hello Trevor and Harald,
thanks for your suggestions.
but install x-appliaction have the same question:authentication ,

First I should disable the authentication, but i don’t know how to deal with it.Who can tell me how to do .

Important:
The setup.cmd command script fails if you want to access Tamino XML Server via an HTTP server that is protected with BASIC authentication. To install Tamino X-Application properly, you need an HTTP server without authentication check. Also, you must not protect the collection ino:collection with authentication rights because the installation process of Tamino XML Server X-Application inserts new schemas.

Hello lisa.

This is getting a bit confused - and confusing! Let’s go back a couple of steps…

With Tamino 3.1, authentication is only done by the webserver. (Users must authenticate themselves, or “prove who they are” with the webserver. Usually by entering a username/password which is defined on the webserver.)

It is not possible to protect a collection with authentication. Tamino Security can be configured so that the permissions of users (the identity of whom has already been authenticated by the webserver) are checked before Tamino grants access to the requested information. This is the authorization step.

The next step that we should take is to determine exactly what is happening in your environment.
If you issue an X-Query statement from a browser, does the browser prompt you for a username/password?
The X-Query could be something like this:

   http://localhost/tamino/test/ino:collection?_xql=/xs:schema


(Substitute in an appropriate database name instead of “test”.)

Greetings,
Trevor.

Hi Trevor ,

At last , I understand the means of authentication, and install the tomcat 3.3.1 and x-application 3.1.3 successfully.
thanks to Trevor and Harald.

regards
lisa

hi Trevor ,
Can you tell me the homepage of Software AG office in china, because I have some problem with encoding question (tamino support the chinese character), I don’t know how to solve it,and I posted the question in tamino 4.1.1 and x-application 4.1.1support the chinese character questionbut no one reply it , and want solve it quickly, because subsequently work is based it .
Please help me,thanks a lot.

regards,
lisa

Hello lisa,

I am not entirely sure which office you should contact, but after looking at an atlas I think that the closest office to you is in Hong Kong:
   Software AG (Hong Kong) Limited
   Unit A, 21/F., No. 133 Wanchai Road,
   Wanchai,
   Hong Kong

   Phone: (852) 2866-8788
   Fax: (852) 2528-4910

If this is the wrong office, I believe that the people there will be able to direct you to the correct office.

Hope that helps!
Trevor.

To Trevor,
Thanks a lot .And i have contacted with the office.

Best Regards
lisa