Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 381 for authZ (0.02 seconds)

  1. internal/config/identity/plugin/config.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    func authNLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, "authN", err)
    }
    
    // Authentication Plugin config and env variables
    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator(subj, "DOM", "user", "pass");
            auth.setUser("alice");
            auth.setRealm("EXAMPLE.COM");
            auth.setService("cifs");
            auth.setUserLifeTime(123);
            auth.setLifeTime(456);
            auth.setForceFallback(true);
    
            Kerb5Authenticator cloned = auth.clone();
    
            assertNotSame(auth, cloned);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    
            // Assert interaction and return value
            assertSame(auth, result);
            verify(auth, times(1)).getSubject();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/DfsTest.java

            @Override
            public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled || auth.domain == "?")
                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
            t = new SmbTree(this, share, service);
            trees.addElement(t);
            return t;
        }
    
        boolean matches(final NtlmPasswordAuthentication auth) {
            return this.auth == auth || this.auth.equals(auth);
        }
    
        synchronized SmbTransport transport() {
            if (transport == null) {
                transport = SmbTransport.getSmbTransport(address, port, localAddr, localPort, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

                    this.auth.isGuest() ? null : this.auth.getUserDomain(),
                    this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(), this.workstation,
                    this.ntlmsspFlags, this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  7. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

        /**
         * Test parsing with an unknown auth type.
         * Expects an empty list of authorizations.
         * @throws PACDecodingException should not be thrown
         */
        @Test
        void testParseUnknownAuthType() throws PACDecodingException {
            // GIVEN an unknown auth type
            int unknownAuthType = -1;
            byte[] emptyToken = new byte[0];
    
            // WHEN parsing the auth data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

        /**
         * Gets the map of trusted domains for DFS resolution
         * @param auth the authentication credentials
         * @return a map of trusted domain names to domain controllers
         * @throws SmbAuthException if authentication fails
         */
        public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED || auth.domain == "?") {
                return null;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                if (cred instanceof final NtlmPasswordAuthentication auth) {
                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
                        ntHash = new byte[0];
                        capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                    } else if (session.transport.server.encryptedPasswords) {
                        lmHash = auth.getAnsiHash(session.transport.server.encryptionKey);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         */
        public NtlmContext(final NtlmPasswordAuthentication auth, final boolean doSigning) {
            this.auth = auth;
            this.ntlmsspFlags =
                    ntlmsspFlags | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2 | NtlmFlags.NTLMSSP_NEGOTIATE_128;
            if (doSigning) {
                this.ntlmsspFlags |=
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top