<pre>
Security (HTTPS) enforcement for this URL.
</pre>

<code>.google.appengine.v1.SecurityLevel security_level = 5;</code>
976768
public com.google.appengine.v1.SecurityLevel getSecurityLevel() {
    com.google.appengine.v1.SecurityLevel result = com.google.appengine.v1.SecurityLevel.valueOf(securityLevel_);
    return result == null ? com.google.appengine.v1.SecurityLevel.UNRECOGNIZED : result;
  }
570085
public com.google.appengine.v1.LoginRequirement getLogin() {
    com.google.appengine.v1.LoginRequirement result = com.google.appengine.v1.LoginRequirement.valueOf(login_);
    return result == null ? com.google.appengine.v1.LoginRequirement.UNRECOGNIZED : result;
  }
1040846
def security(self):
        
        url = self._url + "/security"
        return _Security(url=url,
                         securityHandler=self._securityHandler,
                         proxy_url=self._proxy_url,
                         proxy_port=self._proxy_port)
562938
public int checkSecurity()
    {
        int iErrorCode = super.checkSecurity();
        if ((iErrorCode == DBConstants.NORMAL_RETURN) || (iErrorCode == Constants.READ_ACCESS))
        {   // Okay, their group can access this screen, but can this user access this data?
            String strUserContactType = this.getProperty(DBParams.CONTACT_TYPE);
            String strUserContactID = this.getProperty(DBParams.CONTACT_ID);
        
            String strContactTypeID = this.getScreenRecord().getField(MessageLogScreenRecord.CONTACT_TYPE_ID).toString();
            if ((strContactTypeID == null) || (strContactTypeID.length() == 0))
                if ((strUserContactType != null) && (strUserContactType.length() > 0))
            {
                if (!Utility.isNumeric(strUserContactType))
                {
                    ContactType recContactType = (ContactType)((ReferenceField)this.getScreenRecord().getField(MessageLogScreenRecord.CONTACT_TYPE_ID)).getReferenceRecord(this);
                    strUserContactType = Integer.toString(recContactType.getIDFromCode(strUserContactType));
                }
                this.getScreenRecord().getField(MessageLogScreenRecord.CONTACT_TYPE_ID).setString(strContactTypeID = strUserContactType);
            }
            String strContactID = this.getScreenRecord().getField(MessageLogScreenRecord.CONTACT_ID).toString();
            if ((strContactID == null) || (strContactID.length() == 0))
                if ((strUserContactID != null) && (strUserContactID.length() > 0))
                    this.getScreenRecord().getField(MessageLogScreenRecord.CONTACT_ID).setString(strContactID = strUserContactID);
            iErrorCode = this.checkContactSecurity(strContactTypeID, strContactID);
        }
        return iErrorCode;
    }
800447
public ListSecurityGroupsResponse listSecurityGroups(ListSecurityGroupsRequest request) {
        checkNotNull(request, "request should not be null.");
        InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, SECURITYGROUP_PREFIX);
        if (!Strings.isNullOrEmpty(request.getMarker())) {
            internalRequest.addParameter("marker", request.getMarker());
        }
        if (request.getMaxKeys() > 0) {
            internalRequest.addParameter("maxKeys", String.valueOf(request.getMaxKeys()));
        }
        if (!Strings.isNullOrEmpty(request.getInstanceId())) {
            internalRequest.addParameter("instanceId", request.getInstanceId());
        }
        if (!Strings.isNullOrEmpty(request.getVpcId())) {
            internalRequest.addParameter("vpcId", request.getVpcId());
        }
        return invokeHttpClient(internalRequest, ListSecurityGroupsResponse.class);
    }
199894
public com.google.api.ads.adwords.axis.v201809.cm.Level getLevel() {
        return level;
    }
1042732
@Bean
	public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
		return http
			.authorizeExchange()
				.matchers(PathRequest.toStaticResources().atCommonLocations()).permitAll()
				.pathMatchers("/foo", "/bar")
					.authenticated().and()
				.formLogin().and()
			.build();
	}
567637
def log_level=(level)
      log_level = java.util.logging.Level.const_get(level.to_s.upcase)

      [ 'com.gargoylesoftware.htmlunit',
        'com.gargoylesoftware.htmlunit.html',
        'com.gargoylesoftware.htmlunit.javascript',
        'org.apache.commons.httpclient'
      ].each { |package| Celerity::Util.logger_for(package).level = log_level }

      level
    end
1108593
def secure(self, fromAddress, toAddress,
               fromCertificate, foreignCertificateAuthority=None,
               authorize=True):
        
        if self.hostCertificate is not None:
            raise RuntimeError("Re-securing already secured connection.")

        def _cbSecure(response):
            if foreignCertificateAuthority is not None:
                self.authorized = True
            return True
        extra = {'tls_localCertificate': fromCertificate}
        if foreignCertificateAuthority is not None:
            extra['tls_verifyAuthorities'] = [foreignCertificateAuthority]

        return self.callRemote(
            Secure,
            From=fromAddress,
            to=toAddress,
            authorize=authorize, **extra).addCallback(_cbSecure)
439005
public void setSecureLevel(short secureLevel) throws ClassException {
	// Security
	if (secureLevel == SECURE_CFSSL_BASIC) {
	    env.put("java.naming.security.protocol", "ssl");
	    env.put("java.naming.ldap.factory.socket", "javax.net.ssl.SSLSocketFactory");
	    ClassUtil.loadClass("com.sun.net.ssl.internal.ssl.Provider");

	    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

	}
	else if (secureLevel == SECURE_CFSSL_CLIENT_AUTH) {
	    env.put("java.naming.security.protocol", "ssl");
	    env.put("java.naming.security.authentication", "EXTERNAL");
	}
	else {
	    env.put("java.naming.security.authentication", "simple");
	    env.remove("java.naming.security.protocol");
	    env.remove("java.naming.ldap.factory.socket");
	}
    }
735953
public com.google.api.ads.adwords.axis.v201809.cm.LevelOfDetail getLevelOfDetail() {
        return levelOfDetail;
    }
628207
public SSLEngine newEngine() {
        if (nextProtocols.isEmpty()) {
            return new OpenSslEngine(ctx, bufferPool, null);
        } else {
            return new OpenSslEngine(
                    ctx, bufferPool, nextProtocols.get(nextProtocols.size() - 1));
        }
    }
1279710
private static Provider getAppEngineProvider() {
    try {
      // Forcibly load conscrypt as it is unlikely to be an installed provider on AppEngine
      return (Provider) Class.forName("org.conscrypt.OpenSSLProvider")
          .getConstructor().newInstance();
    } catch (Throwable t) {
      throw new RuntimeException("Unable to load conscrypt security provider", t);
    }
  }
395679
@Override
  public Level getLevel()
  {
    if (_localLevel != null) {
      Level level = _localLevel.get();

      if (level != null) {
        return level;
      }
    }

    return _systemLevel;
  }
996747
private Level getAssignedLevel(ClassLoader loader)
  {
    Level level = null;
    
    if (_localLevel != null) {
      return _localLevel.get(loader);
    }
    
    return null;
  }
1075833
private HttpLoggingInterceptor loggingInterceptor(int logLevel) {

        HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();

        switch (logLevel) {
            case LogLevelConst.DEBUG:
                interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
                break;
            default:
                interceptor.setLevel(HttpLoggingInterceptor.Level.NONE);
                break;
        }

        return interceptor;
    }
70244
public static boolean isSecure(URI uri) {
    Objects.requireNonNull(uri, "uri must not be null");
    return uri.getScheme().equals("wss") || uri.getScheme().equals("https");
  }