Which JAR contains AppservPasswordLoginModule in GlassFish 3.1
문제
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?
해결책
glassfish/modules/security.jar
다른 팁
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 !
제휴하지 않습니다 StackOverflow