* Fixed non Serializable exception.
This commit is contained in:
parent
0c6a914e0b
commit
eaaa4d6e6b
|
@ -1666,12 +1666,5 @@ public class CConnection implements Serializable, Cloneable
|
|||
Connection con = cc.getConnection (false,
|
||||
Connection.TRANSACTION_READ_COMMITTED);
|
||||
new CConnectionDialog(cc);
|
||||
} // main
|
||||
|
||||
|
||||
private class SecurityPrincipal {
|
||||
String principal;
|
||||
String credential;
|
||||
}
|
||||
|
||||
} // main
|
||||
} // CConnection
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
/******************************************************************************
|
||||
* Copyright (C) 2008 Low Heng Sin *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
*****************************************************************************/
|
||||
package org.compiere.db;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Use by CConnection to store authentication info for application server.
|
||||
* @author Low Heng Sin
|
||||
*
|
||||
*/
|
||||
class SecurityPrincipal implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
String principal;
|
||||
String credential;
|
||||
}
|
Loading…
Reference in New Issue