Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for host (0.18 sec)

  1. src/main/java/jcifs/smb/Kerb5Authenticator.java

         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException {
            if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) {
                // this is not too good, probably should better pass the address and check that it is a netbios one.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

            int domainLength = domain.length;
            byte[] server = new byte[0];
            String host = tc.getNameServiceClient().getLocalHost().getHostName();
            if ( host != null ) {
                try {
                    server = host.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get host bytes", ex);
                }
            }
            int serverLength = server.length;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                case 8: // Kerberos Time
                    // DERGeneralizedTime derTime = KerberosUtil.readAs(tagged,
                    // DERGeneralizedTime.class);
                    break;
                case 9: // Host Addresses
                    ASN1Sequence adressesSequence = ASN1Util.as(ASN1Sequence.class, tagged);
                    Enumeration<?> adresses = adressesSequence.getObjects();
                    while ( adresses.hasMoreElements() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     */
    
        public static NbtAddress getByName( String host )
                                            throws UnknownHostException {
            return getByName( host, 0x00, null );
        }
    
    /** 
     * Determines the address of a host given it's host name. NetBIOS
     * names also have a <code>type</code>. Types(aka Hex Codes)
     * are used to distiquish the various services on a host. <a
     * href="../../../nbtcodes.html">Here</a> is
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

    
        Kerb5Context ( String host, String service, String name, int userLifetime, int contextLifetime, String realm ) throws GSSException {
            GSSManager manager = GSSManager.getInstance();
            GSSCredential clientCreds = null;
            Oid mechOid = JGSS_KRB5_MECH_OID;
            if ( realm != null ) {
                this.serviceName = manager.createName(service + "/" + host + "@" + realm, JGSS_KRB5_NAME_OID, mechOid);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)));
        }
    
    
        private static SSPContext setupTargetName ( CIFSContext tc, String host, NtlmContext ntlmContext ) {
            if ( host != null && tc.getConfig().isSendNTLMTargetName() ) {
                ntlmContext.setTargetName(String.format("cifs/%s", host));
            }
            return ntlmContext;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
                }
            } catch (UnknownHostException ex) { }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @param resp
         *            The servlet response
         * @param skipAuthentication
         *            If true the negotiation is only done if it is
         *            initiated by the client (MSIE post requests after successful NTLM SSP
         *            authentication). If false and the user has not been authenticated yet
         *            the client will be forced to send an authentication (server sends
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

     * @since jcifs-0.1
     */
    
    public final class NbtAddress implements NetbiosAddress {
    
        /**
         * This is a special name that means all hosts. If you wish to find all hosts
         * on a network querying a workgroup group name is the preferred method.
         */
        public static final String ANY_HOSTS_NAME = "*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        public NbtAddress getNbtByName ( String host ) throws UnknownHostException {
            return getNbtByName(host, 0x00, null);
        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top