protected String determineConsentEvent ( final RequestContext requestContext ) { val webService = WebUtils . getService ( requestContext ) ; val service = this . authenticationRequestServiceSelectionStrategies . resolveService ( webService ) ; if ( service == null ) { return null ; } val registeredService = getRegisteredServiceForConsent ( requestContext , service ) ; val authentication = WebUtils . getAuthentication ( requestContext ) ; if ( authentication == null ) { return null ; } return isConsentRequired ( service , registeredService , authentication , requestContext ) ; }
Determine consent event string .