diff --git a/base/src/org/compiere/db/CConnection.java b/base/src/org/compiere/db/CConnection.java index f795e5bd18..7854fc60a3 100644 --- a/base/src/org/compiere/db/CConnection.java +++ b/base/src/org/compiere/db/CConnection.java @@ -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 diff --git a/base/src/org/compiere/db/SecurityPrincipal.java b/base/src/org/compiere/db/SecurityPrincipal.java new file mode 100644 index 0000000000..396caa44e5 --- /dev/null +++ b/base/src/org/compiere/db/SecurityPrincipal.java @@ -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; +}