Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > AD Authentication View modes: 
User avatar
Member
Member
JAA - 1/29/2014 10:39:09 AM
   
AD Authentication
We currently have Mixed Mode Authentication enabled. When a new user logs into the system, Kentico will check to see if they can be authenticated via AD and create them an account locally with the "IsDomainUser" checked if all goes well.

Is there an option to change this behavior such that if a user does not exist in Kentico, Kentico will not create one? I still want to authenticate via AD, but if a pre-existing user does not exist I would like AD to not create one and fail the authentication.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/3/2014 7:26:23 AM
   
RE:AD Authentication
Hi,

This will require some customization since it is very unusual request. You will probably need to hook to the SecurityEvents.Authenticate.StartEvent global event handler so, you can check the use account here and if not available, you can change the first parameter with the user info to null and then the authentication will fail.

Best regards,
Juraj Ondrus

User avatar
Member
Member
JAA - 2/3/2014 1:56:30 PM
   
RE:AD Authentication
Thanks for the info, exactly what I needed