Login

In glassfish 3.1.2, the ProgrammaticLogin class was in glassfish/modules/security.jar. But in glassfish 4.0 it seems like it is no more. Does anyone know what happened to the ProgrammaticLogin class?

When I use the ProgrammaticLogin class from 3.1.2 with glass fish 4, I get a NoSuchMethodErrorfor SecurityServicesUtil.getHabitat().

+3
source share
1 answer

The class has been moved and can be found in

$GLASSFISH_HOME\glassfish\modules\security-ee.jar

In the package com.sun.enterprise.security.ee.auth.login

+4
source

Source: https://habr.com/ru/post/1615417/


All Articles