Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for KerberosPrincipal (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

                Set<Principal> pr = this.getSubject().getPrincipals();
                for (Iterator<Principal> ite = pr.iterator(); ite.hasNext();) {
                    try {
                        KerberosPrincipal entry = (KerberosPrincipal) ite.next();
                        return entry.getRealm();
                    } catch (Exception e) {
                        continue;
                    }
                }
            }
    
    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