- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for authenticate (0.36 sec)
-
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> { if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
* the Network Explorer Servlet</a> related information. */ @Deprecated public class NtlmSsp implements NtlmFlags { /** * Calls the static {@link #authenticate(CIFSContext, HttpServletRequest, * HttpServletResponse, byte[])} method to perform NTLM authentication * for the specified servlet request. * * @param tc * * @param req
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
ssn.removeAttribute("NtlmHttpAuth"); } } resp.setHeader("WWW-Authenticate", "NTLM"); if ( offerBasic ) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
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) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
ssn.removeAttribute( "NtlmHttpAuth" ); } } resp.setHeader( "WWW-Authenticate", "NTLM" ); if (offerBasic) { resp.addHeader( "WWW-Authenticate", "Basic realm=\"" + realm + "\""); } resp.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* the Network Explorer Servlet</a> related information. */ public class NtlmSsp implements NtlmFlags { /** * 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.
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) -
src/main/java/jcifs/http/NtlmServlet.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
if (authenticator != null && fessConfig.getSystemPropertyAsBoolean(SPNEGO_INITIALIZED, false)) { return authenticator; } try { // set some System properties final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpengoConfig()); // pre-authenticate authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} String authHeader; if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate"; authProperty = "Authorization"; } else { authHeader = "Proxy-Authenticate"; authProperty = "Proxy-Authorization"; } String authorization = null;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server); } if ( ntlm == null ) { resp.setHeader("WWW-Authenticate", "NTLM"); if ( offerBasic ) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } resp.setHeader("Connection", "close");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 21.3K bytes - Viewed (0)