Package io.jans.fido2.service.persist
Class UserSessionIdService
- java.lang.Object
-
- io.jans.fido2.service.persist.UserSessionIdService
-
@ApplicationScoped public class UserSessionIdService extends Object
Configure user session to confirm Fido2 device authentication- Version:
- August 9, 2017
- Author:
- Yuriy Movchan
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTHENTICATED_USER
-
Constructor Summary
Constructors Constructor Description UserSessionIdService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidSessionId(String sessionId, String userName)
void
updateSessionId(io.jans.as.common.model.session.SessionId entity)
void
updateUserSessionIdOnError(String sessionId)
void
updateUserSessionIdOnFinishRequest(String sessionId, String userInum, io.jans.orm.model.fido2.Fido2RegistrationEntry registrationEntry, boolean enroll, boolean oneStep)
void
updateUserSessionIdOnFinishRequest(String sessionId, String userInum, io.jans.orm.model.fido2.Fido2RegistrationEntry registrationEntry, io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntry, boolean enroll, boolean oneStep)
-
-
-
Field Detail
-
AUTHENTICATED_USER
public static final String AUTHENTICATED_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
updateUserSessionIdOnFinishRequest
public void updateUserSessionIdOnFinishRequest(String sessionId, String userInum, io.jans.orm.model.fido2.Fido2RegistrationEntry registrationEntry, boolean enroll, boolean oneStep)
-
updateUserSessionIdOnFinishRequest
public void updateUserSessionIdOnFinishRequest(String sessionId, String userInum, io.jans.orm.model.fido2.Fido2RegistrationEntry registrationEntry, io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntry, boolean enroll, boolean oneStep)
-
updateUserSessionIdOnError
public void updateUserSessionIdOnError(String sessionId)
-
updateSessionId
public void updateSessionId(io.jans.as.common.model.session.SessionId entity)
-
-