Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 391 for authN (0.02 seconds)

  1. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/AuthenticationProvider.java

         */
        AuthType getAuthType();
    
        /**
         * Authenticates using the provided context
         *
         * @param context the CIFS context
         * @param challenge the server challenge (may be null for some auth types)
         * @return authentication response data
         * @throws CIFSException if authentication fails
         */
        byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  3. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac.kerberos;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Abstract base class for Kerberos authorization data.
     * This class provides parsing capabilities for different types of Kerberos authorization data.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. docs/sts/web-identity.go

    	configEndpoint string
    	clientID       string
    	clientSec      string
    	clientScopes   string
    	port           int
    )
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example http://localhost:8080/auth/realms/minio/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    	AuthEndpoint                     string   `json:"authorization_endpoint,omitempty"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  5. 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():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. mockwebserver/README.md

        @Override
        public MockResponse dispatch (RecordedRequest request) throws InterruptedException {
    
            switch (request.getUrl().encodedPath()) {
              case "/v1/login/auth/":
                  return new MockResponse.Builder()
                      .code(200)
                      .build();
              case "/v1/check/version/":
                  return new MockResponse.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. .ci/init.gradle

    }
    
    final String vaultToken = System.getenv('VAULT_TOKEN') ?: new Vault(
      new VaultConfig()
        .address(System.env.VAULT_ADDR)
        .engineVersion(1)
        .build()
    )
      .withRetries(5, 1000)
      .auth()
      .loginByAppRole("approle", System.env.VAULT_ROLE_ID, System.env.VAULT_SECRET_ID)
      .getAuthClientToken()
    
    final Vault vault = new Vault(
      new VaultConfig()
        .address(System.env.VAULT_ADDR)
        .engineVersion(1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Nov 13 10:14:04 GMT 2019
    - 3K bytes
    - Click Count (0)
  8. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  10. 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"
    )
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top