Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 426 for string (0.2 sec)

  1. src/main/java/jcifs/smb1/http/NtlmSsp.java

         */
        public static NtlmPasswordAuthentication authenticate(
                HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
                        throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/pac/PacMac.java

    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    
    @SuppressWarnings ( "javadoc" )
    public class PacMac {
    
        /**
         * 
         */
        private static final String HMAC_KEY = "HMAC";
        private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII);
        private static final byte[] ZERO_IV = new byte[] {
            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/rpc.java

                for ( int _i = 0; _i < _uuid_nodes; _i++ ) {
                    this.uuid.node[ _i ] = (byte) _src.dec_ndr_small();
                }
            }
        }
    
        public static class unicode_string extends NdrObject {
    
            public short length;
            public short maximum_length;
            public short[] buffer;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        static final int FILE_SHARE_DELETE = 0x04;
        /**
         * Default sharing mode for files
         */
        static final int DEFAULT_SHARING = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
    
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/DfsTest.java

         * @param properties
         */
        public DfsTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

     */
    public class Type1Message extends NtlmMessage {
    
        private static final int DEFAULT_FLAGS;
    
        private static final String DEFAULT_DOMAIN;
    
        private static final String DEFAULT_WORKSTATION;
    
        private String suppliedDomain;
    
        private String suppliedWorkstation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                return type3;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        public String toString() {
            String user = getUser();
            String domain = getDomain();
            String workstation = getWorkstation();
            byte[] lmResponse = getLMResponse();
            byte[] ntResponse = getNTResponse();
            byte[] sessionKey = getSessionKey();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

        public NetbiosAddress getNbtByName ( String host ) throws UnknownHostException {
            return this.nscl.getNbtByName(host);
        }
    
    
        @Override
        public NetbiosAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return this.nscl.getNbtByName(host, type, scope);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

                String[] list = smbFile.list();
                assertNotNull(list);
                assertTrue("No share found", list.length > 0);
                log.debug(Arrays.toString(list));
    
                String shareUrl = getTestShareURL();
                String link = shareUrl.substring(dfsRoot.length());
    
                Set<String> listLinks = new HashSet<>(Arrays.asList(list));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Authenticator.java

         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString () {
            return "Kerb5Authenticatior[subject=" + ( this.getSubject() != null ? this.getSubject().getPrincipals() : null ) + ",user=" + this.user
                    + ",realm=" + this.realm + "]";
        }
    
    
        private SpnegoContext createContext ( CIFSContext tc, String targetDomain, String host ) throws GSSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
Back to top