Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for principalId (0.6 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * }
         * The {@code Principal} object returned will never be {@code null}
         * however the username can be {@code null} indication anonymous
         * credentials were used (e.g. some IPC$ services).
         */
    
        /**
         * Returns the principal used for authentication
         *
         * @return the authentication principal
         */
        public Principal getPrincipal() {
            return auth;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// Sample bucket policy.
    	bucketPolicyBuf := `{"Version":"2012-10-17","Statement":[{"Action":["s3:GetBucketLocation","s3:ListBucket"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s"]},{"Action":["s3:GetObject"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s/this*"]}]}`
    
    	// generate a random bucket Name.
    	bucketName := getRandomBucketName()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top