-
1. Re: standalone client: SecurityException: no protocol: auth.
dkarr Aug 19, 2001 2:53 AM (in response to dkarr)Ok, I'm getting a clue now. The problem is that I'm setting the "java.security.auth.login.config" property at runtime (from my ant script). Originally, I just set it to "auth.conf". The value of this isn't a file path, it's supposed to be a URL. So the error is saying that it couldn't find the "protocol" part of the URL. However, I did try changing the value to be the relative path to where the file was stored BEFORE I put it into the client jar file (being "properties/auth.conf"). This actually worked. However, what I really need is to have it pull the file out of the jar file. How can I get this to get the "auth.conf" file out of the jar file?
-
2. Re: standalone client: SecurityException: no protocol: auth.
mark30000 Aug 29, 2001 4:38 AM (in response to dkarr)I have the problem that you probable solved.
I try to put auth.conf into jar file.
How did you specify the URL when the auth.conf file is in the jar file (or in the classpath)?
I succed to work only with absolute pathes, like d:\...\client\auth.conf.
Thank you in advance. -
3. Re: standalone client: SecurityException: no protocol: auth.
stephenw Mar 1, 2002 3:21 AM (in response to dkarr)Hi jsut a quick question,
where did you put the auth.conf file in the client jar file?? which dir is it in??
Stephen