Ferguson, Doug wrote:
> We regardless if it is dynamic or not. JAAS somehow differentiates
> between the class gettign loaded from lib/ext and we explicitly 
> putting it in the path at runtime.

> For instance... if my security module use javaMail.

> I have to do this java -classpath $CLASSPATH:mail.jar Main MY-CONFIG

> Why?
This is the "feature" of JAAS: it requires that all login modules are
loaded via system classloader, Rickard Oberg contacted JAAS developers
and they agreed to remove this restriction in the next release of
JAAS.
Scott Stark invented org.jboss.security.plugins.ProxyLoginModule which
allows to load login modules from lib/ext.

Oleg



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

Reply via email to