I did it...
>- auth.conf file :
>
>other
>{
> org.jboss.security.ClientLoginModule required;
>};
code:
>lc = new LoginContext("other", handler);
but it don't work...
I read in JBoss3.0QuickStart page 54 the following :
"Note that thi
You probably need a client login module spesified in auth.conf, but it seems like you
have one. But I think the file has to refer to the sec. domain you want to login to,
like the file we use:
// Connect client's login module, that infects the
// EJB transport layer with the application caller
[EMAIL PROTECTED] wrote:
> Is the callback called? Do you have a security domain set up?
yes, in tomcat embedded it works all right... do I have to refer from
the junit test to the security domain???
jboss-security.xml:
java:/jaas/sicredi
>
> On Mon, Jul 01, 2002 at 06:39:24PM -0300, Em
Is the callback called? Do you have a security domain set up?
On Mon, Jul 01, 2002 at 06:39:24PM -0300, Emerson Cargnin - MSA wrote:
> no sugestion?
>
> Emerson Cargnin - MSA wrote:
>
> > My problem is to make a junit test to access the EJB's using security. I
> > tried to use the tests from CV
no sugestion?
Emerson Cargnin - MSA wrote:
> My problem is to make a junit test to access the EJB's using security. I
> tried to use the tests from CVS. My server uses ldap to authenticate
> users. From embbeded tomcat it works allright, i did the following to
> access through junit task :
>
>
My problem is to make a junit test to access the EJB's using security. I
tried to use the tests from CVS. My server uses ldap to authenticate
users. From embbeded tomcat it works allright, i did the following to
access through junit task :
- ant build.xml file that calls junit test: