This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Bypass login dialog

General questions regarding the development with ProjX.

Bypass login dialog

Postby johnit » Thu Aug 25, 2016 12:48 pm

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?
johnit
 
Posts: 45
Joined: Fri Nov 16, 2012 5:58 pm

Re: Bypass login dialog

Postby Support@SIB » Thu Aug 25, 2016 12:55 pm

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>

User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development