Tabnine Logo
NtlmSsp
Code IndexAdd Tabnine to your IDE (free)

How to use
NtlmSsp
in
jcifs.http

Best Java code snippets using jcifs.http.NtlmSsp (Showing top 20 results out of 315)

origin: org.samba.jcifs/jcifs

/**
 * Calls the static {@link #authenticate(HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 *
 * @param req The request being serviced.
 * @param resp The response.
 * @param challenge The domain controller challenge.
 * @throws IOException If an IO error occurs.
 * @throws ServletException If an error occurs.
 */
public NtlmPasswordAuthentication doAuthentication(
    HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
        throws IOException, ServletException {
  return authenticate(req, resp, challenge);
}
origin: org.codelibs/jcifs

new NtlmSsp();
origin: AgNO3/jcifs-ng

new NtlmSsp();
origin: jcifs/jcifs

/**
 * Calls the static {@link #authenticate(HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 *
 * @param req The request being serviced.
 * @param resp The response.
 * @param challenge The domain controller challenge.
 * @throws IOException If an IO error occurs.
 * @throws ServletException If an error occurs.
 */
public NtlmPasswordAuthentication doAuthentication(
    HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
        throws IOException, ServletException {
  return authenticate(req, resp, challenge);
}
origin: jcifs/jcifs

  ntlmSsp = new NtlmSsp();
} else {
  credentialsSupplied = true;
origin: com.jaeksoft/jcifs-krb5-jdk7

/**
 * Calls the static {@link #authenticate(HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 *
 * @param req The request being serviced.
 * @param resp The response.
 * @param challenge The domain controller challenge.
 * @throws IOException If an IO error occurs.
 * @throws ServletException If an error occurs.
 */
public NtlmPasswordAuthentication doAuthentication(
    HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
        throws IOException, ServletException {
  return authenticate(req, resp, challenge);
}
origin: org.samba.jcifs/jcifs

  ntlmSsp = new NtlmSsp();
} else {
  credentialsSupplied = true;
origin: kohsuke/jcifs

/**
 * Calls the static {@link #authenticate(HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 *
 * @param req The request being serviced.
 * @param resp The response.
 * @param challenge The domain controller challenge.
 * @throws IOException If an IO error occurs.
 * @throws ServletException If an error occurs.
 */
public NtlmPasswordAuthentication doAuthentication(
    HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
        throws IOException, ServletException {
  return authenticate(req, resp, challenge);
}
origin: com.jaeksoft/jcifs-krb5-jdk7

  ntlmSsp = new NtlmSsp();
} else {
  credentialsSupplied = true;
origin: org.codelibs/jcifs

/**
 * Calls the static {@link #authenticate(CIFSContext, HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 * 
 * @param tc
 *
 * @param req
 *            The request being serviced.
 * @param resp
 *            The response.
 * @param challenge
 *            The domain controller challenge.
 * @return credentials passed in the servlet request
 * @throws IOException
 *             If an IO error occurs.
 */
public NtlmPasswordAuthentication doAuthentication ( CIFSContext tc, HttpServletRequest req, HttpServletResponse resp, byte[] challenge )
    throws IOException {
  return authenticate(tc, req, resp, challenge);
}
origin: kohsuke/jcifs

  ntlmSsp = new NtlmSsp();
} else {
  credentialsSupplied = true;
origin: AgNO3/jcifs-ng

/**
 * Calls the static {@link #authenticate(CIFSContext, HttpServletRequest,
 * HttpServletResponse, byte[])} method to perform NTLM authentication
 * for the specified servlet request.
 * 
 * @param tc
 *
 * @param req
 *            The request being serviced.
 * @param resp
 *            The response.
 * @param challenge
 *            The domain controller challenge.
 * @return credentials passed in the servlet request
 * @throws IOException
 *             If an IO error occurs.
 */
public NtlmPasswordAuthentication doAuthentication ( CIFSContext tc, HttpServletRequest req, HttpServletResponse resp, byte[] challenge )
    throws IOException {
  return authenticate(tc, req, resp, challenge);
}
origin: com.jaeksoft/jcifs-krb5-jdk7

if (msg.startsWith("NTLM ")) {
  byte[] challenge = SmbSession.getChallenge(dc);
  ntlm = NtlmSsp.authenticate(request, response, challenge);
  if (ntlm == null) return;
} else {
origin: jcifs/jcifs

if (msg.startsWith("NTLM ")) {
  byte[] challenge = SmbSession.getChallenge(dc);
  ntlm = NtlmSsp.authenticate(request, response, challenge);
  if (ntlm == null) return;
} else {
origin: kohsuke/jcifs

if (msg.startsWith("NTLM ")) {
  byte[] challenge = SmbSession.getChallenge(dc);
  ntlm = NtlmSsp.authenticate(request, response, challenge);
  if (ntlm == null) return;
} else {
origin: org.samba.jcifs/jcifs

if (msg.startsWith("NTLM ")) {
  byte[] challenge = SmbSession.getChallenge(dc);
  ntlm = NtlmSsp.authenticate(request, response, challenge);
  if (ntlm == null) return;
} else {
origin: jcifs/jcifs

if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
  return;
origin: com.jaeksoft/jcifs-krb5-jdk7

if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
  return;
origin: kohsuke/jcifs

if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
  return;
origin: jcifs/jcifs

if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
  return null;
jcifs.httpNtlmSsp

Javadoc

This class is used internally by NtlmHttpFilter, NtlmServlet, and NetworkExplorer to negiotiate password hashes via NTLM SSP with MSIE. It might also be used directly by servlet containers to incorporate similar functionality.

How NTLMSSP is used in conjunction with HTTP and MSIE clients is described in an NTLM Authentication Scheme for HTTP.

Also, read jCIFS NTLM HTTP Authentication and the Network Explorer Servlet related information.

Most used methods

  • authenticate
    Performs NTLM authentication for the servlet request.
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now