SamlProtocol

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,240 of 2,2400%218 of 2180%1561564654654646
authenticated(AuthenticationSessionModel, UserSessionModel, ClientSessionContext)3890%300%1616818111
backchannelLogout(UserSessionModel, AuthenticatedClientSessionModel)2360%160%99595911
finishBrowserLogout(UserSessionModel, AuthenticationSessionModel)1930%160%99434311
frontchannelLogout(UserSessionModel, AuthenticatedClientSessionModel)1320%160%99262611
sendError(AuthenticationSessionModel, LoginProtocol.Error)980%40%33151511
samlErrorMessage(AuthenticationSessionModel, SamlClient, boolean, String, JBossSAMLURIConstants, String)880%40%33141411
createLogoutRequest(String, AuthenticatedClientSessionModel, ClientModel, SamlProtocolExtensionsAwareBuilder.NodeGenerator[])710%40%33101011
buildArtifactAndStoreResponse(SAML2Object, AuthenticatedClientSessionModel)650%n/a119911
getLogoutServiceUrl(KeycloakSession, ClientModel, String, boolean)640%180%1010141411
getNameId(String, CommonClientSessionModel, UserSessionModel)590%100%66121211
getPersistentNameId(CommonClientSessionModel, UserSessionModel)590%40%33131311
validateLogoutResponse(LogoutRequestType, SAMLDocumentHolder, ClientModel)590%80%55181811
isLogoutPostBindingForClient(AuthenticatedClientSessionModel)570%160%99121211
lambda$authenticated$0(List, List, AtomicReference, List, Map.Entry)560%80%55111111
createBindingBuilder(SamlClient, boolean)440%40%336611
artifactRedirect(String, String, String)420%20%229911
transformLoginResponse(List, ResponseType, KeycloakSession, UserSessionModel, ClientSessionContext)400%40%336611
buildArtifactAuthenticatedResponse(AuthenticatedClientSessionModel, String, SAML2Object, JaxrsSAML2BindingBuilder)390%20%228811
buildLogoutArtifactResponse(UserSessionModel, String, StatusResponseType, JaxrsSAML2BindingBuilder)370%20%228811
getSAMLNameId(List, String, KeycloakSession, UserSessionModel, AuthenticatedClientSessionModel)360%40%335511
buildLogoutResponse(UserSessionModel, String, SAML2LogoutResponseBuilder, JaxrsSAML2BindingBuilder)330%40%336611
artifactPost(String, String, String, JaxrsSAML2BindingBuilder)320%20%228811
populateAttributeStatements(List, KeycloakSession, UserSessionModel, AuthenticatedClientSessionModel)270%20%225511
translateErrorToSAMLStatus(LoginProtocol.Error)240%30%335511
translateErrorToIdpInitiatedErrorMessage(LoginProtocol.Error)240%30%335511
getNameIdFormat(SamlClient, AuthenticationSessionModel)240%80%558811
buildArtifactAndStoreResponse(SAML2Object, UserSessionModel)230%20%226611
isPostBinding(AuthenticationSessionModel)210%40%333311
isPostBinding(AuthenticatedClientSessionModel)210%40%333311
buildAuthenticatedResponse(AuthenticatedClientSessionModel, String, Document, JaxrsSAML2BindingBuilder)160%20%223311
buildErrorResponse(boolean, String, JaxrsSAML2BindingBuilder, Document)140%20%223311
populateRoles(SamlProtocol.ProtocolMapperProcessor, KeycloakSession, UserSessionModel, ClientSessionContext, AttributeStatementType)140%20%224411
useArtifactForLogout(ClientModel)140%40%332211
getArtifactResolver()130%20%223311
getResponseIssuer(RealmModel)130%n/a111111
getSingleUseStore()110%20%223311
isLogoutPostBindingForInitiator(UserSessionModel)80%n/a112211
requireReauthentication(UserSessionModel, AuthenticationSessionModel)80%n/a112211
static {...}70%n/a112211
setSession(KeycloakSession)50%n/a112211
setRealm(RealmModel)50%n/a112211
setUriInfo(UriInfo)50%n/a112211
setHttpHeaders(HttpHeaders)50%n/a112211
setEventBuilder(EventBuilder)50%n/a112211
SamlProtocol()0%n/a111111
close()0%n/a111111