On 07/28/2015 03:02 PM, Andy Wang wrote:
I'd also like a better way and after discussing with some
security-geeks, we were wondering if there's some way we can
implement a Valve that takes a username and a signature using a
shared secret. The problem is signing in Apache: I've not looked
too hard for a module to do this but maybe one exists? If one does
exist, then the mod_jk module could use the same strategy to ensure
Tomcat only trusts a username + valid signature.

Take a look at the RemoteIpValve.  One could make something similar, say
a RemoteAuthenticationValve, would be my guess.  Given that you're using
a shared secret already, I'm not sure what signing will buy you.  If
some malicious entity gets the shared secret, the signature/encryption
is going to do nothing for you.  If you're concerned about the message
secured by the shared secret being in plain text across a remote
http<->tomcat configuration, I imagine stunnel would help solve the problem


clarification - given that you're already "talking" a shared secret (not using - since you're discussing a hypothetical mechanism - i.e. non-existent).


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

Reply via email to