Conditional identifier when logging in

Hi Everyone,

I’ve configured keycloak with LDAP. The question is, can I make a decision scheme when someone tries to login. (Its like keycloak can choose some user using password from LDAP and others using password from keycloak environment?)