aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2020-06-03 16:18:03 +0200
committerXue Gao <xg353y@intl.att.com>2020-06-04 10:48:20 +0000
commit715746fbd2bcb18193138d56df50b0d44da2681b (patch)
treeab533c51a966681f61fc29974e6cdd034d003bc6 /src/main/java
parent76aba9965ffb62bc59f9c95ba61811448010f2cf (diff)
Remove logout
Remove the logout option from UI. Issue-ID: CLAMP-860 Change-Id: I711b8a7eaf523195f0534044efd3dd74c3f1e0be Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/clamp/clds/config/DefaultUserConfiguration.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/onap/clamp/clds/config/DefaultUserConfiguration.java b/src/main/java/org/onap/clamp/clds/config/DefaultUserConfiguration.java
index d20a7370c..cfd5f990f 100644
--- a/src/main/java/org/onap/clamp/clds/config/DefaultUserConfiguration.java
+++ b/src/main/java/org/onap/clamp/clds/config/DefaultUserConfiguration.java
@@ -74,9 +74,7 @@ public class DefaultUserConfiguration extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) {
try {
http.csrf().disable().httpBasic().and().authorizeRequests().antMatchers("/restservices/clds/v1/user/**")
- .authenticated().anyRequest().permitAll().and().logout()
- .logoutUrl("/restservices/clds/v1/user/logout").logoutSuccessUrl("/index.html")
- .invalidateHttpSession(true).deleteCookies("JSESSIONID").and().sessionManagement()
+ .authenticated().anyRequest().permitAll().and().sessionManagement()
.maximumSessions(1);
} catch (Exception e) {