Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread jose luis Calvo
NO ME ENVIEN MAS MENSAJES POR FAVOR

2018-01-19 11:21 GMT+01:00 Norbert Harrer :
> On 19.01.2018 09:10, Mark Thomas wrote:
>>
>> On 18/01/18 21:04, Norbert Harrer wrote:
>>>
>>> Hi.
>>>
>>> Which character encoding of user / password for the Basic Authentication
>>> Header is tomcat accepting?
>>>
>>> A pretty simple question, but I didn't find a clear answer after
>>> googling for quite a while.
>>>
>>> I know that there is no clear definition what should be used. For
>>> example browsers do it differently.
>>>
>>> An example:
>>>
>>> User: test
>>> Password: 123ö  (german umlaut o with two dots at the end)
>>>
>>> Firefox sends ISO-8859-1:
>>> Authorization: Basic dGVzdDoxMjP2
>>>
>>> Chrome sends UTF-8:
>>> Authorization: Basic dGVzdDoxMjPDtg==
>>>
>>> After trying it it seems tomcat accepts ISO-8859-1. Can this be
>>> configured?
>>
>> To a limited extend. See the following:
>>
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=61280
>> http://tomcat.markmail.org/thread/wotey6yz64obije7
>>
>> http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Basic_Authenticator_Valve/Attributes
>>
>> ...
>
>
> Thanks Mark.
>
> So if I understood the documents (and after studying BasicAuthenticator.java
> in Tomcat 7 and 8) it is as follows:
>
> Tomcat 7 uses ISO-8859-1 hardcoded
> Tomcat 8 implements RFC 7617, in which the server can ask the client to send
> the credential in UTF-8. This must be enabled via the Basic Authenticator
> Valve. Otherwise ISO-8859-1 is used.
>
> I wonder why Chrome is blindly sending UTF-8 instead of respecting RFC 7617.
>
> Regards,
> Norbert
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: How to run Tomcat in Synology

2017-11-29 Thread jose luis Calvo
it's incredible! what is happening in support teams?  I need help please.

Dear André, firstly thank you for your quickly response. I can
understand what happen because Synology Service told me that (all
consersation are below):

Dear Customer,
Thank you for contacting Synology. We will get back to you as soon as
possible. Thanks for your patience.
Below is a copy of your message that we've just received from you.
Problem Explanation:

I have a NAS Synology DS414 and I can not use tomcat 6 or 7 correctly,
my installation no have file "tomcat-users.xml" because I can't find
it into tomcat folder. When I run tomcat it is showing me a password
box dialog but I didn't password before and in folders there isn't
"tomcat-users.XML" ¿Could you know what kind of problems have a
Synology OS with Tomcat installations?
Thank you in advance from Pamplona. Spain.

Problem Reproduce Steps:
Related hardware:
Product Information/Question Personal Information
Product: DS414 Type of Customer: End User
Product Version: DSM 6.1.4-15217 Update 1 Company Name:
Product Serial Number: 1490MEN655802 Full Name: Jose Calvo
Type of Usage: For Personal Use Job Title: Government
E-mail: joseluis.ka...@gmail.com Address:
Telephone:
Location: Europe / Spain
Type of Message: Need Technical Support Category: Packages (Java 7 / Java 8)
Synology Support 
23 nov. (hace 6 días)

Synology 
answers...___

Dear Jose,
By default Tomcat will not have any users/passwords in which case you
would need to create one.
https://tecadmin.net/set-admin-password-in-tomcat/#
https://www.mkyong.com/tomcat/tomcat-default-administrator-password/
Please note that Tomcat is a 3rd party package and unfortunately we do
not provide setup assistance (aside from ensuring the package can
install onto the unit) in which case it is recommended to contact
Tomcat directly or refer to their user forums/help page for
assistance.
http://tomcat.apache.org/findhelp.html
https://wiki.apache.org/tomcat/SupportAndTraining
Regards,
DeSjonae
___
Sent by Synology Technical Support from Synology MailPlus

jose luis Calvo
Dear DeSjonae. Thank you for your support. My main problem is I can't open To...
23 nov. (hace 6 días)
Synology Support
27 nov. (hace 2 días)

Hi Jose,
When you launch tomcat from the diskstation are you being presented
with a login box asking for username/password? If so then please note
that the username/pwd needs to be created via CLI as per my initial
email before you can login to Tomcat manager as by default there is no
username/pwd. If you need assistance with configuring tomcat or the
username/pwd then I would recommend contacting tomcat directly or
referring to their user forums on how to setup the software.

2017-11-29 9:58 GMT+01:00 André Warnier (tomcat) :
> On 29.11.2017 08:45, jose luis Calvo wrote:
>>
>> Tomcat version: 7.0.82-0113
>> Operating System: Synology DSM 6.1.4-15217 Update 2
>> Model: DS414
>>
>> Subject: After install component from Package Center Tomcat is ready
>> to configure but only there are three initial folders "docs"
>> "host-manager" and "manager". Please help me I don't know what I
>> should to do now. I doesn't exist any tomcat-users.xml file and
>> others... is so empty in compare with windows/linux installation.
>>
>> Tarjet: My intention is install Tomcat  with MariaDB and MyPhpAdmin to
>> run my web pages with servlets and more...
>>
>
> Hi.
> We also do not know what is in Synology's Tomcat package, or where it puts
> the various files when you install it.
> I believe that you will have to ask Synology about that.
>
> Also, as far as I can tell, DSM is an operating system for a NAS.  I'm not
> sure if it is really a good idea to install and use Tomcat and MariaDB and
> MyPhpAdmin on such a system.
> A NAS is a device that is specialised and optimised for providing shared
> disk space for other computers. It is not really designed to run
> applications directly.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How to run Tomcat in Synology

2017-11-28 Thread jose luis Calvo
Tomcat version: 7.0.82-0113
Operating System: Synology DSM 6.1.4-15217 Update 2
Model: DS414

Subject: After install component from Package Center Tomcat is ready
to configure but only there are three initial folders "docs"
"host-manager" and "manager". Please help me I don't know what I
should to do now. I doesn't exist any tomcat-users.xml file and
others... is so empty in compare with windows/linux installation.

Tarjet: My intention is install Tomcat  with MariaDB and MyPhpAdmin to
run my web pages with servlets and more...

Thank you in advance, Best regards.
José Pamplona (Spain)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org