Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 292 for authN (0.02 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
    
            filter.doFilter(request, response, filterChain);
    
            verify(filterChain).doFilter(any(NtlmHttpServletRequest.class), eq(response));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * @param pipeType the type of the pipe
         * @param auth the authentication credentials to use
         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbNamedPipe(final String url, final int pipeType, final NtlmPasswordAuthentication auth)
                throws MalformedURLException, UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	case accountName == globalActiveCred.AccessKey || newGlobalAuthZPluginFn() != nil:
    		// For owner account and when plugin authZ is configured always set
    		// effective policy as `consoleAdmin`.
    		//
    		// In the latter case, we let the UI render everything, but individual
    		// actions would fail if not permitted by the external authZ service.
    		for _, policy := range policy.DefaultPolicies {
    			if policy.Name == "consoleAdmin" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  4. 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()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. 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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	"github.com/minio/console/api/operations"
    	consoleoauth2 "github.com/minio/console/pkg/auth/idp/oauth2"
    	consoleCerts "github.com/minio/console/pkg/certs"
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/config"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. README.md

    // Create context with credentials
    CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration());
    NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password");
    CIFSContext authContext = context.withCredentials(auth);
    
    // Use authenticated context
    try (SmbFile file = new SmbFile("smb://server/share/", authContext)) {
        for (SmbFile f : file.listFiles()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    ssn.removeAttribute("NtlmHttpChal");
                } 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. cmd/object-lambda-handlers.go

    	"github.com/minio/pkg/v3/policy"
    
    	"github.com/minio/minio/internal/auth"
    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    )
    
    var getLambdaEventData = func(bucket, object string, cred auth.Credentials, r *http.Request) (levent.Event, error) {
    	host := globalLocalNodeName
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top