- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for Authorization (0.59 sec)
-
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
* @param token the authorization data token * @param keys the Kerberos keys for decryption * @return a list of parsed authorization data * @throws PACDecodingException if the data cannot be decoded */ public static List<KerberosAuthData> parse(int authType, byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
// This should not throw an exception assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); } /** * Test the service method when no Authorization header is present and no session exists. * Expects a 401 Unauthorized response with NTLM and Basic authentication challenges. * @throws ServletException * @throws IOException */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
}).orElse(null); } /** * Gets the authorization URL for OpenID Connect. * * @param request the HTTP servlet request * @return the authorization URL */ protected String getAuthUrl(final HttpServletRequest request) { final String state = UuidUtil.create();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
/** * Test case for when the 'Authorization' header is missing. * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status. * @throws IOException */ @Test public void testAuthenticate_NoAuthorizationHeader() throws IOException { // Setup: No "Authorization" header when(mockRequest.getHeader("Authorization")).thenReturn(null); // Execute
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
List<KerberosAuthData> authorizations = relevantAuthData.getAuthorizations(); assertNotNull(authorizations, "The authorizations list should not be null."); assertEquals(1, authorizations.size(), "The authorizations list should contain one element."); assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
cmd/jwt_test.go
expectedErr error }{ // Set valid authorization header. { req: &http.Request{ Header: http.Header{ "Authorization": []string{token}, }, }, expectedErr: nil, }, // No authorization header. { req: &http.Request{ Header: http.Header{}, }, expectedErr: errNoAuthToken, }, // Invalid authorization token. { req: &http.Request{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
// Initialize filter first initializeFilter(); // Test request without Authorization header should challenge client when(request.getHeader("Authorization")).thenReturn(null); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); filter.doFilter(request, response, filterChain);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/en/docs/tutorial/security/index.md
* This automatic discovery is what is defined in the OpenID Connect specification. /// tip Integrating other authentication/authorization providers like Google, Facebook, X (Twitter), GitHub, etc. is also possible and relatively easy. The most complex problem is building an authentication/authorization provider like those, but **FastAPI** gives you the tools to do it easily, while doing the heavy lifting for you. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
import jcifs.pac.PACDecodingException; /** * Kerberos relevant authorization data container. */ public class KerberosRelevantAuthData extends KerberosAuthData { private List<KerberosAuthData> authorizations; /** * Constructs KerberosRelevantAuthData from token bytes. * * @param token the authorization data token * @param keys map of Kerberos keys indexed by key type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate"; authProperty = "Authorization"; } else { authHeader = "Proxy-Authenticate"; authProperty = "Proxy-Authorization"; } String authorization = null; final List methods = (List) getHeaderFields0().get(authHeader); if (methods == null) { return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0)