public interface ArtifactResolver extends Provider
| Modifier and Type | Method and Description |
|---|---|
String |
buildArtifact(AuthenticatedClientSessionModel clientSessionModel,
String entityId,
String artifactResponse)
Creates and stores an artifact
|
String |
resolveArtifact(AuthenticatedClientSessionModel clientSessionModel,
String artifact)
Returns a serialized Saml ArtifactResponse corresponding to the artifact that was created by
buildArtifact |
ClientModel |
selectSourceClient(KeycloakSession session,
String artifact)
Returns client model that issued artifact
|
ClientModel selectSourceClient(KeycloakSession session, String artifact) throws ArtifactResolverProcessingException
session - KeycloakSession for searching for client corresponding clientartifact - the artifactArtifactResolverProcessingException - When an error occurs during client searchString buildArtifact(AuthenticatedClientSessionModel clientSessionModel, String entityId, String artifactResponse) throws ArtifactResolverProcessingException
clientSessionModel - client session model that can be used for storing the response for artifactentityId - id of an issuer that issued the artifactResponseartifactResponse - serialized Saml ArtifactResponse that represents the response for created artifactArtifactResolverProcessingException - When an error occurs during creation of the artifact.String resolveArtifact(AuthenticatedClientSessionModel clientSessionModel, String artifact) throws ArtifactResolverProcessingException
buildArtifactclientSessionModel - client session model that can be used for obtaining the artifact responseartifact - the artifactArtifactResolverProcessingException - When an error occurs during resolution of the artifact.Copyright © 2021 JBoss by Red Hat. All rights reserved.