how to protect Executable jar with username and password

I have a jar but i have to protect my jar from unauthorized acess.So i need to protect it by using the username and password.Is there any way to put username and password in manifest file.
[209 byte] By [harisubramaniana] at [2007-11-27 3:10:53]
# 1

I would do more research on JAR Security, however I would not approach this problem at the JAR level.

If you are worried about unauthorized users then I would have programmed a login screen of somekind within the application to verify identity.

If you are worried about programmers stealing your source code or decompiling your classes then you can look into JAR encryption and decryption, that will obfuscate the classes in your JAR.

maple_shafta at 2007-7-12 8:13:19 > top of Java-index,Desktop,Deploying...