Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 363 for authN (0.02 sec)

  1. cmd/metrics.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/common/expfmt"
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Create authentication context - try guest auth first for broader compatibility
            try {
                NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), WORKGROUP, USERNAME, PASSWORD);
                context = SingletonContext.getInstance().withCredentials(auth);
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                            final PasswordAuthentication auth =
                                    Authenticator.requestPasswordAuthentication(null, port, protocol, "", this.authMethod);
                            if (auth == null) {
                                return null;
                            }
                            user = auth.getUserName();
                            password = new String(auth.getPassword());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. .gitignore

    *~
    \#*\#
    .\#*
    
    # Vim-related files
    [._]*.s[a-w][a-z]
    [._]s[a-w][a-z]
    *.un~
    Session.vim
    .netrwhist
    
    # cscope-related files
    cscope.*
    
    # Go test binaries
    *.test
    /hack/.test-cmd-auth
    
    # JUnit test output from ginkgo e2e tests
    /junit*.xml
    
    # Mercurial files
    **/.hg
    **/.hg*
    
    # Vagrant
    .vagrant
    network_closure.sh
    
    # Local cluster env variables
    /cluster/env.sh
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial006.py

        mod = importlib.import_module(f"docs_src.security.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_security_http_basic(client: TestClient):
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. tests/test_security_http_basic_optional.py

        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

         */
        @Test
        @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status")
        void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {
            // Arrange
            String msg = "auth failed";
    
            // Act
            SmbAuthException ex = new SmbAuthException(msg, mockCause);
    
            // Assert
            assertEquals(msg, ex.getMessage());
            assertSame(mockCause, ex.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    auth.ap-south-2.amazoncognito.com
    auth.ap-southeast-1.amazoncognito.com
    auth.ap-southeast-2.amazoncognito.com
    auth.ap-southeast-3.amazoncognito.com
    auth.ap-southeast-4.amazoncognito.com
    auth.ca-central-1.amazoncognito.com
    auth.ca-west-1.amazoncognito.com
    auth.eu-central-1.amazoncognito.com
    auth.eu-central-2.amazoncognito.com
    auth.eu-north-1.amazoncognito.com
    auth.eu-south-1.amazoncognito.com
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 129.6K bytes
    - Viewed (2)
  9. src/main/java/jcifs/smb/CredentialsInternal.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import javax.security.auth.Subject;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    /**
     * Internal interface for SMB credentials.
     *
     * This interface provides internal methods for managing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. tests/test_security_http_basic_realm_description.py

        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top