IdentityBrokerService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,282 of 3,2820%260 of 2600%1911916286286161
clientInitiatedAccountLinking(String, String, String, String, String)4770%300%1616898911
authenticated(BrokeredIdentityContext)3650%340%1818757511
afterFirstBrokerLogin(AuthenticationSessionModel)2370%200%1111494911
getToken(String, boolean)2050%120%77313111
performAccountLinking(AuthenticationSessionModel, UserSessionModel, BrokeredIdentityContext, FederatedIdentityModel, UserModel)1910%200%1111353511
performLogin(String, String, String, String, String)1470%160%99262611
parseSessionCode(String, String, String)1130%140%88191911
finishBrokerAuthentication(BrokeredIdentityContext, UserModel, AuthenticationSessionModel, String)1100%60%44191911
finishOrRedirectToPostBrokerLogin(AuthenticationSessionModel, BrokeredIdentityContext, boolean)800%20%22141411
updateFederatedIdentity(BrokeredIdentityContext, UserModel)770%40%33131311
afterPostBrokerLoginFlow(String, String, String)750%40%33161611
browserAuthentication(AuthenticationSessionModel, String, Object[])670%20%22191911
checkClient(String)650%60%44121211
afterPostBrokerLoginFlowSuccess(AuthenticationSessionModel, BrokeredIdentityContext, boolean)540%60%44111111
fireErrorEvent(String, Throwable)510%100%66151511
shouldPerformAccountLinking(AuthenticationSessionModel, UserSessionModel, String)480%60%44111111
checkAccountManagementFailedLinking(AuthenticationSessionModel, String, Object[])470%60%448811
checkPassiveLoginError(AuthenticationSessionModel, String)470%60%44101011
validateUser(AuthenticationSessionModel, UserModel, RealmModel)450%60%448811
redirectToAccountErrorPage(AuthenticationSessionModel, String, Object[])450%n/a119911
getIdentityProvider(KeycloakSession, RealmModel, String)450%40%337711
migrateFederatedIdentityId(BrokeredIdentityContext, UserModel)440%n/a116611
createAuthenticationRequest(String, ClientSessionCode)430%20%227711
setEmail(BrokeredIdentityContext, UserModel, String)370%40%337711
cancelled(IdentityProviderModel)360%20%226611
IdentityBrokerService(KeycloakSession)340%20%229911
setBasicUserAttributes(BrokeredIdentityContext, UserModel)330%n/a114411
updateToken(BrokeredIdentityContext, UserModel, FederatedIdentityModel)330%60%446611
error(String)320%40%338811
redirectToErrorPage(AuthenticationSessionModel, Response.Status, String, Throwable, Object[])290%60%447711
getEndpoint(String)230%n/a115511
getIdentityProviderFactory(KeycloakSession, IdentityProviderModel)230%n/a116611
getIdentityProviderConfig(String)230%20%224411
canReadBrokerToken(AccessToken)220%60%443311
redirectToErrorWhenLinkingFailed(AuthenticationSessionModel, String, Object[])220%40%333311
getAndVerifyAuthenticationSession(String)200%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
setDiffAttrToConsumer(String, String, Consumer)160%40%334411
lambda$authenticated$0(KeycloakSessionFactory, BrokeredIdentityContext, IdentityProviderMapperModel)160%n/a114411
init()140%n/a112211
getRedirectUri(String)120%n/a111111
corsResponse(Response, ClientModel)120%n/a111111
afterFirstBrokerLogin(String, String, String)100%n/a112211
rollback()100%20%223311
performPostLogin(String, String, String, String, String)80%n/a111111
retrieveTokenPreflight()80%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
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