users@glassfish.java.net

Re: Maven artifact for Glassfish JAAS module

From: Nithya Subramanian <Nithya.Subramanian_at_Sun.COM>
Date: Thu, 18 Feb 2010 19:37:40 +0530

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