Package io.jans.configapi.service.auth
Class SessionService
- java.lang.Object
-
- io.jans.configapi.service.auth.SessionService
-
@ApplicationScoped public class SessionService extends Object
-
-
Constructor Summary
Constructors Constructor Description SessionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.jans.as.common.model.session.SessionId>
getAllSessions()
List<io.jans.as.common.model.session.SessionId>
getAllSessions(int sizeLimit)
String
getDnForSession(String sessionId)
String
getDnForUser(String userInum)
io.jans.as.common.model.session.SessionId
getSessionBySid(String sid)
List<io.jans.as.common.model.session.SessionId>
getSessions()
void
revokeSessionBySid(String sid)
void
revokeSessionTokens(String id, String sessionDn)
void
revokeUserSession(String userDn)
io.jans.orm.model.PagedResult<io.jans.as.common.model.session.SessionId>
searchSession(io.jans.model.SearchRequest searchRequest)
-
-
-
Method Detail
-
getSessionBySid
public io.jans.as.common.model.session.SessionId getSessionBySid(String sid)
-
getAllSessions
public List<io.jans.as.common.model.session.SessionId> getAllSessions(int sizeLimit)
-
getAllSessions
public List<io.jans.as.common.model.session.SessionId> getAllSessions()
-
getSessions
public List<io.jans.as.common.model.session.SessionId> getSessions()
-
searchSession
public io.jans.orm.model.PagedResult<io.jans.as.common.model.session.SessionId> searchSession(io.jans.model.SearchRequest searchRequest)
-
revokeSessionBySid
public void revokeSessionBySid(String sid)
-
revokeUserSession
public void revokeUserSession(String userDn)
-
-