aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/user/UserSessionManager.java
blob: eae62c66b35707608a076bb6cd2290677610bbd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. 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);
}