Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Grayling authored and Daniel Grayling committed Mar 11, 2015
2 parents c16b560 + 54ec18d commit 2bfae39
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 170 deletions.
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.hp.autonomy.frontend.find</groupId>
<artifactId>find</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>war</packaging>

<properties>
Expand Down Expand Up @@ -426,6 +426,11 @@
<artifactId>configuration-impl</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.hp.autonomy.frontend.configuration</groupId>
<artifactId>configuration-authentication</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.hp.autonomy.frontend</groupId>
<artifactId>logging</artifactId>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 20 additions & 0 deletions src/main/webapp/WEB-INF/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,26 @@
<security:intercept-url pattern="/api/config/**" access="ROLE_DEFAULT"/>
</security:http>

<bean id="defaultLoginAuthenticationProvider" class="com.hp.autonomy.frontend.configuration.authentication.DefaultLoginAuthenticationProvider">
<constructor-arg ref="configFileService"/>
<constructor-arg value="ROLE_DEFAULT"/>
</bean>

<bean id="singleUserAuthenticationProvider" class="com.hp.autonomy.frontend.configuration.authentication.SingleUserAuthenticationProvider">
<constructor-arg ref="configFileService"/>
<constructor-arg value="ROLE_ADMIN"/>
</bean>

<bean id="loginSuccessHandler" class="com.hp.autonomy.frontend.configuration.authentication.LoginSuccessHandler">
<constructor-arg value="ROLE_DEFAULT"/>
<constructor-arg value="/config/"/>
<constructor-arg value="/p/"/>
</bean>

<bean id="findAccessDeniedHandler" class="com.hp.autonomy.frontend.configuration.authentication.FindAccessDeniedHandler">
<constructor-arg value="loginPage"/>
</bean>

<security:http>
<security:access-denied-handler ref="findAccessDeniedHandler"/>
<security:intercept-url pattern="/p/**" access="ROLE_ADMIN"/>
Expand Down

0 comments on commit 2bfae39

Please sign in to comment.