package org.maachang.proxy.engine.admin.page ;

import org.maachang.proxy.engine.admin.AbstractAdminNextLogin;
import org.maachang.proxy.engine.admin.AdminConnect;

/**
 * MaachangProxy新規Proxy追加画面.
 * 
 * @version 2008/03/26
 * @author masahito suzuki
 * @since MaachangProxy 1.00
 */
public class AdminCreateProxy extends AbstractAdminNextLogin {
    
    /**
     * コンストラクタ.
     * @param name 対象名を設定します.
     * @exception Exception 例外.
     */
    public AdminCreateProxy( String name ) throws Exception {
        super( name ) ;
    }
    
    /**
     * 実行処理.
     * @param conn 対象のコネクション情報を設定します.
     * @exception Exception 例外.
     */
    public void nextLogin( AdminConnect conn )
        throws Exception {
        outputOptions( conn,"pcSelect",
            new String[]{ "true","PCアクセス許可" },
            new String[]{ "false","PCアクセス不許可" } ) ;
        outputOptions( conn,"mobileSelect",
            new String[]{ "true","携帯アクセス許可" },
            new String[]{ "false","携帯アクセス不許可" } ) ;
    }
}
