Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for getTokens (0.34 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java

    /**
     * Data to identify and connect to a daemon.
     */
    public interface DaemonConnectDetails {
        String getUid();
    
        Long getPid();
    
        Address getAddress();
    
        byte[] getToken();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 893 bytes
    - Viewed (0)
  2. pkg/bootstrap/platform/aws.go

    		instanceID:       getInstanceID(ipv6, headers),
    	}
    }
    
    func requestHeaders(ipv6 bool) map[string]string {
    	// try to get token first, if it fails, fallback to IMDSv1
    	token := getToken(ipv6)
    	if token == "" {
    		log.Debugf("token is empty, will fallback to IMDSv1")
    	}
    
    	headers := make(map[string]string, 1)
    	if token != "" {
    		headers["X-aws-ec2-metadata-token"] = token
    	}
    	return headers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Command.java

            this.identifier = identifier;
            this.token = token;
        }
    
        /**
         * Returns the authentication token for this command.
         */
        public byte[] getToken() {
            return token;
        }
    
        /**
         * @return an id that is guaranteed to be unique in the same process
         */
        public UUID getIdentifier() {
            return identifier;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

                    if (connection == null) {
                        continue;
                    }
                    dispatch(connection, new InvalidateVirtualFileSystemAfterChange(changedPaths, idGenerator.generateId(), connection.getDaemon().getToken()));
                }
            }
        }
    
        private static void dispatch(Connection<Message> connection, Command command) {
            Throwable failure = null;
            try {
                connection.dispatch(command);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/SingleUseDaemonClient.java

            DaemonClientConnection daemonConnection = getConnector().startSingleUseDaemon();
            Build build = new Build(getIdGenerator().generateId(), daemonConnection.getDaemon().getToken(), action, buildRequestContext.getClient(), buildRequestContext.getStartTime(), buildRequestContext.isInteractive(), parameters);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

                if (connection != null) {
                    try {
                        final ReportStatus statusCommand = new ReportStatus(idGenerator.generateId(), daemon.getToken());
                        final Status status = reportStatusDispatcher.dispatch(connection, statusCommand);
                        if (status != null) {
                            statuses.add(status);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultIncomingConnectionHandler.java

                LOGGER.debug("{}{} with connection: {}.", DaemonMessages.STARTED_EXECUTING_COMMAND, command, connection);
                try {
                    if (!Arrays.equals(command.getToken(), token)) {
                        throw new BadlyFormedRequestException(String.format("Unexpected authentication token in command %s received from %s", command, connection));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsAccessToken.java

            return permissions;
        }
    
        public void setPermissions(String[] value) {
            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public String getToken() {
            checkSpecifiedProperty("token");
            return convertEmptyToNull(token);
        }
    
        public void setToken(String value) {
            registerModifiedProperty("token");
            this.token = value;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top