cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Bowler" <paulbow...@www.aventix.co.uk>
Subject Re: Authentication problem (cocoon 2.1)
Date Wed, 09 Apr 2003 08:52:43 GMT
Sorry, here is the sitemap again after my mail program decided split the last lot up (badly).

Paul.

<map:pipelines>
	<map:component-configurations>
		<authentication-manager>
			<handlers>
				<handler name="global">
					<redirect-to uri="cocoon://login/login.xml"/>
					<authentication uri="cocoon:raw://login/authuser"/>
				</handler>
			</handlers>
		</authentication-manager>
	</map:component-configurations>
	<map:pipeline>
		<map:match pattern="login/authuser">
			<map:read src="documents/login/user.xml"/>
		</map:match>
		<map:match pattern="manage">
			<map:act type="auth-protect">
				<map:generate src="documents/manage/manage.xml"/>
				<map:transform src="documents/manage/manage.xslt"/>
				<map:serialize/>
			</map:act>
		</map:match>
		<map:match pattern="login/login.xml">
			<map:generate src="documents/login/login.xml"/>
			<map:transform src="documents/login/login.xslt"/>
			<map:serialize/>
		</map:match>
		<map:match pattern="login/submit">
			<map:act type="auth-login">
				<map:parameter name="handler" value="global"/>
				<map:parameter name="parameter_userid" value="{request-param:name}"/>
				<map:parameter name="parameter_password" value="{request-param:password}"/>
				<map:redirect-to uri="manage"/>
			</map:act>
			<map:generate src="documents/login/login.xml"/>
			<map:transform src="documents/login/error.xslt"/>
			<map:serialize/>
		</map:match>
	</map:pipeline>
</map:pipelines>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message