Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.naming.jmod - Naming Module
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module.
JDK 11 Naming module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.naming.jmod.
JDK 11 Naming module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Naming module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.naming.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/jndi/ldap/DigestClientId.java
/* * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jndi.ldap; import java.util.Arrays; // JDK 1.2 import java.util.Hashtable; import java.io.OutputStream; import javax.naming.ldap.Control; /** * Extends SimpleClientId to add property values specific for Digest-MD5. * This includes: * realm, authzid, qop, strength, maxbuffer, mutual-auth, reuse, * all policy-related selection properties. * Two DigestClientIds are identical iff they pass the SimpleClientId * equals() test and that all of these property values are the same. * * @author Rosanna Lee */ class DigestClientId extends SimpleClientId { private static final String[] SASL_PROPS = { "java.naming.security.sasl.authorizationId", "java.naming.security.sasl.realm", "javax.security.sasl.qop", "javax.security.sasl.strength", "javax.security.sasl.reuse", "javax.security.sasl.server.authentication", "javax.security.sasl.maxbuffer", "javax.security.sasl.policy.noplaintext", "javax.security.sasl.policy.noactive", "javax.security.sasl.policy.nodictionary", "javax.security.sasl.policy.noanonymous", "javax.security.sasl.policy.forward", "javax.security.sasl.policy.credentials", }; final private String[] propvals; final private int myHash; DigestClientId(int version, String hostname, int port, String protocol, Control[] bindCtls, OutputStream trace, String socketFactory, String username, Object passwd, Hashtable<?,?> env) { super(version, hostname, port, protocol, bindCtls, trace, socketFactory, username, passwd); if (env == null) { propvals = null; } else { // Could be smarter and apply default values for props // but for now, we just record and check exact matches propvals = new String[SASL_PROPS.length]; for (int i = 0; i < SASL_PROPS.length; i++) { propvals[i] = (String) env.get(SASL_PROPS[i]); } } myHash = super.hashCode() ^ Arrays.hashCode(propvals); } public boolean equals(Object obj) { if (!(obj instanceof DigestClientId)) { return false; } DigestClientId other = (DigestClientId)obj; return myHash == other.myHash && super.equals(obj) && Arrays.equals(propvals, other.propvals); } public int hashCode() { return myHash; } public String toString() { if (propvals != null) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < propvals.length; i++) { sb.append(':'); if (propvals[i] != null) { sb.append(propvals[i]); } } return super.toString() + sb.toString(); } else { return super.toString(); } } }
⏎ com/sun/jndi/ldap/DigestClientId.java
Or download all of them as a single archive file:
File name: java.naming-11.0.1-src.zip File size: 461792 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.net.http.jmod - Net HTTP Module
2020-09-30, 46675👍, 0💬
Popular Posts:
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
How to download and install Apache ZooKeeper Source Package? Apache ZooKeeper is an open-source serv...
Saxon is an open source product available under the Mozilla Public License. It provides implementati...