Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for Credentials (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt

     */
    package okhttp3
    
    import java.nio.charset.Charset
    import kotlin.text.Charsets.ISO_8859_1
    import okio.ByteString.Companion.encode
    
    /** Factory for HTTP authorization credentials. */
    object Credentials {
      /** Returns an auth credential for the Basic scheme. */
      @JvmStatic @JvmOverloads
      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Credentials.java

     */
    package jcifs;
    
    /**
     * Interface for opaque credential data
     *
     * @author mbechler
     *
     */
    public interface Credentials {
    
        /**
         * Unwrap credentials to a specific type.
         *
         * @param <T> the credential type to unwrap to
         * @param type the class of the credential type to unwrap to
         * @return instance for type, null if the type cannot be unwrapped
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/CIFSContext.java

         */
        boolean hasDefaultCredentials();
    
        /**
         * Create a child context with default credentials
         *
         * @return a child context using the configured default credentials
         */
        CIFSContext withDefaultCredentials();
    
        /**
         * Create a child context with anonymous credentials
         *
         * @return a child context using anonymous credentials
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                when(mock.getSubject()).thenReturn(subject);
                doNothing().when(mock).login();
            })) {
                KerberosCredentials credentials = new KerberosCredentials(LOGIN_CONTEXT_NAME);
                assertNotNull(credentials.getSubject());
                assertEquals(subject, credentials.getSubject());
            }
        }
    
        /**
         * Test constructor when login fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. docs/sts/custom-token-identity.go

    	v, err := li.Get()
    	if err != nil {
    		log.Fatalf("Error retrieving STS credentials: %v", err)
    	}
    
    	if displayCreds {
    		fmt.Println("Only displaying credentials:")
    		fmt.Println("AccessKeyID:", v.AccessKeyID)
    		fmt.Println("SecretAccessKey:", v.SecretAccessKey)
    		fmt.Println("SessionToken:", v.SessionToken)
    		return
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CredentialsTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for Credentials interface functionality
     */
    @DisplayName("Credentials Interface Tests")
    class CredentialsTest extends BaseTest {
    
        @Mock
        private Credentials mockCredentials;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCredentialsInterface() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        private Credentials creds;
    
        /**
         * Constructs a CIFS context wrapper with custom credentials.
         *
         * @param delegate the context to wrap
         * @param creds
         *            Credentials to use
         */
        public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) {
            super(delegate);
            this.creds = creds;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. docs/sts/assume-role.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	// Minio endpoint (for STS API)
    	stsEndpoint string
    
    	// User account credentials
    	minioUsername string
    	minioPassword string
    
    	// Display credentials flag
    	displayCreds bool
    
    	// Credential expiry duration
    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (1)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

         * @param authScope The authentication scope.
         * @param credentials The credentials.
         * @param authScheme The authentication scheme.
         */
        public AuthenticationImpl(final AuthScope authScope, final Credentials credentials, final AuthScheme authScheme) {
            this.authScope = authScope;
            this.credentials = credentials;
            this.authScheme = authScheme;
        }
    
        /*
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/CredentialsInternal.java

    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    /**
     * Internal interface for SMB credentials.
     *
     * This interface provides internal methods for managing
     * and accessing SMB authentication credentials.
     *
     * @author mbechler
     */
    public interface CredentialsInternal extends Cloneable, Credentials {
    
        /**
         * Create a copy of the credentials.
         * @return a copy of the credentials
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top