- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for setToken (0.1 sec)
-
src/main/java/org/codelibs/fess/es/config/bsentity/BsAccessToken.java
registerModifiedProperty("permissions"); this.permissions = value; } public String getToken() { checkSpecifiedProperty("token"); return convertEmptyToNull(token); } public void setToken(String value) { registerModifiedProperty("token"); this.token = value; } public String getUpdatedBy() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java
validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final AccessToken accessToken = getAccessToken(body).map(entity -> { entity.setToken(accessTokenHelper.generateAccessToken()); try { accessTokenService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java
setupEpg(_epgMap, et -> ((AccessToken) et).getPermissions(), (et, vl) -> ((AccessToken) et).setPermissions((String[]) vl), "permissions"); setupEpg(_epgMap, et -> ((AccessToken) et).getToken(), (et, vl) -> ((AccessToken) et).setToken(DfTypeUtil.toString(vl)), "token"); setupEpg(_epgMap, et -> ((AccessToken) et).getUpdatedBy(), (et, vl) -> ((AccessToken) et).setUpdatedBy(DfTypeUtil.toString(vl)), "updatedBy");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java
result.setParameterName(DfTypeUtil.toString(source.get("parameter_name"))); result.setPermissions(toStringArray(source.get("permissions"))); result.setToken(DfTypeUtil.toString(source.get("token"))); result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy"))); result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
verifyCrudMode(form.crudMode, CrudMode.CREATE); validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getAccessToken(form).ifPresent(entity -> { entity.setToken(accessTokenHelper.generateAccessToken()); try { accessTokenService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
for (int i = 0; i < itemList.size(); i++) { final KuromojiItem kuromojiItem = itemList.get(i); assertEquals("token" + (i + 1), kuromojiItem.getToken()); assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation()); assertEquals("reading" + (i + 1), kuromojiItem.getReading()); assertEquals("pos" + (i + 1), kuromojiItem.getPos());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
) const ( k8sServiceHost = "10.96.0.1" k8sServicePort = "443" kubeCAFilepath = "testdata/kube-ca.crt" saToken = "service_account_token_string" ) func TestCreateValidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) cases := []struct { name string expectedFailure bool k8sServiceProtocol string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
public void test_new1() { final KuromojiItem kuromojiItem = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertEquals(1, kuromojiItem.getId()); assertEquals("t1", kuromojiItem.getToken()); assertEquals("s1", kuromojiItem.getSegmentation()); assertEquals("r1", kuromojiItem.getReading()); assertEquals("p1", kuromojiItem.getPos()); assertNull(kuromojiItem.getNewToken());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
protected EditBody createEditBody(final KuromojiItem entity, final String dictId) { final EditBody body = new EditBody(); body.id = entity.getId(); body.dictId = dictId; body.token = entity.getToken(); body.reading = entity.getReading(); body.pos = entity.getPos(); body.segmentation = entity.getSegmentation(); return body; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
} public String getNewPos() { return newPos; } public void setNewPos(final String newPos) { this.newPos = newPos; } public String getToken() { return token; } public String getSegmentation() { return segmentation; } public String getReading() { return reading; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.5K bytes - Viewed (0)