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.UsernamePasswordHandler if you
have text username/password authentication.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Ionel GARDAIS wrote:

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,





------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to