implemented:
- at_hash in id-token - testing for strong passwords - better protocol detection in PathHandler - session extension on user activity Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -239,8 +239,10 @@ public class FileStore implements AuthorizationService, ClientService, SessionSe
|
||||
}
|
||||
|
||||
@Override
|
||||
public Session extend(String sessionId) {
|
||||
return null;
|
||||
public Session extend(Session session) {
|
||||
var user = session.user();
|
||||
var endOfSession = Instant.now().plus(user.sessionDuration());
|
||||
return save(new Session(user, endOfSession, session.id()));
|
||||
}
|
||||
|
||||
private JSONObject sessions() {
|
||||
|
||||
Reference in New Issue
Block a user