- Sort Score
- Result 10 results
- Languages All
Results 1221 - 1230 of 1,456 for Failed (0.05 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ``` But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks". ### Timing Attacks { #timing-attacks } But what's a "timing attack"? Let's imagine some attackers are trying to guess the username and password.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
return params.get(key); } /** * Retrieves a parameter value as a String. * If the stored value is already a String, it is returned directly. * Otherwise, the toString() method is called on the value. * * @param key the parameter key to look up * @return the parameter value as a String, null if not found or value is null */ public String getAsString(final String key) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
@Test @DisplayName("Test constructor with invalid information level") void testConstructorWithInvalidInformationLevel() { // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99); assertNotNull(trans2); // Exception should be thrown when trying to write parameters byte[] buffer = new byte[256];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Act handle.close(); // Assert // Verify sendrecv was called once for open and once for close verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
for (int dos : inputs) { int nt = findNtStatusOrMinusOne(dos); if (nt != -1) { consumer.accept(dos, nt); } } // Assert: consumer called exactly for the 3 known codes, with the right arguments ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class); ArgumentCaptor<Integer> ntCaptor = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/en/docs/tutorial/security/index.md
* `bearer`: a header `Authorization` with a value of `Bearer ` plus a token. This is inherited from OAuth2. * HTTP Basic authentication. * HTTP Digest, etc. * `oauth2`: all the OAuth2 ways to handle security (called "flows"). * Several of these flows are appropriate for building an OAuth 2.0 authentication provider (like Google, Facebook, X (Twitter), GitHub, etc): * `implicit` * `clientCredentials`Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
*/ protected FilterChain filterChain; /** * Initializes the query processor after construction. * This method creates the initial filter chain from the registered filters. * Called automatically by the DI container after bean construction. */ @PostConstruct public void init() { createFilterChain(); } /** * Executes query processing through the filter chain.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/archive/tar/common.go
// "SCHILY.xattr." namespace. // // The following are semantically equivalent: // h.Xattrs[key] = value // h.PAXRecords["SCHILY.xattr."+key] = value // // When Writer.WriteHeader is called, the contents of Xattrs will take // precedence over those in PAXRecords. // // Deprecated: Use PAXRecords instead. Xattrs map[string]string // PAXRecords is a map of PAX extended header records. //
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionBean.java
} @Override public void xsetPaging(boolean paging) { // Do nothing because this is unsupported on ConditionBean. // And it is possible that this method is called by PagingInvoker. } @Override public void enablePagingCountLater() { // nothing } @Override public void disablePagingCountLater() { // nothing }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java
} @Override public void xsetPaging(boolean paging) { // Do nothing because this is unsupported on ConditionBean. // And it is possible that this method is called by PagingInvoker. } @Override public void enablePagingCountLater() { // nothing } @Override public void disablePagingCountLater() { // nothing }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 17.8K bytes - Viewed (0)