Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tok (0.01 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    if (minorVersion == null) {
                        fallback = true;
                    }
                }
                if (idx < tok.length) {
                    incrementalVersion = getNextIntegerToken(tok[idx++]);
                    if (incrementalVersion == null) {
                        fallback = true;
                    }
                }
                if (idx < tok.length) {
                    qualifier = tok[idx];
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/SpnegoTokenTest.java

         */
        static class TestSpnegoToken extends SpnegoToken {
            private boolean parsed = false;
    
            @Override
            public byte[] toByteArray() {
                byte[] tok = getMechanismToken();
                return tok == null ? new byte[0] : tok;
            }
    
            @Override
            protected void parse(byte[] token) throws IOException {
                if (token == null) {
                    throw new IOException("token is null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {
            // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms
            NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);
            return tok.toByteArray();
        }
    
        @Test
        @DisplayName("createContext: rejects NetBIOS/short host names")
        void createContext_rejectsShortNetbiosHost() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/MIENameTest.java

                        byte[] tok = new byte[] { 0x04, 0x01 };
                        byte[] buf = new byte[2 + 2 + der.length + 4];
                        int p = 0;
                        buf[p++] = tok[0];
                        buf[p++] = tok[1];
                        buf[p++] = 0x00;
                        buf[p++] = (byte) der.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Config.java

            final String p = props.getProperty(key);
            if (p != null) {
                final StringTokenizer tok = new StringTokenizer(p, delim);
                final int len = tok.countTokens();
                final InetAddress[] arr = new InetAddress[len];
                for (int i = 0; i < len; i++) {
                    final String addr = tok.nextToken();
                    try {
                        arr[i] = InetAddress.getByName(addr);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

            }
            try {
                NegTokenInit tok = new NegTokenInit(initialToken);
                if (log.isDebugEnabled()) {
                    log.debug("Have initial token " + tok);
                }
                if (tok.getMechanisms() != null) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

            final String p = getProperty(key);
            if (p != null) {
                final StringTokenizer tok = new StringTokenizer(p, delim);
                final int len = tok.countTokens();
                final InetAddress[] arr = new InetAddress[len];
                for (int i = 0; i < len; i++) {
                    final String addr = tok.nextToken();
                    try {
                        arr[i] = InetAddress.getByName(addr);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    NegTokenInit tok = new NegTokenInit(initialToken);
                    if (log.isDebugEnabled()) {
                        log.debug("Have initial token " + tok);
                    }
                    if (tok.getMechanisms() != null) {
                        Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top