- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for lockout (1.69 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
private final AtomicBoolean lockedOut = new AtomicBoolean(false); void recordFailure() { failedAttempts.incrementAndGet(); lastAttempt = Instant.now(); } void reset() { failedAttempts.set(0); lockedOut.set(false); lockoutExpiry = null; } void lockOut(Duration duration) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
} catch (SmbException e) { // Expected } // Wait for lockout to expire Thread.sleep(2100); // Lockout is 2 seconds in test setup // Should be allowed again assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after lockout expiry"); } @Test public void testSuccessResetsCounter() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
@DisplayName("Should calculate size for various lock counts") @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 }) void testSizeWithVariousLockCounts(int lockCount) { Smb2Lock[] locks = new Smb2Lock[lockCount]; for (int i = 0; i < lockCount; i++) { locks[i] = new Smb2Lock(i * 100L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoResponseType.java
* such as metadata requests and logout actions. */ public enum SsoResponseType { /** * Indicates a request for SSO metadata, which is typically used for * configuration and discovery in protocols like SAML. */ METADATA, /** * Indicates a request to perform a logout operation, terminating the * user's SSO session. */ LOGOUT;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Mock the stream directly SmbPipeOutputStream mockOut = mock(SmbPipeOutputStream.class); // Create spy and override getOutput SmbPipeHandleImpl spyHandle = spy(handle); doReturn(mockOut).when(spyHandle).getOutput(); byte[] b = new byte[10]; spyHandle.send(b, 2, 4); verify(mockOut).writeDirect(eq(b), eq(2), eq(4), eq(1)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java
/** * Handles user logout and redirects to the login page. * * @return the HTML response after logout */ @Execute public HtmlResponse index() { final OptionalThing<FessUserBean> userBean = getUserBean(); activityHelper.logout(userBean); final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null); fessLoginAssist.logout();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java
* @return The action response. */ ActionResponse getResponse(SsoResponseType responseType); /** * Performs logout for the specified user. * @param user The user to logout. * @return The logout URL or null if not applicable. */ String logout(FessUserBean user);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
} } return null; } /** * Performs logout operations for the specified user using SSO. * * @param user The user to logout * @return The logout URL from the SSO authenticator, or null if SSO is not available */ public String logout(final FessUserBean user) { if (available()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/header.jsp
<la:link href="/admin" styleClass="dropdown-item"> <la:message key="labels.administration" /> </la:link> </c:if> <la:link href="/logout/" styleClass="dropdown-item"> <la:message key="labels.logout" /> </la:link> </div> </div> </li> </c:when> <c:when test="${ pageLoginLink }"> <li class="nav-item"><la:link href="/login"
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 4.2K bytes - Viewed (0)