Dashboard > RIFE > ... > Authentication > Allow pass-through of unauthenticated users
RIFE Log In | Sign Up   View a printable version of the current page.
Allow pass-through of unauthenticated users


Added by Geert Bevin, last edited by Geert Bevin on Aug 20, 2006  (view change)
Labels: 
(None)

By default, authentication elements show a login form when someone isn't logged in. However, you might want to display a variant of the page for anonymous users and customize it for authenticated users using the 'user authentication facility'. To do this you can set the 'enforce_authenticated' property to false for an authentication element.

For example:

<element extends="rife/authenticated/memory.xml">
  <property name="enforce_authenticated">false</property>
  <property name="template_name">authentication_memory</property>
 
  <submission name="credentials">
    <param name="login"/>
    <param name="password"/>
  </submission>
 
  <childtrigger name="authid"/>
</element>



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators