本文整理了Java中org.apache.catalina.startup.Embedded.setRealm()
方法的一些代码示例,展示了Embedded.setRealm()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Embedded.setRealm()
方法的具体详情如下:
包路径:org.apache.catalina.startup.Embedded
类名称: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 );
内容来源于网络,如有侵权,请联系作者删除!