use of uk.gov.ida.hub.policy.domain.state.CountrySelectedState in project verify-hub by alphagov.
the class CountrySelectedStateController method selectCountry.
@Override
public void selectCountry(String countryEntityId) {
CountrySelectedState countrySelectedState = new CountrySelectedState(countryEntityId, state.getRelayState(), state.getRequestId(), state.getRequestIssuerEntityId(), state.getSessionExpiryTimestamp(), state.getAssertionConsumerServiceUri(), state.getSessionId(), state.getTransactionSupportsEidas(), state.getLevelsOfAssurance());
stateTransitionAction.transitionTo(countrySelectedState);
hubEventLogger.logCountrySelectedEvent(countrySelectedState);
}
use of uk.gov.ida.hub.policy.domain.state.CountrySelectedState in project verify-hub by alphagov.
the class SessionStartedStateController method selectCountry.
@Override
public void selectCountry(String countryEntityId) {
CountrySelectedState countrySelectedState = new CountrySelectedState(countryEntityId, state.getRelayState(), state.getRequestId(), state.getRequestIssuerEntityId(), state.getSessionExpiryTimestamp(), state.getAssertionConsumerServiceUri(), state.getSessionId(), state.getTransactionSupportsEidas(), // TODO: EID-154 will plug in a real LOA
Collections.singletonList(LevelOfAssurance.LEVEL_2));
stateTransitionAction.transitionTo(countrySelectedState);
hubEventLogger.logCountrySelectedEvent(countrySelectedState);
}
Aggregations