Package es.ipsa.atril.sec.authentication

Examples of es.ipsa.atril.sec.authentication.AtrilSession.open()


 
  public static AtrilSession getSession(String sContext, String sUsr, String sPwd)
    throws AuthenticationException, SecuritySystemException, IllegalStateException,PersistenceManagerException {
    if (!bInitOK) throw new IllegalStateException("DAO was not properly initialized");
      AtrilSession oSess = AuthenticationManagerFactory.getAuthenticationManager(oAtrilProperties).authenticateUser(sUsr, sPwd);
    oSess.open(sContext);
      oSess.connect();
    oSess.autoCommit(false);
      return oSess;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.