1) GF 4 which osgi version is using in my custom realm I'm using:
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
2) GF 4 which security version is using in my custom realm I'm using:
<dependency>
<groupId>org.glassfish.main.security</groupId>
<artifactId>security</artifactId>
<version>4.0</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
3) GF 4 which version of AppservPasswordLoginModule is usingin my
custom realm I'm using:
<dependency>
<groupId>org.glassfish.appclient</groupId>
<artifactId>gf-client</artifactId>
<version>3.2-b06</version>
<scope>provided</scope>
</dependency>
Any idea why I'm getting this error:
java.lang.ClassNotFoundException: si.arnes.glassfish.rolerealm.RoleRealm
not found by org.glassfish.main.security [320]
Regards, Tomaz
Dne 23.5.2014 13:57, pis(e Tomaz Majerhold:
> Are big changes of custom realm, I'm gettig this error:
>
> java.lang.ClassNotFoundException:
> si.arnes.glassfish.rolerealm.RoleRealm not found by
> org.glassfish.main.security
>
>
> in my logi.conf:
>
> roleRealm {
> si.arnes.glassfish.rolerealm.RolePasswordLoginModule required;
> };
>
>
> in modules i have:
>
> role-realm.jar
>
> which RolePasswordLoginModule extends AppservPasswordLoginModule
> and RoleRealm extends AppservRealm
>
>
> what is wrong here in GF v4, bacuse in GF v3 it work fine??
>
> Regards, Tomaz
>