Class LoginContext


  • public final class LoginContext
    extends Object
    This class is kept for CTS. Ideally we should move away from it. The login can be done via the following call:
     // Initialize the ORB.
     try {
       LoginContext lc = new LoginContext();
       lc.login("john", "john123");
     } catch (LoginException le) {
       le.printStackTrace();
     }
    
    
     
    Ideally the login should be done with the system property -Dj2eelogin.name and -Dj2eelogin.password
    Author:
    Harpreet Singh ([email protected])
    • Constructor Detail

      • LoginContext

        public LoginContext()
        Creates the LoginContext with the defauly callback handler