Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for zoeken (1.04 sec)

  1. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

        /**
         * Generate the access token.
         * @return The access token.
         */
        public String generateAccessToken() {
            return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random);
        }
    
        /**
         * Get the access token from the request.
         * @param request The request.
         * @return The access token.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenTargTest.java

        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
            // mechanism, token and mic are left null
    
            byte[] bytes = token.toByteArray();
            NegTokenTarg parsed = new NegTokenTarg(bytes);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SpnegoContext.java

        private static SpnegoToken getToken(final byte[] token, final int off, final int len) throws SpnegoException {
            byte[] b = new byte[len];
            if (off == 0 && token.length == len) {
                b = token;
            } else {
                System.arraycopy(token, off, b, 0, len);
            }
            return getToken(b);
        }
    
        private static SpnegoToken getToken(final byte[] token) throws SpnegoException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

     */
    class KerberosTokenTest {
    
        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
         * Test constructor with a malformed token (not ASN.1).
         */
        @Test
        void testConstructorWithMalformedToken() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

                    .result());
        }
    
        // GET /api/admin/accesstoken/setting/{id}
        /**
         * Retrieves a specific access token setting by ID.
         *
         * @param id the access token ID to retrieve
         * @return JSON response with the access token setting
         */
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/SearchBody.java

    import org.codelibs.fess.app.web.api.admin.BaseSearchBody;
    
    /**
     * Search request body for access token administration.
     * Extends BaseSearchBody with access token-specific search parameters.
     */
    public class SearchBody extends BaseSearchBody {
    
        /** The access token ID to search for. */
        public String id;
    
        /**
         * Default constructor for SearchBody.
         */
        public SearchBody() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            byte[] token = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
                    ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
            when(kerberosKey.getKeyType()).thenReturn(99); // Different key type
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(token, (byte) 0, keys));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SpnegoContextTest.java

            SpnegoContext ctx = newContext();
    
            // The initial token path should ask the mechanism for a zero-length optimistic token
            when(this.mechContext.getFlags()).thenReturn(0x1234);
            when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 });
    
            // Act: len==0 triggers initial token construction
            byte[] out = ctx.initSecContext(null, 0, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

            setMechanismListMIC(mechanismListMIC);
        }
    
        /**
         * Constructs a NegTokenTarg by parsing the provided token bytes
         * @param token the SPNEGO token bytes to parse
         * @throws IOException if parsing fails
         */
        public NegTokenTarg(final byte[] token) throws IOException {
            parse(token);
        }
    
        /**
         * Gets the negotiation result code
         * @return the result code
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

        /**
         * Creates a Kerberos AP request from a token.
         *
         * @param token the Kerberos AP-REQ token
         * @param keys the Kerberos keys for decryption
         * @throws PACDecodingException if the token cannot be decoded
         */
        public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top