Community

Where does org.jboss.security.ClientLoginModule get usernames and passwords from?

created by Breako Beats in Beginner's Corner - View the full discussion

Hi,

The Security F.A.Q explain how the SecurityClient API's can be used to set up a user via JAAS on a EJB client.

However, I am having difficult to get these API's to pick up the login configuration.  Usually on a standalone client using JAAS, this is specified as a VM argument. For example: -Djava.security.auth.login.config=./conf/auth.conf.

 

However, when I do this, my client can't pick it up.  I get:

 

java.lang.SecurityException: ./conf/auth.conf (No such file or directory)
    at com.sun.security.auth.login.ConfigFile.<init>(Unknown Source)

 

any help appreciated.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community