Skip to content

Commit

Permalink
Remove unused noauthsessionservice property (#11169)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbentoneves authored Nov 15, 2024
1 parent c6d4050 commit d2bb276
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This should open the ports. Now we are ready to run the cBioPortal web app local
```
java -Xms2g -Xmx4g \
-Dauthenticate=noauthsessionservice \
-Dauthenticate=false \
-Dsession.service.url=http://localhost:5000/api/sessions/my_portal/ \
-Dsession.service.origin='*' \
-Dspring.datasource.username=cbio_user \
Expand Down
2 changes: 0 additions & 2 deletions docs/development/session-service-working.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
Here are the properties that needs to be set

```
WARNING: do not use session service with -Dauthenticate=false
either use authentication or change to -Dauthenticate=noauthsessionservice
session.service.url=
#if basic authentication is enabled on session service one should set:
session.service.user=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;

@Configuration
@ConditionalOnProperty(name = "authenticate", havingValue = {"false", "noauthsessionservice", "optional_oauth2"}, isNot = true)
@ConditionalOnProperty(name = "authenticate", havingValue = {"false", "optional_oauth2"}, isNot = true)
public class ApiSecurityConfig {

// Add security filter chains that handle calls to the API endpoints.
Expand Down

0 comments on commit d2bb276

Please sign in to comment.