Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Hosken (0.1 sec)

  1. AccessTokenService.java

    L92: } L93: L94: public OptionalEntity<Set<String>> getPermissions(final HttpServletRequest request) { L95: final String token = ComponentUtil.getAccessTokenHelper().getAccessTokenFromRequest(request); L96: if (StringUtil.isNotBlank(token)) { L97: return accessTokenBhv.selectEntity(cb -> { L98: cb.query().setToken_Term(token); L99: }).map(accessToken -> { L100: final Set<String> permissionSet = new HashSet<>(); L101: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      4.6K bytes
  2. KuromojiItem.java

    other.pos) || !Objects.equals(reading, other.reading) || !Objects.equals(segmentation, other.segmentation) L126: || !Objects.equals(token, other.token)) { L127: return false; L128: } L129: return true; L130: } L131: L132: @Override L133: public String toString() { L134: return "KuromojiItem [token=" + token + ", segmentation=" + segmentation + ", reading=" + reading + ", pos=" + pos + ", newToken=" L135: + newToken + ", newSegmentation="...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      4.5K bytes
  3. BsAccessToken.java

    registerModifiedProperty("permissions"); L204: this.permissions = value; L205: } L206: L207: public String getToken() { L208: checkSpecifiedProperty("token"); L209: return convertEmptyToNull(token); L210: } L211: L212: public void setToken(String value) { L213: registerModifiedProperty("token"); L214: this.token = value; L215: } L216: L217: public String getUpdatedBy() { L218: checkSpecifiedProperty("updatedBy"); L219: return convertEmptyToNull(updatedBy);...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      7.5K bytes
  4. AccessTokenTests.java

    checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString(); L102: String token = JsonPath.from(response).get("response.setting.token"); L103: checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then() L104: .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name)) L105: .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token)); L106: } L107: L108: @Test L109: void crudTest() { L110: testCreate(); L111:...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.7K bytes
  5. AccessTokenHelper.java

    piAccessTokenLengthAsInteger(), 0, 0, true, true, null, random); L36: } L37: L38: public String getAccessTokenFromRequest(final HttpServletRequest request) { L39: final String token = request.getHeader("Authorization"); L40: if (token != null) { L41: final String[] values = token.trim().split(" "); L42: if (values.length == 2 && BEARER.equals(values[0])) { L43: return values[1]; L44: } L45: if (values.length == 1 && !...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      2.1K bytes
  6. ITBase.java

    DEFAULT_TEST_TOKEN_ID = "testToken"; L34: private static final String TEST_TOKEN = "test.token"; L35: L36: public static String getTestToken() { L37: return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN); L38: } L39: L40: public static String settingTestToken() { L41: final String testToken = System.getProperty(TEST_TOKEN); L42: if (testToken != null) { L43: logger.info("Token: {}", testToken); L44: return testToken; L45: } L46: L47: ...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.3K bytes
  7. AccessTokenHelperTest.java

    void test_getAccessTokenFromRequest_ok0() { L53: final String token = accessTokenHelper.generateAccessToken(); L54: MockletHttpServletRequest req = getMockRequest(); L55: req.addHeader("Authorization", "Bearer " + token); L56: assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req)); L57: } L58: L59: public void test_getAccessTokenFromRequest_ok1() { L60: final String token = accessTokenHelper.generateAccessToken(); L61: MockletHttpServletRequest...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.1K bytes
  8. AccessToken.java

    } L52: L53: public void setExpires(final Date date) { L54: setExpiredTime(date != null ? date.getTime() : null); L55: } L56: L57: @Override L58: public String toString() { L59: return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName=" L60: + parameterName + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", updatedBy=" + updatedBy L61: + ", updatedTime=" + updatedTime...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      1.9K bytes
  9. KuromojiTests.java

    private static final String LIST_ENDPOINT_SUFFIX = "settings"; L30: private static final String ITEM_ENDPOINT_SUFFIX = "setting"; L31: private static final String DICT_TYPE = "kuromoji"; L32: L33: private static final String KEY_PROPERTY = "token"; L34: L35: @Override L36: protected String getNamePrefix() { L37: return NAME_PREFIX; L38: } L39: L40: @Override L41: protected String getApiPath() { L42: return API_PATH; L43: } L44: L45: @Override L46: protected...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.5K bytes
  10. CreateForm.java

    @author Keiichi Watanabe L27: */ L28:public class CreateForm { L29: L30: @Required L31: public String dictId; L32: L33: @ValidateTypeFailure L34: public Integer crudMode; L35: L36: @Required L37: @Size(max = 1000) L38: public String token; L39: L40: @Required L41: @Size(max = 1000) L42: public String segmentation; L43: L44: @Required L45: @Size(max = 1000) L46: public String reading; L47: L48: @Required L49: @Size(max = 1000) L50: public String pos; L51: L52:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      1.4K bytes
Back to top