Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 177 for principal (0.06 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/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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top