Page 1 of 1

Bypass login dialog

PostPosted: Thu Aug 25, 2016 12:48 pm
by johnit
I wrote my own security manager and have the problem that the login dialog is waiting for username/password. Is it possible to bypass the login dialog?

Re: Bypass login dialog

PostPosted: Thu Aug 25, 2016 12:55 pm
by Support@SIB
You could create a custom authenticator as described here. A custom authenticator is useful if you want to send custom properties/information to the security manager.

It's also possible to use the ConnectAuthenticator which doesn't send additional information to the security manager, but it makes the first request and the login dialog will be removed if authentication was successful.

Simply add the ConnectAuthenticator to your application.xml:

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