Package org.openmeetings.test.userdata

Source Code of org.openmeetings.test.userdata.TestAuth

package org.openmeetings.test.userdata;

import junit.framework.TestCase;

import org.openmeetings.app.persistence.beans.basic.Sessiondata;
import org.openmeetings.app.remote.MainService;
import org.openmeetings.utils.crypt.ManageCryptStyle;

public class TestAuth extends TestCase{


  public TestAuth(String testname) {
    super(testname);
    // TODO Auto-generated constructor stub
  }
 
  public void testTestAuth() {
   
    MainService mService = new MainService();
    Sessiondata sessionData = mService.getsessiondata();
   
    System.out.println("sessionData: "+sessionData.getSession_id());
   
    String tTemp = ManageCryptStyle.getInstance().getInstanceOfCrypt().createPassPhrase("test");
   
    System.out.println("tTemp: "+tTemp);
   

 

}
TOP

Related Classes of org.openmeetings.test.userdata.TestAuth

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.