Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for authenticated (0.26 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

        public void test_addGroupOrRoleName() {
            AzureAdAuthenticator authenticator = new AzureAdAuthenticator();
            List<String> list = new ArrayList<>();
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", true);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    return false;
                }
                final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
                final String refreshToken = authResult.getRefreshToken();
                authResult = authenticator.getAccessToken(refreshToken);
                authenticator.updateMemberOf(this);
                permissions = null;
                return true;
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with OpenID Connect Authenticator");
                }
                final HttpSession session = request.getSession(false);
                if (session != null) {
                    final String sesState = (String) session.getAttribute(OIC_STATE);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

                            etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                            kvno: 5
                            cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd…
                    authenticator
                        etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                        cipher: e24ff60648505a37d583d77e20a845158b7cfe8c652ab16d0eeeb4c8700370e5d640bbdd…
    
             */
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    proxy = new Proxy(Type.HTTP, addr);
                    if (StringUtil.isNotBlank(getHttpProxyUsername())) {
                        Authenticator.setDefault(new Authenticator() {
                            @Override
                            protected PasswordAuthentication getPasswordAuthentication() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SAML Authenticator");
                }
    
                final HttpServletResponse response = LaResponseUtil.getResponse();
    
                final HttpSession session = request.getSession(false);
                if (session != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with Azure AD Authenticator");
                }
                final HttpSession session = request.getSession(false);
                if (session != null && containsAuthenticationData(request)) {
                    try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/SsoManager.java

                final SsoAuthenticator authenticator = getAuthenticator();
                if (authenticator != null) {
                    return authenticator.getLoginCredential();
                }
            }
            return null;
        }
    
        public ActionResponse getResponse(final SsoResponseType responseType) {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top