OK, I found it, maybe it can help someone:
<dependency>
<groupId>com.sun.enterprise</groupId>
<artifactId>hk2</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.security</groupId>
<artifactId>realms</artifactId>
<version>3.0-b52</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.security</groupId>
<artifactId>security</artifactId>
<version>3.0</version>
<scope>provided</scope>
</dependency>
I also needed the glassfish repository:
<repository>
<id>glassfish-repository</id>
<name>Java.net Repository for Glassfish</name>
<url>
http://download.java.net/maven/glassfish</url>
</repository>
2010/2/18 Nithya Subramanian <Nithya.Subramanian_at_sun.com>
> You could check out these blog posts on details of how to have a JAAS login
> module :
>
> http://blogs.sun.com/nithya/entry/groups_in_custom_realms
> http://blogs.sun.com/nithya/entry/modularized_osgi_custom_realms_in
>
> Thanks
> Nithya
>
>
> Fabrice BUQUET wrote:
>
>> Hello,
>>
>> I want to create a JAAS login module for glassfishV3.
>> I created 2 classes which extends:
>>
>> com.sun.appserv.security.AppservPasswordLoginModule
>> and
>> com.sun.appserv.security.AppservRealm
>>
>> What are the dependencies to add into my pom to be able to compile the
>> project ?
>>
>> I used
>> <dependency>
>> <groupId>glassfish</groupId>
>> <artifactId>appserv-rt.jar</artifactId>
>> <version>LATEST</version>
>> <scope>system</scope>
>>
>> <systemPath>D:\atelier\java\outils\glassfish3\glassfish\lib\appserv-rt.jar</systemPath>
>> </dependency>
>>
>> But my IDE (NetBeans) only recognise this classes at compile time...
>>
>>
>> --
>> BUQUET Fabrice
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
BUQUET Fabrice