Application without authentication

Information about development with ProjX.

Application without authentication

Postby Development@SIB » Tue Sep 09, 2014 10:59 am

Sometimes it's useful to create an application without login. This kind of application is perfect for public areas or if you offer free services. It's not a problem to code such an application but it's also possible to configure this requirement.

Simply use the ConnectAuthenticator in your application.xml:

Code: Select all
<Application.authenticator>
com.sibvisions.apps.auth.ConnectAuthenticator
</Application.authenticator>

and set NoSecurityManager via config.xml

Code: Select all
<securitymanager>
  <class>com.sibvisions.rad.server.security.NoSecurityManager</class>
</securitymanager>

These two settings will change your application from a restricted to a public application without user login.
User avatar
Development@SIB
 
Posts: 311
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation