This is an automated email from the ASF dual-hosted git repository. nixon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push: new c477a6f ATLAS-3116:- Changed bean scope to prototype to fix LDAP login, once a sign-on is made through knox SSO. c477a6f is described below commit c477a6f6d1899211e7a7d9b67090b20757e28578 Author: nixonrodrigues <ni...@apache.org> AuthorDate: Fri Apr 5 12:34:16 2019 +0530 ATLAS-3116:- Changed bean scope to prototype to fix LDAP login, once a sign-on is made through knox SSO. Change-Id: Ia76852d1c4e13216c54d225e0cbcd1108fd2f402 --- .../java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java b/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java index 6827aec..fb21d75 100644 --- a/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java +++ b/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java @@ -21,6 +21,7 @@ import org.apache.atlas.ApplicationProperties; import org.apache.commons.configuration.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.context.annotation.Scope; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; import org.springframework.stereotype.Component; @@ -29,6 +30,7 @@ import javax.annotation.PostConstruct; import javax.inject.Inject; @Component +@Scope("prototype") public class AtlasAuthenticationProvider extends AtlasAbstractAuthenticationProvider { private static final Logger LOG = LoggerFactory .getLogger(AtlasAuthenticationProvider.class);