RE: SOLVED - Form Authentication Illegal Characters

2011-03-14 Thread beau.hutcheson
There is no limitation regarding special characters.
I just have to make sure and encode my query string properly.

Thanks,

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Monday, March 14, 2011 12:22 PM
To: Tomcat Users List
Subject: Re: Form Authentication Illegal Characters

2011/3/14  :
> Hello All:
>
> I am using Tomcat 6.0.26. My application has a context.xml file that
> defines an org.apache.catalina.authenticator.FormAuthenticator
>
> Valve and an org.apache.catalina.realm.DataSourceRealm Realm which I
use
> for authentication.
>
> My login page functions in typical FormAuthentication manner by
passing
> the j_username and j_password parameters to j_security_check
>
>
>
> Currently, authentication fails if the character # (pound sign) is
> contained within a username. Has anybody come across this limitation?
I

I do not think that there is such a limitation.

I would suggest you to try debugging it,
http://wiki.apache.org/tomcat/FAQ/Developing#Debugging

And an update to the latest 6.0.32 should not hurt.

Best regards,
Konstantin Kolinko

-
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: Form Authentication Illegal Characters - SOLVED

2011-03-14 Thread beau.hutcheson
Thanks for the response yet,

There is no limitation regarding special characters.
I just have to make sure and encode my query string properly.

By fails I meant that the app gets forwarded to the value set in my
 tag.

Thanks,

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Monday, March 14, 2011 1:33 PM
To: Tomcat Users List
Subject: Re: Form Authentication Illegal Characters

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Beau,

On 3/14/2011 10:57 AM, beau.hutche...@thomsonreuters.com wrote:
> Currently, authentication fails if the character # (pound sign) is
> contained within a username.

Define "fails".

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1+UUgACgkQ9CaO5/Lv0PAA7gCfedxpdkMLJ6lYFntVtO8pq6Wa
GTMAn3BUQX2qpk32vKGY6miomFw9KuDQ
=jAGN
-END PGP SIGNATURE-

-
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: Form Authentication Illegal Characters

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Beau,

On 3/14/2011 10:57 AM, beau.hutche...@thomsonreuters.com wrote:
> Currently, authentication fails if the character # (pound sign) is
> contained within a username.

Define "fails".

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1+UUgACgkQ9CaO5/Lv0PAA7gCfedxpdkMLJ6lYFntVtO8pq6Wa
GTMAn3BUQX2qpk32vKGY6miomFw9KuDQ
=jAGN
-END PGP SIGNATURE-

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



Re: Form Authentication Illegal Characters

2011-03-14 Thread Konstantin Kolinko
2011/3/14  :
> Hello All:
>
> I am using Tomcat 6.0.26. My application has a context.xml file that
> defines an org.apache.catalina.authenticator.FormAuthenticator
>
> Valve and an org.apache.catalina.realm.DataSourceRealm Realm which I use
> for authentication.
>
> My login page functions in typical FormAuthentication manner by passing
> the j_username and j_password parameters to j_security_check
>
>
>
> Currently, authentication fails if the character # (pound sign) is
> contained within a username. Has anybody come across this limitation? I

I do not think that there is such a limitation.

I would suggest you to try debugging it,
http://wiki.apache.org/tomcat/FAQ/Developing#Debugging

And an update to the latest 6.0.32 should not hurt.

Best regards,
Konstantin Kolinko

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



Form Authentication Illegal Characters

2011-03-14 Thread beau.hutcheson
Hello All:

I am using Tomcat 6.0.26. My application has a context.xml file that
defines an org.apache.catalina.authenticator.FormAuthenticator

Valve and an org.apache.catalina.realm.DataSourceRealm Realm which I use
for authentication.

My login page functions in typical FormAuthentication manner by passing
the j_username and j_password parameters to j_security_check

 

Currently, authentication fails if the character # (pound sign) is
contained within a username. Has anybody come across this limitation? I
am working with another system that stores all @ symbols as # signs, so
the likely hood of someone using an email address as their username is
good.

 

When I query my USERS table directly, I can locate any username that has
a # sign in it, so it seems that this is a tomcat related issue.

 

Just wanted to see if someone has experienced this and if there is a
solution/workaround for this.

Thanks, 

Beau