In glassfish 3.1.2 the ProgrammaticLogin class was in glassfish/modules/security.jar. But in glassfish 4.0 it seems that it doesn't exist anymore. Does anybody know what happened to the ProgrammaticLogin class?
When I use the ProgrammaticLogin class from 3.1.2 with glassfish 4, I get a NoSuchMethodError for SecurityServicesUtil.getHabitat().
The class was moved and can be found in
$GLASSFISH_HOME\glassfish\modules\security-ee.jar
It is in package com.sun.enterprise.security.ee.auth.login
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With