aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserSessionManager.java
blob: 79071d5be9b146f17ecb14431ee94894166615ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.user;

import com.yahoo.vespa.hosted.controller.api.role.SecurityContext;

/**
 * @author freva
 */
public interface UserSessionManager {

    /** Returns whether the existing session for the given SecurityContext should be expired */
    boolean shouldExpireSessionFor(SecurityContext context);
}