Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for anonymous (0.05 sec)

  1. src/main/java/jcifs/Credentials.java

         * Get the domain of the user account.
         * @return the domain the user account is in
         */
        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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        }
    
        // Test ANONYMOUS constant
        @Test
        void testAnonymousConstant() {
            assertNotNull(NtlmPasswordAuthentication.ANONYMOUS);
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getDomain());
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getUsername());
            assertEquals("", NtlmPasswordAuthentication.ANONYMOUS.getPassword());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java

            }
        }
    
        Sub2Interface getSomeProp() {
            // ignore classes in method bodies
            class IgnoreMe {}
    
            // ignore anonymous classes
            return new Sub2Interface() { };
        }
    
        // ignore anonymous classes
        final Runnable ignoreMe = new Runnable() {
            public void run() {
            }
        };
    
        InnerClass.AnotherInner getInnerClassProp() { return null; }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 876 bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += securityBufferLength;
    
            return bufferIndex - start;
        }
    
        /**
         * Checks whether the session is either anonymous or a guest session
         *
         * @return whether the session is either anonymous or a guest session
         */
        public boolean isLoggedInAsGuest() {
            return (this.sessionFlags & (SMB2_SESSION_FLAGS_IS_GUEST | SMB2_SESSION_FLAGS_IS_NULL)) != 0;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `anonymous classes are excluded (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public void some() {}
                    }
                """,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
            // Test with anonymous authentication
            SmbComSessionSetupAndX anonSetup = new SmbComSessionSetupAndX(mockSession, mockAndx, NtlmPasswordAuthentication.ANONYMOUS);
            assertNotNull(anonSetup);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, anonSetup.command);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    	// Colorize the message and print.
    	logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr)))
    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Startup(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Startup(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CredentialsTest.java

        }
    
        @Test
        @DisplayName("Should check for anonymous credentials")
        void testIsAnonymous() {
            // Given
            when(mockCredentials.isAnonymous()).thenReturn(true);
    
            // When
            boolean isAnonymous = mockCredentials.isAnonymous();
    
            // Then
            assertTrue(isAnonymous);
            verify(mockCredentials).isAnonymous();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            assertFalse(notEnforcedRequest.isSigningEnforced(), "Not enforced request should return false");
        }
    
        @Test
        @DisplayName("Test anonymous class implementation")
        void testAnonymousClassImplementation() {
            // Given
            SmbNegotiationRequest anonymousRequest = new SmbNegotiationRequest() {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
        }
    
        GroovyInterface getSomeProp() {
            // ignore anonymous classes
            return new GroovyInterface() {}
        }
    
        InnerClass.AnotherInner innerClassProp
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 609 bytes
    - Viewed (0)
Back to top