[Seasar-user:12351] Re: websphere url rewriting

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
2007年 12月 28日 (金) 20:11:31 JST


filter:
 public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
        throws IOException, ServletException {

        /* ログ出力 */
        logAppInfo(ConstantLog.WF000102);

        HttpServletRequest req = (HttpServletRequest) request;
        HttpServletResponse res = (HttpServletResponse) response;

        HttpSession session = req.getSession(true);

        Subject subject = (Subject) session.getAttribute(
Constant.SESSION_PERMISSION);
        String url = req.getRequestURI();
            if (subject == null) {
            logAppInfo(ConstantLog.WF00010201 + url);
            /* ログイン画面へ */
            if (url != null && url.indexOf("/view/m/") != -1) {
                res.sendRedirect(res.encodeRedirectURL(req.getContextPath()
+ "/view/m/cmn/login.html".toLowerCase()));
            } else {
                res.sendRedirect((res.encodeRedirectURL(req.getContextPath()
+ ConstantPage.CONTEXT_COMMON_PATH
                        + ConstantPage.LOGIN +
ConstantPage.HTML).toLowerCase()));

            }
            return;
        }
        chain.doFilter(request, response);
    }
LoginModule;

 public boolean login() throws LoginException {

        /* ログ出力 */
        logAppInfo(ConstantLog.WF000101);

        NameCallback nameCB = new NameCallback("loginId");
        PasswordCallback passwordCB = new PasswordCallback("password",
false);
        Callback[] callbacks = new Callback[] {nameCB, passwordCB };

        try {
            callbackHandler.handle(callbacks);
        } catch (IOException e) {
            e.printStackTrace();
            DcwLoginException ex = new DcwLoginException("IOException
logging in.");
            ex.initCause(e);
            throw ex;
        } catch (UnsupportedCallbackException e) {
            String className = e.getCallback().getClass().getName();
            DcwLoginException ex = new DcwLoginException(className + " is
not a supported Callback.");
            ex.initCause(e);
            throw ex;
        }

        name = nameCB.getName();
        password = String.valueOf(passwordCB.getPassword());

        /* diconファイルを読込む */
        logAppInfo(ConstantLog.WF00010101);
        S2Container container = new S2ContainerImpl();
//        S2Container container = SingletonS2ContainerFactory.getContainer
();
        /* UserInfoDaoのインタフェースを生成する */
        logAppInfo(ConstantLog.WF00010102);
        userInfoDao = (UserInfoDao) container.getComponent(UserInfoDao.class
);
        logAppInfo(ConstantLog.WF00010103);
        SysEnvSetLogic sysEnvSetLogic = (SysEnvSetLogic)
container.getComponent(SysEnvSetLogic.class);

        /* 下記はアカウントが有効かをチェックする。 */
        logAppInfo(ConstantLog.SELECT_CONDITION + name);
        userInfo = userInfoDao.selectByLoginId(name);
        logAppInfo(ConstantLog.SELECT_RESULT + CommonFunc.dumpBean(userInfo));
        if (userInfo == null) {

            /* ログインIDが存在しない或いは当該ログインIDのステータスは「無効」の場合 */
            DcwLoginException ex = new DcwLoginException(
DcwLoginException.USERID_NOT_EXIST, null);
            throw ex;

        } else {

            /* パスワード照合 */
            String pw = CommonFunc.strHash(password);
            if (pw.equals(userInfo.getPw().trim())) {

                /* パスワード一致の場合 */
                if (Constant.ACCOUNT_STATUS_VALID.equals(userInfo.getStatus()))
{

                    /* ステータスが「有効」の場合 */
                    userInfo.setFinalLoginDate(new java.sql.Date(new
Date().getTime()));
                    userInfo.setLoginTryTimes(0);
                    userInfoDao.update (userInfo);
                    logAppInfo(ConstantLog.UPDATE_CONDITION +
CommonFunc.dumpBean(userInfo));

                } else if (Constant.ACCOUNT_STATUS_LOCK.equals(
userInfo.getStatus())) {

                    /* ステータスが「ロック」の場合 */
                    if (userInfo.getLockRelDate() == null
                            || userInfo.getLockRelDate().after(new
java.sql.Date(new Date().getTime()))) {

                        /* ロック自動解除日時が未設定、または、ロック自動解除日時>システム日時の場合 */
                        DcwLoginException ex = new DcwLoginException(
DcwLoginException.ACCOUNT_LOCKED, null);
                        throw ex;

                    } else if (userInfo.getLockRelDate().before(new
java.sql.Date(new Date().getTime()))) {

                        /* ロック自動解除日時≦システム日時の場合 */
                        userInfo.setStatus(Constant.ACCOUNT_STATUS_VALID);
                        userInfo.setLockRelDate(null);
                        userInfo.setFinalLoginDate (new java.sql.Date(new
Date().getTime()));
                        userInfo.setLoginTryTimes(0);
                        userInfoDao.update(userInfo);
                        logAppInfo(ConstantLog.UPDATE_CONDITION +
CommonFunc.dumpBean(userInfo));

                    }
                }
            } else {

                /* パスワードが不一致の場合 */
                userInfo.setLoginTryTimes(userInfo.getLoginTryTimes() + 1);
                userInfoDao.update(userInfo);
                logAppInfo(ConstantLog.UPDATE_CONDITION +
CommonFunc.dumpBean(userInfo));

                int max = Integer.parseInt(sysEnvSetLogic.get(
Constant.LOGIN_TRIAL_MAXIMUM).getSetValue());
                logAppInfo(ConstantLog.WF00010105 + max);
                if (userInfo.getLoginTryTimes () >= max) {

                    /* ログイン試行回数≧ログイン試行最大回数の場合 */
                    int sysLockRelMin = Integer.parseInt(sysEnvSetLogic.get(
Constant.LOGIN_LOCK_RELEASE_MINUTE)
                            .getSetValue());
                    logAppInfo( ConstantLog.WF00010106 + sysLockRelMin);
                    if (sysLockRelMin > 0) {
                        Calendar c = Calendar.getInstance();
                        c.setTime(new Date());
                        c.add(Calendar.MINUTE, sysLockRelMin);
                        userInfo.setLockRelDate(new java.sql.Timestamp(
c.getTime().getTime()));
                    }

                    userInfo.setLoginTryTimes(0);
                    userInfo.setStatus(Constant.ACCOUNT_STATUS_LOCK);
                    userInfoDao.update(userInfo);
                    logAppInfo(ConstantLog.UPDATE_CONDITION +
CommonFunc.dumpBean(userInfo));

                    /* ログインIDとパスワードが一致しない場合 */
                    DcwLoginException ex = new DcwLoginException(
DcwLoginException.ACCOUNT_LOCK, null);
                    throw ex;

                } else {

                    /* ログイン試行回数<ログイン試行最大回数の場合 */
                    DcwLoginException ex = new DcwLoginException(
DcwLoginException.PASSWORD_INVALID, null);
                    throw ex;

                }
            }
        }
        return true;
    }

loginAction:

    public String doLogin() {
        this.logOpeInfo("doLogin");
        DcwCallbackHandler cb = new DcwCallbackHandler(loginPage.getLoginId
(),
                loginPage.getPassword());
        String url = ConstantPage.SELF;
        LoginContext ctx;
        try {
            ctx = new LoginContext("dcw", cb);
            ctx.login();

            // ユーザの情報をセッションに保存する
            Subject subject = ctx.getSubject();
            loginPage.getSession().setAttribute(Constant.SESSION_PERMISSION,
subject);
            UserInfo userInfo = getLoginLogic().getUserInfo(
loginPage.getLoginId());
            loginPage.getSession ().setAttribute(Constant.SESSION_SYSID,
userInfo.getSysId());
            loginPage.getSession().setAttribute(Constant.SESSION_LOGINID,
userInfo.getLoginId());
            loginPage.getSession().setAttribute(Constant.SESSION_ROLECD ,
userInfo.getRoleCd());
            loginPage.getSession().setAttribute(Constant.SESSION_FNAME,
userInfo.getUserNameF());
            loginPage.getSession().setAttribute(Constant.SESSION_LNAME,
userInfo.getUserNameL ());

            Map<String, Object> map = new HashMap<String, Object>();
            map.put(Constant.SESSION_ID, String.valueOf(userInfo.getId()));
            map.put(Constant.SESSION_SYSID, userInfo.getSysId ());
            map.put(Constant.SESSION_LOGINID, userInfo.getLoginId());
            map.put(Constant.SESSION_ACTS_MNGRID, userInfo.getActsMngrId());
            map.put(Constant.SESSION_PROUSER_ID, userInfo.getProuserId ());
            map.put(Constant.SESSION_CLASSLEVEL, String.valueOf(
userInfo.getUserClassLev()));
            map.put(Constant.SESSION_ROLECD, userInfo.getRoleCd());
            map.put(Constant.SESSION_REGNAME_CD , userInfo.getRegNameCd());
            map.put(Constant.SESSION_FNAME, userInfo.getUserNameF());
            map.put(Constant.SESSION_LNAME, userInfo.getUserNameL());
            map.put(Constant.SESSION_KANA_FNAME , userInfo.getUserKanaFname
());
            map.put(Constant.SESSION_KANA_LNAME, userInfo.getUserKanaLname
());
            map.put(Constant.SESSION_COMNAME, userInfo.getComName());
            map.put(Constant.SESSION_DEPTNAME , userInfo.getDeptName());
            map.put(Constant.SESSION_TEL1, userInfo.getTel1());
            map.put(Constant.SESSION_TEL2, userInfo.getTel2());
            map.put(Constant.SESSION_TEL3, userInfo.getTel3 ());
            map.put(Constant.SESSION_FAX, userInfo.getFax());
            map.put(Constant.SESSION_MAIL1, userInfo.getMail1());
            map.put(Constant.SESSION_MAIL2, userInfo.getMail2());
            map.put(Constant.SESSION_PW, userInfo.getPw());
            map.put(Constant.SESSION_PW1, userInfo.getPw1());
            map.put(Constant.SESSION_PW2, userInfo.getPw2());
            map.put(Constant.SESSION_KW, userInfo.getKw());
            map.put(Constant.SESSION_VALID_KIGEN, userInfo.getValidKigen());
            map.put(Constant.SESSION_LOGIN_TRIAL, String.valueOf(
userInfo.getLoginTryTimes()));
            map.put( Constant.SESSION_LOCK_RELDATE, userInfo.getLockRelDate
());
            map.put(Constant.SESSION_FINAL_LOGINDATE,
userInfo.getFinalLoginDate());
            map.put(Constant.SESSION_STATUS, userInfo.getStatus());
            map.put(Constant.SESSION_PW_CHGDATE, userInfo.getPwChgDate());
            map.put(Constant.SESSION_PW_CHG_YN, userInfo.getPwChgYn());
            map.put(Constant.SESSION_TIMESTAMP, userInfo.getTimestamp ());
            map.put(Constant.SESSION_UPDRID, userInfo.getUpdrId());
            map.put(Constant.SESSION_UPDR_FNAME, userInfo.getUpdrNameF());
            map.put(Constant.SESSION_UPDR_LNAME, userInfo.getUpdrNameL ());
            loginPage.getSession().setAttribute(Constant.SESSION_USER_INFO,
map);

            // パスワード変更をチェックする
            String result = getLoginLogic().checkUserInfo(
loginPage.getLoginId());
            loginPage.getSession().setAttribute("LOGIN_RESULT", result);

            if (result.equals(Constant.LOGIN_RESULT_NORMAL)) {
                url = "menu";
            } else {
                if (result.equals(Constant.LOGIN_RESULT_PW_NEED_CHG)) {
                    url = "menu";
                } else {
                    url = "m_uinf_passwordUpdate.html";
                }
            }
        } catch (DcwLoginException e) {
            logAppError(e.getMessage(), e);
            errorMessage(e.getExceptionCode());
        } catch (LoginException e) {
            logAppError(e.getMessage(), e);
            throw new WessSysMobileException(e.toString());
        } catch (Exception e) {
            logAppError(e.getMessage(), e);
            throw new WessSysMobileException(e.toString());
        }
        return url;
    }

log:(以下の場合、URL 再書き込みを使用可能にする をチェックしない)
セッション・トラッキング・メカニズム:   SSL ID トラッキングを使用可能にする  Cookie
を使用可能にする<http://localhost:9060/ibm/console/sessionManagerDetail.do?action=cookieDetails>
 URL
再書き込みを使用可能にする  プロトコル・スイッチ再書き込みを使用可能にする


"2007-12-28 18:53:36,984" "null" "null" "INFO " ログイン画面
"2007-12-28 18:53:45,562" "null" "null" "INFO " doLogin
"2007-12-28 18:53:45,578" "null" "null" "INFO " WF000101:ログインする
"2007-12-28 18:53:45,578" "null" "null" "INFO " diconファイルを読込む
"2007-12-28 18:53:45,578" "null" "null" "INFO " UserInfoDaoを生成する
"2007-12-28 18:53:45,578" "null" "null" "INFO " SysEnvSetLogicを生成する
"2007-12-28 18:53:45,578" "null" "null" "INFO " 検索条件:FBY001
"2007-12-28 18:53:46,390" "null" "null" "INFO " 検索結果:Bean <UserInfo>
serialVersionUID=3, TABLE=USER_INFO, id_ID=sequence,
sequenceName=seq_USER_INFO, id=3, sysId=F400000001, loginId=FBY001,
actsMngrId=mngr14 , prouserId=Z500000001, userClassLev=1, roleCd=000,
regNameCd=FBY00001, userNameF=房, userNameL=宝宝, userKanaFname=フサ,
userKanaLname=タカラ, comName=ABC, deptName=通信部門, tel1=03-2874-3716, tel2=null,
tel3=null, fax=null, mail1=1, mail2=null,
pw=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw1=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw2=40bd001563085fc35165329ea1ff5c5ecbdbbeef, kw=kwuser14,
validKigen=2009-01-14, loginTryTimes=0, lockRelDate=2007-12-25 10:09: 05.0,
finalLoginDate=2007-12-28, status=10, pwChgDate=2007-12-24, pwChgYn=0,
timestamp=2007-12-28 18:42:42.671, updrId=F400000001, updrNameF=房,
updrNameL=宝宝
"2007-12-28 18:53:46,406" "null" "null" "INFO " 更新条件:Bean <UserInfo>
serialVersionUID=3, TABLE=USER_INFO, id_ID=sequence,
sequenceName=seq_USER_INFO, id=3, sysId=F400000001, loginId=FBY001,
actsMngrId=mngr14 , prouserId=Z500000001, userClassLev=1, roleCd=000,
regNameCd=FBY00001, userNameF=房, userNameL=宝宝, userKanaFname=フサ,
userKanaLname=タカラ, comName=ABC, deptName=通信部門, tel1=03-2874-3716, tel2=null,
tel3=null, fax=null, mail1=1, mail2=null,
pw=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw1=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw2=40bd001563085fc35165329ea1ff5c5ecbdbbeef, kw=kwuser14,
validKigen=2009-01-14, loginTryTimes=0, lockRelDate=2007-12-25 10:09: 05.0,
finalLoginDate=2007-12-28, status=10, pwChgDate=2007-12-24, pwChgYn=0,
timestamp=2007-12-28 18:53:46.406, updrId=F400000001, updrNameF=房,
updrNameL=宝宝
"2007-12-28 18:53:46,406" "null" "null" "INFO " WF000101:ログインする
"2007-12-28 18:53:46,406" "null" "null" "INFO " RoleKengenInfoDaoを生成する
"2007-12-28 18:53:46,406" "null" "null" "INFO " 検索条件:000
"2007-12-28 18:53:46,453" "null" "null" "INFO "
検索結果:ArrayList<RoleKengenInfo>
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=1, roleCd=000,
kengenCd=000, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=2, roleCd=000,
kengenCd=010, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=3, roleCd=000,
kengenCd=012, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=4, roleCd=000,
kengenCd=013, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=5, roleCd=000,
kengenCd=014, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=6, roleCd=000,
kengenCd=020, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=7, roleCd=000,
kengenCd=021, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=8, roleCd=000,
kengenCd=023, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=9, roleCd=000,
kengenCd=024, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=10, roleCd=000,
kengenCd=025, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=252, roleCd=000,
kengenCd=027, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=40000, roleCd=000,
kengenCd=030, timestamp=2020-07-09 01:00:00.0, updrId=4000000000,
updrNameF=呂, updrNameL=金妍
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=11, roleCd=000,
kengenCd=030, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=12, roleCd=000,
kengenCd=031, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=13, roleCd=000,
kengenCd=032, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=14, roleCd=000,
kengenCd=033, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=15, roleCd=000,
kengenCd=034, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=16, roleCd=000,
kengenCd=035, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=17, roleCd=000,
kengenCd=036, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=18, roleCd=000,
kengenCd=037, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=253, roleCd=000,
kengenCd=042, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=19, roleCd=000,
kengenCd=043, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=20, roleCd=000,
kengenCd=044, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=21, roleCd=000,
kengenCd=045, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=22, roleCd=000,
kengenCd=050, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=23, roleCd=000,
kengenCd=051, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=24, roleCd=000,
kengenCd=052, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=254, roleCd=000,
kengenCd=053, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=25, roleCd=000,
kengenCd=061, timestamp=2007-09-07 16:11:00.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=26, roleCd=000,
kengenCd=062, timestamp=2007-09-07 16:11:01.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=27, roleCd=000,
kengenCd=070, timestamp=2007-09-07 16:11:01.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=28, roleCd=000,
kengenCd=071, timestamp=2007-09-07 16:11:01.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=29, roleCd=000,
kengenCd=072, timestamp=2007-09-07 16:11:01.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=30, roleCd=000,
kengenCd=073, timestamp=2007-09-07 16:11:01.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=255, roleCd=000,
kengenCd=075, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=256, roleCd=000,
kengenCd=090, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=257, roleCd=000,
kengenCd=091, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
 Bean <RoleKengenInfo> serialVersionUID=3, TABLE=ROLE_KENGEN_INFO,
id_ID=sequence, sequenceName=seq_ROLE_KENGEN_INFO, id=1258, roleCd=000,
kengenCd=041, timestamp=2007-09-07 16:36:06.0, updrId=0         ,
updrNameF=null, updrNameL=null
"2007-12-28 18:53:46,453" "null" "null" "INFO " WF020101:ログインする
"2007-12-28 18:53:46,453" "null" "null" "INFO " 検索条件:FBY001
"2007-12-28 18:53:46,453" "null" "null" "INFO " 検索結果:Bean <UserInfo>
serialVersionUID=3, TABLE=USER_INFO, id_ID=sequence,
sequenceName=seq_USER_INFO, id=3, sysId=F400000001, loginId=FBY001,
actsMngrId=mngr14 , prouserId=Z500000001, userClassLev=1, roleCd=000,
regNameCd=FBY00001, userNameF=房, userNameL=宝宝, userKanaFname=フサ,
userKanaLname=タカラ, comName=ABC, deptName=通信部門, tel1=03-2874-3716, tel2=null,
tel3=null, fax=null, mail1=1, mail2=null,
pw=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw1=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw2=40bd001563085fc35165329ea1ff5c5ecbdbbeef, kw=kwuser14,
validKigen=2009-01-14, loginTryTimes=0, lockRelDate=2007-12-25 10:09: 05.0,
finalLoginDate=2007-12-28, status=10, pwChgDate=2007-12-24, pwChgYn=0,
timestamp=2007-12-28 18:53:46.406, updrId=F400000001, updrNameF=房,
updrNameL=宝宝
"2007-12-28 18:53:46,468" "F400000001" "FBY001" "INFO " WF020101:ログインする
"2007-12-28 18:53:46,468" "F400000001" "FBY001" "INFO " 検索条件:FBY001
"2007-12-28 18:53:46,468" "F400000001" "FBY001" "INFO " 検索結果:Bean <UserInfo>
serialVersionUID=3, TABLE=USER_INFO, id_ID=sequence,
sequenceName=seq_USER_INFO, id=3, sysId=F400000001, loginId=FBY001,
actsMngrId=mngr14 , prouserId=Z500000001, userClassLev=1, roleCd=000,
regNameCd=FBY00001, userNameF=房, userNameL=宝宝, userKanaFname=フサ,
userKanaLname=タカラ, comName=ABC, deptName=通信部門, tel1=03-2874-3716, tel2=null,
tel3=null, fax=null, mail1=1, mail2=null,
pw=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw1=40bd001563085fc35165329ea1ff5c5ecbdbbeef,
pw2=40bd001563085fc35165329ea1ff5c5ecbdbbeef, kw=kwuser14,
validKigen=2009-01-14, loginTryTimes=0, lockRelDate=2007-12-25 10:09: 05.0,
finalLoginDate=2007-12-28, status=10, pwChgDate=2007-12-24, pwChgYn=0,
timestamp=2007-12-28 18:53:46.406, updrId=F400000001, updrNameF=房,
updrNameL=宝宝
"2007-12-28 18:53:46,500" "F400000001" "FBY001" "INFO "
システム環境情報テーブルから取得するパスワード有効期限日数60
"2007-12-28 18:53:46,500" "F400000001" "FBY001" "INFO "
システム環境情報テーブルから取得するパスワード変更督促日数14
"2007-12-28 18:53:46,609" "null" "null" "INFO " WF000102:アクセスを制御する
"2007-12-28 18:53:46,609" "null" "null" "INFO "
アクセスできない:/dcw/view/m/cmn/menu.html
"2007-12-28 18:53:46,750" "null" "null" "INFO " ログイン画面

log:(以下の場合、URL 再書き込みを使用可能にする をチェックする)
   セッション・トラッキング・メカニズム:   SSL ID トラッキングを使用可能にする  Cookie
を使用可能にする<http://localhost:9060/ibm/console/sessionManagerDetail.do?action=cookieDetails>
 URL
再書き込みを使用可能にする  プロトコル・スイッチ再書き込みを使用可能にする "2007-12-28 19:04:14,406" "null"
"null" "INFO " ログイン画面   元のURLは
http://172.20.38.67:9080/dcw/view/m/cmn/login.htmlですが、 ログインをクリックした後は
http://172.20.38.67:9080/dcw/view/error/error.html;jsessionid=0000Y5Q4mHqRrAhlytW1_H52eA7:-1
になります。   これはiモードシミュレータⅡでテストを行います。
2007/12/28, Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>:
>
> 小林 (koichik) です.
>
> もっと情報を提供してください.
> 例えば
>
> ・どのような画面で,どのような操作をしたのかという説明.
> ・requestDumpFilter 等のログ.
> ・再現可能なサンプル
>
> といった情報があれば何か分かるかもしれません.
>
>
> Date:    Fri, 28 Dec 2007 17:39:11 +0800
> From:    <[E-MAIL ADDRESS DELETED]>
> To:       [E-MAIL ADDRESS DELETED]
> Subject: [Seasar-user:12349] Re: websphere url rewriting
>
> > Thanks for your reply.
> >
> > But my project did can't work under websphere.
> > When i don't check on the url rewriting ,i can't login because of no
> session
> > found and can't pass the filter.
> > When i check on the url rewriting, it can automatically create
> jsessionid,
> > but still works wrong
> > Error 500: [ETDA0029]シネ、ヒ・�タ・、・�Д叩Ε諭▲�、�Ε法◆◆◆蹇▲院���
>>
> �葬�尞��齦鱚��粹逾�鈬繖���粹�瘤�齔繝蛛�頏閾鱇迯蜴�肬��蜩��壽緕�蓖��鼈阨趙��粹���彖�黼齠蜿�竢鈕蜃�鱇�闔��部�黼纃��黼跂齠�闔踟�竏繝�闔����鳰�鱚�鱸�鈑�瘤�竢闍蜈�
>> ����纉紮�齒辣�蜴��鳫鈑��蜚蓍��繖甅齔��蒹��繖��纈皷闔�薈���皷鈑��癆�竅�黼�逋�頏閧跂蹼
>> �屋扱�渦�恩��拜嗾�班覗�取蜃畧蜩蜆�竢�褓昇
>> ��皮�苺崧�
> ������巣竰閼蜴�����蛯�皷����蜚�蜩�黶蜆��癆
> ����������綜�瘰韭蜒癆蜿��癆��黼�孀�鱚�鱸�鈑����痺�黼齠蜿銖�逡齡�痲蒹鱚��
> ���竇鶯瘟�頏閾鱇迯蜴�苺蜆繻蜴纉��壽�瘰韭蜒癆蜿�粤�繻關纈�鈬繖���粹
> �������肬跛阯蜴膾
> ����������會閾鱇�黼鴟跂����緕竢粤�孀約
> �������囎韶踟��黼鴟跂�闥�捕�疵纈�纈�倚艱��嗤��肅跂�癈�瘤�緕��竟蜴����
> ��������瘰韭蜒癆蜿����������藍齡��≡粫纈���竇鶯瘟�頏閾鱇迯蜴�苺蜆繻蜴纉⊃
>
> ���怦緕���黼��辜癆�癈�逋�瘰韭蜒癆蜿�黼鴟纈��蜚�鴣銖��繻谺�壽��鳰�緕粤����蜚����褥纉皷闔蜆��瘤�蜚�蜩�癜�轣�竅跛�痲粤筮
> ���囂���瘤粤�蜀���‰縺黶����繖瓣�葹�瘡鱚痲�粹鈬�蜚�肬�����鷽���轣�竅跛�鱚�鱸���鳰�
> �����壹繖��黼�飛�嚆鴟跂�纉竟銖紕緕竢粤孀岬���緕竢粤吶粡鱚笏孀岬��
> ��囂��蜀�怛瞋韆纈�蜊韭纃緕��嚆鴟跂�双�竢逅跂�踟�
> ��尞��瘰韭蜒癆蜿��蛹��闥謫��繻谺
> ��搶��粹逾�鈬繖����黼�鱚齔闔黼�緕竢粤吶粡鱚笏孀岬�����
> ��烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝烝���嚆癈癇√黼�轣蛹蜴�跚齡
> ��嚆癈癇√黼鮴迪�黼癈癇�闥���蔗�鷓��迪�黼癈癇�闥膀轣蛹轣遲跚齡蜴肬�黼癈癇√黼���
>
> ⑬�
> 若闕竟鈬銓�釶辣就謠蜒蓍襤�����腫鳫鞳鶯�釶辣就胚跛令辣⊂∨濶竏�柾矚增鼈蘂鹿頏關纈������腫鳫鞳鶯�釶辣就纃瘟譬匠謠蜒蓍訐蜊頏阮纃緕�褓⊆�頏關纈������腫鳫鞳鶯�釶辣就碎閾⊂∵�雕��筮葹�釶�鈬�褓�謠蜒蓍襤鹿頏關纈��鹿竢逅闔緕�
>
>
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071228/c4c0aa7d/attachment-0001.html 


Seasar-user メーリングリストの案内