Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUserCodeFromRequest (0.34 sec)

  1. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            assertNull(userInfoHelper.getUserCodeFromRequest(request));
    
            request.setParameter("userCode", "");
            assertNull(userInfoHelper.getUserCodeFromRequest(request));
    
            final StringBuilder buf = new StringBuilder();
            buf.append("12345abcde");
            request.setParameter("userCode", buf.toString());
            assertNull(userInfoHelper.getUserCodeFromRequest(request));
    
            buf.append("12345ABCDE");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                String userCode = (String) request.getAttribute(Constants.USER_CODE);
                if (StringUtil.isNotBlank(userCode)) {
                    return userCode;
                }
    
                userCode = getUserCodeFromRequest(request);
                if (StringUtil.isNotBlank(userCode)) {
                    return userCode;
                }
    
                if (!request.isRequestedSessionIdValid()) {
                    return null;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top