IdentityBrokerService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,378 of 3,3780%278 of 2780%2022026706706363
clientInitiatedAccountLinking(String, String, String, String, String)4620%300%1616898911
authenticated(BrokeredIdentityContext)3700%340%1818767611
afterFirstBrokerLogin(AuthenticationSessionModel)2460%220%1212515111
performAccountLinking(AuthenticationSessionModel, UserSessionModel, BrokeredIdentityContext, FederatedIdentityModel, UserModel)1930%200%1111353511
getToken(String, boolean)1620%120%77313111
performLogin(String, String, String, String, String, String)1380%140%88282811
parseSessionCode(String, String, String, String)1140%140%88191911
finishBrokerAuthentication(BrokeredIdentityContext, UserModel, AuthenticationSessionModel, String)1120%60%44191911
finishOrRedirectToPostBrokerLogin(AuthenticationSessionModel, BrokeredIdentityContext, boolean)910%20%22151511
updateToken(BrokeredIdentityContext, UserModel, FederatedIdentityModel)830%120%77161611
updateFederatedIdentity(BrokeredIdentityContext, UserModel)780%40%33131311
afterPostBrokerLoginFlow(String, String, String, String)700%40%33161611
browserAuthentication(AuthenticationSessionModel, String, Object[])670%20%22191911
checkClient(String)650%60%44121211
retryLogin(IdentityProvider, AuthenticationSessionModel)550%40%33111111
afterPostBrokerLoginFlowSuccess(AuthenticationSessionModel, BrokeredIdentityContext, boolean)540%60%44111111
createAuthenticationRequest(IdentityProvider, String, ClientSessionCode)540%40%338811
fireErrorEvent(String, Throwable)510%100%66151511
checkPassiveLoginError(AuthenticationSessionModel, String)480%60%44101011
checkAccountManagementFailedLinking(AuthenticationSessionModel, String, Object[])470%60%448811
validateUser(AuthenticationSessionModel, UserModel, RealmModel)450%60%448811
redirectToAccountErrorPage(AuthenticationSessionModel, String, Object[])450%n/a119911
migrateFederatedIdentityId(BrokeredIdentityContext, UserModel)440%n/a116611
shouldPerformAccountLinking(AuthenticationSessionModel, UserSessionModel, String)420%60%44111111
checkOverrideLink(AuthenticationSessionModel, UserModel, String)400%40%33131311
setEmail(BrokeredIdentityContext, UserModel, String)370%40%337711
cancelled(IdentityProviderModel)360%20%226611
setBasicUserAttributes(BrokeredIdentityContext, UserModel)360%n/a114411
IdentityBrokerService(KeycloakSession)340%20%229911
error(String)320%40%338811
getIdentityProvider(KeycloakSession, String)300%40%337711
redirectToErrorPage(AuthenticationSessionModel, Response.Status, String, Throwable, Object[])270%40%337711
getAndVerifyAuthenticationSession(String)240%n/a116611
setDiffAttrToConsumer(String, String, Consumer, boolean)230%80%554411
getIdentityProviderFactory(KeycloakSession, IdentityProviderModel)230%n/a116611
canReadBrokerToken(AccessToken)220%60%443311
redirectToErrorWhenLinkingFailed(AuthenticationSessionModel, String, Object[])220%40%333311
getEndpoint(String)210%n/a115511
checkRealm()190%20%224411
lambda$updateFederatedIdentity$2(KeycloakSessionFactory, UserModel, BrokeredIdentityContext, IdentityProviderMapperModel)170%n/a114411
lambda$afterFirstBrokerLogin$1(KeycloakSessionFactory, UserModel, BrokeredIdentityContext, IdentityProviderMapperModel)170%n/a114411
getIdentityProviderConfig(String)160%20%224411
lambda$authenticated$0(KeycloakSessionFactory, BrokeredIdentityContext, IdentityProviderMapperModel)160%n/a114411
init()140%n/a112211
getRedirectUri(String)120%n/a111111
afterFirstBrokerLogin(String, String, String, String)110%n/a112211
corsResponse(Response, ClientModel)100%n/a111111
rollback()100%20%223311
performPostLogin(String, String, String, String, String, String)90%n/a111111
redirectToErrorPage(AuthenticationSessionModel, Response.Status, String, Object[])80%n/a111111
redirectToErrorPage(Response.Status, String, Object[])80%n/a111111
redirectToErrorPage(Response.Status, String, Throwable, Object[])80%n/a111111
badRequest(String)70%n/a112211
forbidden(String)70%n/a112211
notFound(String)70%n/a112211
retrieveTokenPreflight()60%n/a111111
lambda$getIdentityProviderFactory$4(IdentityProviderModel, ProviderFactory)60%n/a111111
lambda$setBasicUserAttributes$3(BrokeredIdentityContext, UserModel, String)60%n/a111111
retrieveToken(String)50%n/a111111
fireErrorEvent(String)50%n/a112211
clientIntiatedAccountLinkingPreflight(String)40%n/a111111
static {...}40%n/a111111
isDebugEnabled()0%n/a111111