Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for getPac (2.4 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                KerberosPacAuthData authData = new KerberosPacAuthData(pacData, keys);
                assertNotNull(authData.getPac());
                assertNotNull(authData.getPac().getLogonInfo());
                assertNotNull(authData.getPac().getServerSignature());
                assertNotNull(authData.getPac().getKdcSignature());
            }
        }
    
        // Test exception for empty PAC
        @Test
        void testConstructorEmptyPac() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
         *
         * @return the Privilege Attribute Certificate
         */
        public Pac getPac() {
            return this.pac;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            map.put("c", 3);
            map.put("d", 1.4);
            final HogeDto hoge = new HogeDto();
            BeanUtil.copyMapToBean(map, hoge);
            assertThat(hoge.getA(), is("A"));
            assertThat(hoge.isB(), is(true));
            assertThat(hoge.getC(), is(3));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa");
            assertThat(methodDesc, is(notNullValue()));
            assertThat(methodDesc.getMethodName(), is("getAaa"));
            beanDesc.getMethodDesc("getaaa");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMethodNoException() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final PropertyDesc propDesc = beanDesc.getPropertyDesc("cal");
            final Date date = new Date();
            propDesc.setValue(myBean, date);
            assertThat(myBean.getCal().getTime(), is(date));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetIntegerValueToString() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals(4, sitemaps.length);
            assertEquals("http://www.example.com/page1.html", sitemaps[0].getLoc());
            assertEquals("http://www.example.com/page2.html", sitemaps[1].getLoc());
            assertEquals("http://www.example.com/page3.html", sitemaps[2].getLoc());
            assertEquals("https://www.example.com/page4.html", sitemaps[3].getLoc());
        }
    
        public void test_parseXmlSitemapsIndex_missingLoc() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
        void testConstructorWithNullHash() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");
            // Verify the raw bytes are correctly stored
            assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input");
        }
    
        /**
         * Test constructor with a target name string.
         * Verifies that the string is correctly encoded to UTF-16LE bytes and stored.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            AvSingleHost avSingleHost = new AvSingleHost(rawData);
    
            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            assertArrayEquals(rawData, avSingleHost.getRaw());
        }
    
        /**
         * Test constructor AvSingleHost(Configuration cfg).
         * Should use the machine ID from the configuration.
         */
        @Test
        void testAvSingleHostConfigurationConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top