Re: [JBoss-user] Jboss Security Tutorial

2001-07-12 Thread Nicolai P Guba

 NT == Nick Taylor [EMAIL PROTECTED] writes:

NT looks like your client is failing to find
NT %JBOSS_HOME%\client\auth.conf which is the client login config
NT file. i thought the tutorial examples set this but you could try
NT passing the client something like
NT -Djava.security.auth.login.config=file://path_to/auth.conf

Ah, cheers!

Hmmm, I'll try that.  Guess I can set this as a property?  Would make
more sense for someone wanting to distribute the client to other
people.

Happy Hacking
-- 
  Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Jboss Security Tutorial

2001-07-12 Thread Nick Taylor

or you can write your own javax.security.auth.login.Configuration
implementation and do away with the auth.conf file altogether (thank you
Scott).

 -Original Message-
 From: Nicolai P Guba [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 12, 2001 12:41 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Jboss Security Tutorial
 
 
  NT == Nick Taylor [EMAIL PROTECTED] writes:
 
 NT looks like your client is failing to find
 NT %JBOSS_HOME%\client\auth.conf which is the client login config
 NT file. i thought the tutorial examples set this but you could try
 NT passing the client something like
 NT -Djava.security.auth.login.config=file://path_to/auth.conf
 
 Ah, cheers!
 
 Hmmm, I'll try that.  Guess I can set this as a property?  Would make
 more sense for someone wanting to distribute the client to other
 people.
 
 Happy Hacking

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss Security Tutorial

2001-07-11 Thread Nicolai P Guba

Hmmm, I'm running the security tutorial and I get this exception.  Any
ideas as to why?  

+++ Running SessionClient with username=scott, password=echoman, example=example1
Exception in thread main java.lang.SecurityException: Unable to locate a login 
configuration
at 
com.sun.security.auth.login.ConfigFile.getAppConfigurationEntry(ConfigFile.java:221)
at javax.security.auth.login.LoginContext.init(LoginContext.java:172)
at javax.security.auth.login.LoginContext.init(LoginContext.java:319)
at SessionClient.main(SessionClient.java:62)

-- 
  Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user