- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 338 for validateId (0.05 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
* @return HTML response redirecting to the storage list after upload */ @Execute @Secured({ ROLE }) public HtmlResponse upload(final ItemForm form) { validate(form, messages -> {}, () -> asListHtml(form.path)); if (form.uploadFile == null) { throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path)); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
} return true; } /** * Checks if the given value matches any of the specified protocols. * * @param protocols the allowed protocols * @param value the URI string to validate * @return true if the value matches allowed protocols, false otherwise */ protected static boolean check(final String[] protocols, final String value) { final String[] paths = value.split("[\r\n]");Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.9K bytes - Viewed (0) -
docs_src/security/tutorial005_py39.py
else: authenticate_value = "Bearer" credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Then assertTrue(isDfs, "Should indicate DFS status"); verify(mockResponse).isShareDfs(); } @Test @DisplayName("Should validate tree ID") void testIsValidTid() { // Given when(mockResponse.isValidTid()).thenReturn(true); // When boolean isValid = mockResponse.isValidTid();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
} @Test @DisplayName("accept: rejects null input with meaningful NullPointerException") void accept_rejectsNullInput() { // Arrange: defensive filter that validates input SmbFileFilter filter = f -> { if (f == null) { throw new NullPointerException("file must not be null"); } return true; // not reached in this testRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
* @return ActionResponse containing the cached document content or error redirect */ @Execute public ActionResponse index(final CacheForm form) { validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp))); if (isLoginRequired()) { return redirectToLogin(); } Map<String, Object> doc = null; try {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
// will be reported during Mojo fields populate } // fallback - in case of error in expressionEvaluator return false; } @Override public final void validate( MavenSession mavenSession, MojoDescriptor mojoDescriptor, Class<?> mojoClass, PlexusConfiguration pomConfiguration, ExpressionEvaluator expressionEvaluator) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
else: authenticate_value = "Bearer" credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
import jcifs.SmbTree; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.Request; /** * Tests for SmbTreeInternal interface behavior via mocks. * Since this is an interface, we validate its public API contract * through interaction testing and generic type usage. */ @ExtendWith(MockitoExtension.class) class SmbTreeInternalTest { @Mock private SmbTreeInternal tree; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)