All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daedafusion.security.admin.SessionAdmin Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
package com.daedafusion.security.admin;

import com.daedafusion.security.authentication.Subject;
import com.daedafusion.security.common.Session;
import com.daedafusion.security.exceptions.NotFoundException;
import com.daedafusion.security.exceptions.UnauthorizedException;

import java.util.List;

/**
 * Created by mphilpot on 7/19/14.
 */
public interface SessionAdmin
{
    List getSessions(Subject subject) throws NotFoundException, UnauthorizedException;

    void expireSession(Subject subject, String id) throws UnauthorizedException, NotFoundException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy