• Welcome to KonaKart Community Forum. Please login or sign up.
 

KKAdmin login with user/password

Started by fjbarrena, February 11, 2010, 10:38:30 am

Previous topic - Next topic

fjbarrena

Hi all,

to use KKAdmin object we need to login in Konakart with an administrator's user/password account, like this:

   Class<?> engineClass =
      Class.forName("com.konakartadmin.bl.KKAdmin");
            
        eng = (KKAdminIf) engineClass.newInstance();
                  
   sessionId = eng.login(AdminConstants.KONAKART_ADMIN_USER,
             AdminConstants.KONAKART_ADMIN_PASSWORD);

I think this is a big security black hole, and my question is

¿it's necessary?
¿there are another way to access to KKAdmin?

Best regards.