Can I mix both Windows authentication and Database [forms] authentication?
A requirement for my installation would be to first attempt to authenticate the user against Windows Active Directory users database, then in case of failure to authenticate user against SQL Server database (users table).
Can Gemini handle this type of workflow on user login?
FredZimmerman
· 1 |
|
Tuesday, May 9, 2006, 2:50:13 PM |
0
|
This is not possible out of the box. However, you could customise Gemini and put an initial page that will use Gemini sso.aspx page to log on known windows users. |
||||
|
0
|
Can you explain the sso.aspx page, I did not see this in the
application. My requirement (as stated by my manager) is to have
the user who fails Active Directory Authentication, given a 2nd chance
to login against a user authentication data store. Can Gemini do
this, with customization? |
||||
|
0
|
The sso.aspx page is there to login people automatically. See http://community.countersoft.com/forums/thread/583.aspx Basically, the site will run with Forms authentication but you will have to write a new app / page that will check if a user has got windows credentials and if they are valid locate that user and send the correct user name and password to the sso page so the user is logged on automatically. If you do not find the user then redirect to default.aspx that will allow the user to log on.
|
||||
|
0
|
Has anyone got this working successfully? I was hoping we could automatically log domain users in but prompt non-domain users (or domain users temporarily using non-domain machines, e.g. employees working from hom using their own PCs) for their credentials and log in accordingly. |
||||
|
0
|
You should be able to do this with 2 sites pointing to the same database. |
||||
|
0
|
nharris, We are automatically logging domain users in here without any issues. And if a user uses a non domain computer it prompts them for their domain username and password. Where are you getting stuck? Is this even what you are looking for? Thanks. /paul |
||||
|
0
|
Paul, |
||||
|
0
|
No, we don't have that setup here. Only Windows auth. /paul |
||||
|