- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isAnonymous (0.05 sec)
-
src/test/java/jcifs/CredentialsTest.java
void testIsAnonymous() { // Given when(mockCredentials.isAnonymous()).thenReturn(true); // When boolean isAnonymous = mockCredentials.isAnonymous(); // Then assertTrue(isAnonymous); verify(mockCredentials).isAnonymous(); } @Test @DisplayName("Should check for guest credentials") void testIsGuest() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNonAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(false); assertTrue(context.hasDefaultCredentials()); } @Test void testHasDefaultCredentials_withAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(true); assertFalse(context.hasDefaultCredentials()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
final ServerData server = negotiated.getServerData(); if (server.security == SmbConstants.SECURITY_USER) { if (cred instanceof final NtlmPasswordAuthenticator a) { if (a.isAnonymous()) { this.lmHash = new byte[0]; this.ntHash = new byte[0]; this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY; if (a.isGuest()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
this.configuration = new StaticJAASConfiguration(properties); } /** * {@inheritDoc} * * @see jcifs.smb.Kerb5Authenticator#isAnonymous() */ @Override public boolean isAnonymous() { return false; } /** * {@inheritDoc} * * @see jcifs.smb.NtlmPasswordAuthenticator#isGuest() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/Credentials.java
*/ String getUserDomain(); /** * Check if these are anonymous credentials. * @return whether these are anonymous credentials */ boolean isAnonymous(); /** * Check if these are guest credentials. * @return whether these are guest credentials */ boolean isGuest();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
* * @see jcifs.CIFSContext#hasDefaultCredentials() */ @Override public boolean hasDefaultCredentials() { return this.getDefaultCredentials() != null && !this.getDefaultCredentials().isAnonymous(); } /** * Gets the default credentials for this context. * * @return the default credentials for this context */ protected abstract Credentials getDefaultCredentials();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
} @Test void anonymousGuestCredentials() throws Exception { setupNegotiateStubs(); NtlmPasswordAuthenticator auth = mock(NtlmPasswordAuthenticator.class); when(auth.isAnonymous()).thenReturn(true); when(auth.isGuest()).thenReturn(true); when(auth.getUsername()).thenReturn("guest"); when(auth.getUserDomain()).thenReturn("dom"); // Construct
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// no-op for tests } @Override public boolean isGuest() { return false; // not guest for test purposes } @Override public boolean isAnonymous() { return false; // not anonymous for test purposes } @Override public String getUserDomain() { return "TESTDOMAIN"; // test domain for test purposes }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/CreateForm.java
@Required public String dictId; /** The CRUD operation mode for form processing */ @ValidateTypeFailure public Integer crudMode; /** The input terms that should be considered synonymous */ @Required @Size(max = 1000) public String inputs; /** The output synonyms that should be matched for the input terms */ @Required @Size(max = 1000) public String outputs;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0)