Reply To: [Solved] PrettyFaces & JAAS problem

Splash Forums PrettyFaces Users [Solved] PrettyFaces & JAAS problem Reply To: [Solved] PrettyFaces & JAAS problem



Sorry but I have no idea how to do what you said – can you give me an example ? 🙂

I did some further research (tried to create a workaround):

Even if I add a file to the unprotected area:

			<web-resource-name>Unprotected Area</web-resource-name>

and define a pretty-faces rule for this:

	<url-mapping id="login">
		<pattern value="/login/#{login}/#{pass}" />
		<view-id value="/unprotected.xhtml" />

It won’t work! So this means prettyfaces will work only if a successful login was done (user is logged in) and not before…