org.apache.catalina.startup.Embedded.setRealm()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(164)

本文整理了Java中org.apache.catalina.startup.Embedded.setRealm()方法的一些代码示例,展示了Embedded.setRealm()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Embedded.setRealm()方法的具体详情如下:
包路径:org.apache.catalina.startup.Embedded
类名称:Embedded
方法名:setRealm

Embedded.setRealm介绍

[英]Set the default Realm for our Containers.
[中]设置容器的默认域。

代码示例

代码示例来源:origin: stackoverflow.com

container.setRealm(new MemoryRealm());

代码示例来源:origin: apache/geode

container.setCatalinaHome(catalinaHome);
container.setRealm(new MemoryRealm());

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: tomcat/catalina

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: jboss.web/jbossweb

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(Realm realm) {
  super();
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: org.glassfish.main.web/web-core

/**
 * Construct a new instance of this class with specified properties.
 *
 * @param logger Logger implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 * @param realm Realm implementation to be inherited by all components
 *  (unless overridden further down the container hierarchy)
 */
public Embedded(org.apache.catalina.Logger logger, Realm realm) {
  super();
  setLogger(logger);
  setRealm(realm);
  setSecurityProtection();
  
}

代码示例来源:origin: apache/tomcat-maven-plugin

container.setRealm( memoryRealm );
container.setUseNaming( useNaming );

相关文章