Pregunta

I want to develop a custom realm for GlassFish 3.1 in NetBeans 7.0.1, and I want to import the JAR that contains the class com.sun.appserv.security.AppservPasswordLoginModule to the project classpath, so I could extend it. Tried \glassfish-3.1\glassfish\lib\appserv-rt.jar, but it's not in that. Which JAR do I have to import?

¿Fue útil?

Solución

glassfish/modules/security.jar

Otros consejos

Use Maven for that it's easier than pasting jars.

If you need to past Jars go to glassfish repo below and copy your jar from there.

This dependency is this one

<dependencies>
    <dependency>
        <groupId>org.glassfish.security</groupId>
        <artifactId>security</artifactId>
        <version>3.1</version>
    </dependency>
</dependencies>

and repo

<repositories>
    <repository>
        <id>glassfish</id>
        <name>Glassfish</name>
        <url>https://repository.jboss.org/nexus/content/repositories/glassfish</url>
    </repository>
</repositories>

Cheers !

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top