[jboss-user] [Security & JAAS/JBoss] - Re: Cross domain links

tmarafon do-not-reply at jboss.com
Thu Jul 5 10:28:13 EDT 2007


OK...
the documentation wasn't updated..
It was missing the router declaration...

The complete context.xml must be like:
<?xml version="1.0"?>
  | <Context>
  |    <!-- a federation routing valve -->
  |    <!--
  |    		This valve eliminates the need for cross domain federation links 
  |    		to be of the form /federate?target={some link in the other domain}
  |    		With this link, your link can be straight to the resource in the
  |    		other domain 
  |    -->
  | 	<Valve className="org.jboss.security.valve.SSOFederationRouter"/>
  | 	<!-- 
  | 		logoutURL - URL for performing logout/signout function in your application
  | 	-->
  | 	<Valve className="org.jboss.security.valve.SSOAutoLogout"
  | 		logoutURL="logoff.jsp" />
  | 
  | 	<!-- 
  | 		assertingParty - this is the partnerId of this application as a part of a federation of multiple partner sites
  | 	-->
  | 	<Valve className="org.jboss.security.valve.SSOTokenManager"
  | 		assertingParty="SEG" />
  | 
  | 	<!-- 
  | 		tomcat built-in AuthenticationTypes: FORM,BASIC,DIGEST,CLIENT-CERT
  | 	-->
  | 	<Valve className="org.jboss.security.valve.SSOAutoLogin"
  | 		authType="FORM" />
  | </Context>
  | 

Thiago

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

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



More information about the jboss-user mailing list