Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout doesn't correctly work #1295

Open
telepuz opened this issue May 5, 2023 · 1 comment
Open

Logout doesn't correctly work #1295

telepuz opened this issue May 5, 2023 · 1 comment
Assignees
Labels
bug help-wanted Issues in the state 'help-wanted'

Comments

@telepuz
Copy link

telepuz commented May 5, 2023

Project board link

Hello!
I have some trouble with Reaper UI. I configure reaper with shiro authorization. When I use UI, reaper don't ask credentials

How to reproduce:

  1. Go to /webui/index.html -> Get webui without authorization
  2. Press Logout -> Redirected to login form
  3. Enter manually /webui/index.html -> Get webui

Did expected - On first visit get login form. After logout all URLs are redirected to login form

Reaper version: 3.2.1 and 3.3.1

Reaper configuration

cassandra-reaper.yaml

```yaml

segmentCountPerNode: 32
repairParallelism: DATACENTER_AWARE
repairIntensity: 0.9
scheduleDaysBetween: 7
repairRunThreadCount: 15
hangingRepairTimeoutMins: 30
storageType: cassandra
enableCrossOrigin: true
incrementalRepair: false
blacklistTwcsTables: true
enableDynamicSeedList: true
repairManagerSchedulingIntervalSeconds: 5
activateQueryLogger: false
jmxConnectionTimeoutInSeconds: 20
useAddressTranslator: false
maxPendingCompactions: 40
maxParallelRepairs: 8
datacenterAvailability: "EACH"

server:
type: default
applicationConnectors:
- type: http
port: 8080
bindHost: 0.0.0.0
adminConnectors:
- type: http
port: 8081
bindHost: 0.0.0.0
requestLog:
appenders: []

cassandra:
authProvider:
password: password
type: plainText
username: user
clusterName: cassandra-reaper
contactPoints:

  • xxx.xxx.xxx.xxx
  • xxx.xxx.xxx.xxx
  • xxx.xxx.xxx.xxx
    keyspace: reaper_db
    loadBalancingPolicy:
    shuffleReplicas: 'True'
    subPolicy:
    allowRemoteDCsForLocalConsistencyLevel: 'False'
    localDC: dc
    type: dcAwareRoundRobin
    usedHostsPerRemoteDC: '0'
    type: tokenAware

autoScheduling:
enabled: False
initialDelayPeriod: PT15S
periodBetweenPolls: PT10M
timeBeforeFirstSchedule: PT5M
scheduleSpreadPeriod: PT6H

accessControl:
sessionTimeout: PT10M
shiro:
iniConfigs: ["file:/etc/cassandra-reaper/shiro.ini"]

  shito.ini


```ini
[users]
admin = password, operator</details>

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: REAP-60

@adejanovski
Copy link
Contributor

I can reproduce a similar behavior indeed.
After a few clicks I get redirected to the login form, but it doesn't happen straight away after clicking the logout button indeed.

@adejanovski adejanovski added the bug label Jun 6, 2023
@adejanovski adejanovski moved this to Help Wanted in K8ssandra Jun 6, 2023
@adejanovski adejanovski added the help-wanted Issues in the state 'help-wanted' label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help-wanted Issues in the state 'help-wanted'
Projects
None yet
Development

No branches or pull requests

2 participants