Users Are Able to Log in to Web Console Without Password

Reported for version 10

Problem

After configuring an LDAP authentication for Web Console Portal users are able to log in without entering their passwords. 

Solution

In [DQC]/runtime/server/etc make sure that in .serverConfig file simple authentication is used with the PasswordServerMethod of the AuthenticationService component:<authType>simple</authType>. See sample configuration below:

default.serverConfig authentication settings...
<server>
	...
	<serverComponents>
	...
		<component class="com.ataccama.dqc.server.services.AuthenticationService">
		...
			<method class="com.ataccama.dqc.communication.auth.server.PasswordServerMethod">
				<provider class="com.ataccama.dqc.communication.auth.server.LdapIdentityProvider">
					<urls>
						<url>ldap://ldap-server1.domain.com:3268</url>
						<url>ldap://ldap-server2.domain.com:3268</url>
					</urls>
					<basePath>OU=Company,DC=domain,DC=com</basePath>
					<userQuery>(&amp;(objectclass=person)(!(objectclass=computer))(sAMAccountName=${login}))</userQuery>
					<authType>simple</authType>
					<authUser>ldapuser@domain.com</authUser>
					<authPass>crypted:DESede:f454FdxIE/Od3tYlWAcKTl2exmWAgHX0qrqKGiKUsYw=</authPass>
					<groupResolvers>
						<gr class="com.ataccama.web.amc.core.auth.UmcRoleResolver" appName="DQC"/>
					</groupResolvers>
				</provider>
			</method>
		</component>
		...
	</serverComponents>		
</server>