import com.adeptia.indigo.security.auth.PassiveCallbackHandler; import com.adeptia.indigo.web.SessionLoginContext; import com.adeptia.indigo.system.IndigoConfig; import com.adeptia.indigo.security.AuthUtil; PassiveCallbackHandler cbh = new PassiveCallbackHandler("", "", "",true); SessionLoginContext lc = AuthUtil.getSessionLoginContext("",cbh); lc.login();