Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Principal (0.06 sec)

  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                // client/caller principal
                final SpnegoPrincipal principal;
                try {
                    principal = getAuthenticator().authenticate(request, spnegoResponse);
                    if (logger.isDebugEnabled()) {
                        logger.debug("principal: {}", principal);
                    }
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  4. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                            final UserPrincipal principal = acl.principal();
                            if (logger.isDebugEnabled()) {
                                logger.debug("Principal: [{}] {}", principal.getClass().getName(), principal);
                            }
                            if (principal instanceof final GroupPrincipal groupPrincipal) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

         * Verifies that the method returns the correct principal object.
         */
        @Test
        void testGetUserPrincipal() {
            // Act: Call the method under test
            Principal actualPrincipal = ntlmRequest.getUserPrincipal();
    
            // Assert: Verify that the returned principal is the same as the one provided in the constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

      @get:JvmName("peerPrincipal")
      val peerPrincipal: Principal?
        get() = (peerCertificates.firstOrNull() as? X509Certificate)?.subjectX500Principal
    
      @JvmName("-deprecated_peerPrincipal")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "peerPrincipal"),
        level = DeprecationLevel.ERROR,
      )
      fun peerPrincipal(): Principal? = peerPrincipal
    
      @JvmName("-deprecated_localCertificates")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                return ((DcerpcPipeHandle) this).pipe.getServer();
            }
            return null;
        }
    
        /**
         * Gets the principal associated with this handle
         * @return the principal or null if not authenticated
         */
        public Principal getPrincipal() {
            if (this instanceof DcerpcPipeHandle) {
                return ((DcerpcPipeHandle) this).pipe.getPrincipal();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Authenticator.java

        /** The Kerberos subject for authentication */
        private Subject subject = null;
        /** The user principal name */
        private String user = null;
        /** The Kerberos realm */
        private String realm = null;
        /** The service principal name */
        private String service = DEFAULT_SERVICE;
        /** The user credential lifetime */
        private int userLifetime = GSSCredential.DEFAULT_LIFETIME;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top