public class DefaultSamlArtifactResolver extends Object implements ArtifactResolver
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
DefaultSamlArtifactResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildArtifact(AuthenticatedClientSessionModel clientSessionModel,
String entityId,
String artifactResponse) |
void |
close() |
String |
createArtifact(String entityId)
Creates an artifact.
|
String |
resolveArtifact(AuthenticatedClientSessionModel clientSessionModel,
String artifact) |
ClientModel |
selectSourceClient(String artifact,
Stream<ClientModel> clients) |
public String resolveArtifact(AuthenticatedClientSessionModel clientSessionModel, String artifact) throws ArtifactResolverProcessingException
resolveArtifact in interface ArtifactResolverArtifactResolverProcessingExceptionpublic ClientModel selectSourceClient(String artifact, Stream<ClientModel> clients) throws ArtifactResolverProcessingException
selectSourceClient in interface ArtifactResolverArtifactResolverProcessingExceptionpublic String buildArtifact(AuthenticatedClientSessionModel clientSessionModel, String entityId, String artifactResponse) throws ArtifactResolverProcessingException
buildArtifact in interface ArtifactResolverArtifactResolverProcessingExceptionpublic String createArtifact(String entityId) throws ArtifactResolverProcessingException
SAML_artifact := B64(TypeCode EndpointIndex RemainingArtifact)
TypeCode := 0x0004 EndpointIndex := Byte1Byte2 RemainingArtifact := SourceID MessageHandle
SourceID := 20-byte_sequence, used by the artifact receiver to determine artifact issuer MessageHandle := 20-byte_sequence
entityId - the entity id to encode in the sourceIdArtifactResolverProcessingExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.