[jboss-user] [Security & JAAS/JBoss] - Re: webapp login in a virual host

hawkis do-not-reply at jboss.com
Mon Mar 5 16:21:33 EST 2007


Excerpt from the <JBOSS_ROOT>/server/default/deploy/jbossweb-tomcat55.sar/server.xml:

  |       <Engine name="jboss.web" defaultHost="newhost">
  | 
  |          <!-- Removed most of the comments  -->
  |          <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
  |             certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
  |             allRolesMode="authOnly"
  |             />
  | 
  | 	<Host name="newhost"
  | 	autodeploy="true"
  | 	deployOnStartup="true"
  | 	deployXML="true"
  | 	appBase="app">
  | 		<Valve className="org.apache.catalina.valves.AccessLogValve"
  | 		directory="applog"
  | 		suffix=".log"
  | 		pattern="combined"/>
  | 		<DefaultContext crossContext="true" reloadable="true" />
  | 		<Context path=""         docBase="app.war" />
  | 	</Host>
  | 
  |         <Host name="localhost"
  |            autoDeploy="false" deployOnStartup="false" deployXML="false"
  |            configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
  |            >
  | <!-- only comments here -->
  |         </Host>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025213#4025213

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025213



More information about the jboss-user mailing list