use of uk.gov.ida.hub.policy.domain.SessionId in project verify-hub by alphagov.
the class InfinispanStartupTasks method start.
@Override
public void start() throws Exception {
SessionId newSessionId = SessionId.createNewSessionId();
sessionCache.get(newSessionId);
expirationCache.get(newSessionId);
}
use of uk.gov.ida.hub.policy.domain.SessionId in project verify-hub by alphagov.
the class IdpSelectedStateController method createCycle0And1MatchRequestSentState.
private State createCycle0And1MatchRequestSentState(SuccessFromIdp successFromIdp) {
String authnStatementAssertion = successFromIdp.getAuthnStatementAssertion();
String matchingServiceEntityId = getMatchingServiceEntityId();
return new Cycle0And1MatchRequestSentState(state.getRequestId(), state.getRequestIssuerEntityId(), state.getSessionExpiryTimestamp(), state.getAssertionConsumerServiceUri(), new SessionId(state.getSessionId().getSessionId()), state.getTransactionSupportsEidas(), state.isRegistering(), successFromIdp.getIssuer(), state.getRelayState().orNull(), successFromIdp.getLevelOfAssurance(), matchingServiceEntityId, successFromIdp.getEncryptedMatchingDatasetAssertion(), authnStatementAssertion, successFromIdp.getPersistentId());
}
Aggregations