Re: [JBoss-user] using JAAS inside a custom server MBean

2003-11-13 Thread Scott M Stark
Server side components inherrent the conf/login-config.xml JAAS config file so you don't use an auth.conf file. There is no shortcut JAAS mechanism. You need to perform a login using the JAAS LoginContext and pass in a CallbackHandler. You can use the org.jboss.security.auth.login.UsernamePasswordH

[JBoss-user] using JAAS inside a custom server MBean

2003-11-13 Thread Ionel GARDAIS
Hi, I want to use JAAS login from a custom MBean Service. Where should I specify the auth.conf file to use ? As the authentication will be used internally to JBoss, are there easier/faster way to use JAAS than to write a custom CallbackHandler ? thanks, __