Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 382 for token1 (0.03 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

        }
    
        /**
         * Constructs a NegTokenInit by parsing the provided token bytes
         * @param token the SPNEGO token bytes to parse
         * @throws IOException if parsing fails
         */
        public NegTokenInit(final byte[] token) throws IOException {
            parse(token);
        }
    
        /**
         * Gets the context flags indicating security capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Security Buffer Length
            assertEquals(token.length, SMBUtil.readInt2(buffer, bodyOffset + 14));
    
            // Previous Session ID
            assertEquals(previousSessionId, SMBUtil.readInt8(buffer, bodyOffset + 16));
    
            // Token content
            byte[] actualToken = new byte[token.length];
            System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length);
            assertArrayEquals(token, actualToken);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/first-steps.md

    Se ele não ver o header de `Autorização` ou o valor não tem um token `Bearer`, vai responder com um código de erro  401 (`UNAUTHORIZED`) diretamente.
    
    Você nem precisa verificar se o token existe para retornar um erro. Você pode ter certeza de que se a sua função for executada, ela terá um `str` nesse token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/security/first-steps.md

    Si no ve un header `Authorization`, o el valor no tiene un token `Bearer `, responderá directamente con un error de código de estado 401 (`UNAUTHORIZED`).
    
    Ni siquiera tienes que verificar si el token existe para devolver un error. Puedes estar seguro de que si tu función se ejecuta, tendrá un `str` en ese token.
    
    Puedes probarlo ya en los docs interactivos:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/NegTokenInitTest.java

        void testParseRejectsUnknownField() throws Exception {
            ASN1TaggedObject unknown = new DERTaggedObject(true, 7, new DEROctetString(new byte[] { 0x01 }));
            byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, null, null, unknown);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    /**
     * Represents a Kerberos authentication token.
     */
    public class KerberosToken {
    
        private KerberosApRequest apRequest;
    
        /**
         * Constructs a KerberosToken from token bytes.
         *
         * @param token the token bytes
         * @throws PACDecodingException if token decoding fails
         */
        public KerberosToken(byte[] token) throws PACDecodingException {
            this(token, null);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

        /**
         * Constructs KerberosPacAuthData from token bytes.
         *
         * @param token the PAC token bytes
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if PAC decoding fails
         */
        public KerberosPacAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name))
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

        @ValidateTypeFailure
        public Integer crudMode;
    
        /** Token (word) to be added to the dictionary */
        @Required
        @Size(max = 1000)
        public String token;
    
        /** Segmentation information for the token */
        @Required
        @Size(max = 1000)
        public String segmentation;
    
        /** Reading (pronunciation) of the token in katakana */
        @Required
        @Size(max = 1000)
        public String reading;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top