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.security.sasl.jmod - Security SASL Module
JDK 11 java.security.sasl.jmod is the JMOD file for JDK 11 Security SASL (Simple Authentication and Security Layer) module.
JDK 11 Security SASL module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.security.sasl.jmod.
JDK 11 Security SASL module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Security SASL module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.security.sasl.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/security/sasl/digest/FactoryImpl.java
/* * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.security.sasl.digest; import java.util.Map; import javax.security.sasl.*; import javax.security.auth.callback.CallbackHandler; import com.sun.security.sasl.util.PolicyUtils; /** * Client and server factory for DIGEST-MD5 SASL client/server mechanisms. * See DigestMD5Client and DigestMD5Server for input requirements. * * @author Jonathan Bruce * @author Rosanna Lee */ public final class FactoryImpl implements SaslClientFactory, SaslServerFactory{ private static final String[] myMechs = { "DIGEST-MD5" }; private static final int DIGEST_MD5 = 0; private static final int[] mechPolicies = { PolicyUtils.NOPLAINTEXT|PolicyUtils.NOANONYMOUS}; /** * Empty constructor. */ public FactoryImpl() { } /** * Returns a new instance of the DIGEST-MD5 SASL client mechanism. * * @throws SaslException If there is an error creating the DigestMD5 * SASL client. * @return a new SaslClient; otherwise null if unsuccessful. */ public SaslClient createSaslClient(String[] mechs, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException { for (int i=0; i<mechs.length; i++) { if (mechs[i].equals(myMechs[DIGEST_MD5]) && PolicyUtils.checkPolicy(mechPolicies[DIGEST_MD5], props)) { if (cbh == null) { throw new SaslException( "Callback handler with support for RealmChoiceCallback, " + "RealmCallback, NameCallback, and PasswordCallback " + "required"); } return new DigestMD5Client(authorizationId, protocol, serverName, props, cbh); } } return null; } /** * Returns a new instance of the DIGEST-MD5 SASL server mechanism. * * @throws SaslException If there is an error creating the DigestMD5 * SASL server. * @return a new SaslServer; otherwise null if unsuccessful. */ public SaslServer createSaslServer(String mech, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException { if (mech.equals(myMechs[DIGEST_MD5]) && PolicyUtils.checkPolicy(mechPolicies[DIGEST_MD5], props)) { if (cbh == null) { throw new SaslException( "Callback handler with support for AuthorizeCallback, "+ "RealmCallback, NameCallback, and PasswordCallback " + "required"); } return new DigestMD5Server(protocol, serverName, props, cbh); } return null; } /** * Returns the authentication mechanisms that this factory can produce. * * @return String[] {"DigestMD5"} if policies in env match those of this * factory. */ public String[] getMechanismNames(Map<String,?> env) { return PolicyUtils.filterMechs(myMechs, mechPolicies, env); } }
⏎ com/sun/security/sasl/digest/FactoryImpl.java
Or download all of them as a single archive file:
File name: java.security.sasl-11.0.1-src.zip File size: 76634 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.smartcardio.jmod - Smart Card IO Module
2020-09-15, 10221👍, 0💬
Popular Posts:
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Java Advanced Imaging (JAI) is a Java platform extension API that provides a set of object-oriented ...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
What Is ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is the JAR files of ojdbc.jar, ...