If a user from a different Gateway is present at a gateway where there's already a user with the same username, it is impossible to login (apparently the wrong user is picked up and the empty password string is tried to be parsed).
Exception extract:
2011-03-09 10:06:39,640 sgf.gateway.web.filters.exception.UnhandledExceptionFilter [ERROR]: This exception that was not handled by the UnhandledExceptionFilter
java.lang.NullPointerException
at sgf.gateway.service.security.impl.acegi.FreeBSDCryptPasswordEncoder.isPasswordValid(FreeBSDCryptPasswordEncoder.java:61)
at org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:68)
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:146)
at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:130)
I also see the following error message when starting the Gateway. I'm not sure it's related though:
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Executing: classpath:liquibase/update-v1/changelog.xml despite precondition failure due to onFail='WARN':
1 preconditions failed
classpath:liquibase/update-v1/changelog.xml : SQL Precondition failed. Expected '1' got '2'
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
Exception extract:
2011-03-09 10:06:39,640 sgf.gateway.web.filters.exception.UnhandledExceptionFilter [ERROR]: This exception that was not handled by the UnhandledExceptionFilter
java.lang.NullPointerException
at sgf.gateway.service.security.impl.acegi.FreeBSDCryptPasswordEncoder.isPasswordValid(FreeBSDCryptPasswordEncoder.java:61)
at org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:68)
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:146)
at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:130)
I also see the following error message when starting the Gateway. I'm not sure it's related though:
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Executing: classpath:liquibase/update-v1/changelog.xml despite precondition failure due to onFail='WARN':
1 preconditions failed
classpath:liquibase/update-v1/changelog.xml : SQL Precondition failed. Expected '1' got '2'
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
INFO 3/8/11 10:47 AM:liquibase: Successfully acquired change log lock
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Reading from public.databasechangelog
INFO 3/8/11 10:47 AM:liquibase: Successfully released change log lock
- relates to
-
GTWY-2082 MyProxy Logon client pre-populating the wrong username
- Done