Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 370 for authN (0.02 seconds)

  1. docs/iam/opa.md

    ```
    
    ### 2. Create a sample OPA Policy
    
    In another terminal, create a policy that allows root user all access and for all other users denies `PutObject`:
    
    ```sh
    cat > example.rego <<EOF
    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 2.3K bytes
    - Click Count (0)
  2. internal/grid/grid.go

    	}
    }
    
    // ConnectWS returns a function that dials a websocket connection to the given address.
    // Route and auth are added to the connection.
    func ConnectWS(dial ContextDialer, auth AuthFn, tls *tls.Config) func(ctx context.Context, remote string) (net.Conn, error) {
    	return ConnectWSWithRoutePath(dial, auth, tls, RoutePath)
    }
    
    // ValidateTokenFn must validate the token and return an error if it is invalid.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/NtlmServlet.java

                        return;
                    }
                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
  4. cmd/signature-v4-parser.go

    		authFields := strings.Split(strings.TrimSpace(v4Auth), ",")
    		if len(authFields) != 3 {
    			return auth.Credentials{}, false, ErrMissingFields
    		}
    		ch, s3Err = parseCredentialHeader(authFields[0], region, stype)
    		if s3Err != ErrNone {
    			return auth.Credentials{}, false, s3Err
    		}
    	}
    	return checkKeyValid(r, ch.accessKey)
    }
    
    // parse credentialHeader string into its structured form.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. cmd/metrics-v3-handler.go

    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    	metricsData *metricsV3Collection
    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    	globalMetricsV3Once           sync.Once
    )
    
    func newMetricsV3Server(auth func(h http.Handler) http.Handler) *metricsV3Server {
    	registry := prometheus.NewRegistry()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacMacTest.java

    import java.security.GeneralSecurityException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

    import java.util.stream.Collectors;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    import org.apache.http.auth.NTCredentials;
    import org.apache.http.auth.UsernamePasswordCredentials;
    import org.apache.http.impl.auth.BasicScheme;
    import org.apache.http.impl.auth.DigestScheme;
    import org.apache.http.impl.auth.NTLMScheme;
    import org.apache.logging.log4j.LogManager;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

    package jcifs.pac.kerberos;
    
    import java.security.Key;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    
    import javax.security.auth.Subject;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    
    /**
     * Kerberos credentials management class that handles authentication through JAAS.
     */
    public class KerberosCredentials {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        synchronized SmbSession getSmbSession(final NtlmPasswordAuthentication auth) {
            SmbSession ssn;
            long now;
    
            ListIterator iter = sessions.listIterator();
            while (iter.hasNext()) {
                ssn = (SmbSession) iter.next();
                if (ssn.matches(auth)) {
                    ssn.auth = auth;
                    return ssn;
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
Back to Top