users@glassfish.java.net

[gf-users] GF v4 coustum realm

From: Tomaz Majerhold <tomaz.majerhold_at_arnes.si>
Date: Fri, 23 May 2014 13:57:11 +0200

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