ATLAS-1804: Testcase fix for PAM authentication

Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/e0072e5f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/e0072e5f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/e0072e5f

Branch: refs/heads/feature-odf
Commit: e0072e5ff293adee07554174b0318f0b70027072
Parents: aa6d87e
Author: nixonrodrigues <[email protected]>
Authored: Thu Jun 8 20:58:16 2017 +0530
Committer: nixonrodrigues <[email protected]>
Committed: Fri Jun 9 00:47:22 2017 +0530

----------------------------------------------------------------------
 webapp/src/test/resources/test-spring-security.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/e0072e5f/webapp/src/test/resources/test-spring-security.xml
----------------------------------------------------------------------
diff --git a/webapp/src/test/resources/test-spring-security.xml 
b/webapp/src/test/resources/test-spring-security.xml
index 0ef15d7..4455b0a 100644
--- a/webapp/src/test/resources/test-spring-security.xml
+++ b/webapp/src/test/resources/test-spring-security.xml
@@ -62,10 +62,12 @@
         <beans:constructor-arg ref="userDetailsService"/>
     </beans:bean>
     <beans:bean id="atlasADProvider" 
class="org.apache.atlas.web.security.AtlasADAuthenticationProvider"/>
+    <beans:bean id="atlasPamProvider" 
class="org.apache.atlas.web.security.AtlasPamAuthenticationProvider"/>
     <beans:bean id="atlasAuthenticationProvider" 
class="org.apache.atlas.web.security.AtlasAuthenticationProvider">
         <beans:constructor-arg index="0" ref="atlasLDAPProvider"/>
         <beans:constructor-arg index="1" ref="atlasFileProvider"/>
         <beans:constructor-arg index="2" ref="atlasADProvider"/>
+        <beans:constructor-arg index="3" ref="atlasPamProvider"/>
     </beans:bean>
 
     <beans:bean id="krbAuthenticationFilter" 
class="org.apache.atlas.web.filters.AtlasAuthenticationFilter">

Reply via email to