Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 87 for principal (0.07 seconds)

  1. src/main/java/jcifs/http/NtlmHttpServletRequest.java

    package jcifs.http;
    
    import java.security.Principal;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
        NtlmHttpServletRequest(final HttpServletRequest req, final Principal principal) {
            super(req);
            this.principal = principal;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpServletRequest.java

    package jcifs.smb1.http;
    
    import java.security.Principal;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
        NtlmHttpServletRequest(final HttpServletRequest req, final Principal principal) {
            super(req);
            this.principal = principal;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getUserPrincipal()}.
         * Verifies that the method returns the correct principal object.
         */
        @Test
        void testGetUserPrincipal() {
            // Act: Call the method under test
            Principal actualPrincipal = ntlmRequest.getUserPrincipal();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

        @Test
        @DisplayName("constructor accepts null principal")
        void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) {
            // Constructor accepts null principal without throwing exception
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
    
            // getRemoteUser() will throw NPE when trying to call getName() on null principal
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    throw new PACDecodingException("Unrecognized field " + tagged.getTagNo());
                }
            }
    
        }
    
        /**
         * Returns the user principal name from the ticket.
         *
         * @return the user principal name
         */
        public String getUserPrincipalName() {
            return this.encData.getUserPrincipalName();
        }
    
        /**
         * Returns the user realm from the ticket.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

      val localPrincipal: Principal?
        get() = (localCertificates.firstOrNull() as? X509Certificate)?.subjectX500Principal
    
      @JvmName("-deprecated_localPrincipal")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "localPrincipal"),
        level = DeprecationLevel.ERROR,
      )
      fun localPrincipal(): Principal? = localPrincipal
    
      override fun equals(other: Any?): Boolean =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.6K bytes
    - Click Count (1)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

     * License for the specific language governing permissions and limitations under
     * the License.
     */
    @file:Suppress("DEPRECATION")
    
    package okhttp3
    
    import java.security.Principal
    import java.security.cert.Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSessionContext
    import javax.security.cert.X509Certificate
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getPeerCertificateChain(): Array<X509Certificate> = delegate!!.peerCertificateChain
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerPrincipal(): Principal = delegate!!.peerPrincipal
    
      override fun getLocalPrincipal(): Principal = delegate!!.localPrincipal
    
      override fun getCipherSuite(): String = delegate!!.cipherSuite
    
      override fun getProtocol(): String = delegate!!.protocol
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json

    {
       "Version":"2012-10-17",
       "Id":"PutObjectPolicy1",
       "Statement":[{
             "Sid":"DenyObjectsWithInvalidSSEKMS",
             "Effect":"Deny",
             "Principal":"*",
             "Action":"s3:PutObject",
             "Resource":"arn:aws:s3:::multi-key-poc/*",
             "Condition":{
                "StringNotEquals":{
                   "s3:x-amz-server-side-encryption-aws-kms-key-id":"minio-default-key"
                }
             }
          }
       ]
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 14 15:43:07 GMT 2024
    - 439 bytes
    - Click Count (0)
  10. cmd/typed-errors.go

    var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted")
    
    // error returned in SFTP when user used certificate which does not contain principal(s)
    var errSftpCertWithoutPrincipals = errors.New("certificates without principal(s) are not accepted")
    
    // error returned when group name contains reserved characters
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 5.9K bytes
    - Click Count (1)
Back to Top