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:
2024-08-20 00:03:58 +02:00
parent d5ff936710
commit d6007493df
7 changed files with 100 additions and 56 deletions

View File

@@ -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() {