Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setToken (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb/SpnegoContext.java

        }
    
    
        private SpnegoToken negotitate ( byte[] inputBuf, int offset, int len ) throws CIFSException {
            SpnegoToken spToken = getToken(inputBuf, offset, len);
            byte[] inputToken = null;
            if ( spToken instanceof NegTokenInit ) {
                NegTokenInit tinit = (NegTokenInit) spToken;
                ASN1ObjectIdentifier[] rm = tinit.getMechanisms();
                this.remoteMechs = rm;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top