Uses of Class
org.keycloak.saml.common.exceptions.ConfigurationException
Package
Description
-
Uses of ConfigurationException in org.keycloak.broker.saml
Modifier and TypeMethodDescriptionprotected ArtifactResolveType
SAMLIdentityProvider.buildArtifactResolveRequest
(jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm, String artifactServiceUrl, String artifact, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions) protected LogoutRequestType
SAMLIdentityProvider.buildLogoutRequest
(UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm, String singleLogoutServiceUrl, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions) -
Uses of ConfigurationException in org.keycloak.protocol.oidc.endpoints
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol.buildAuthenticatedResponse
(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) protected jakarta.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol.buildErrorResponse
(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document) -
Uses of ConfigurationException in org.keycloak.protocol.saml
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
SamlService.artifactResolve
(ArtifactResolveType artifactResolveMessage, SAMLDocumentHolder artifactResolveHolder) Takes an artifact resolve message and returns the artifact response, if the artifact is found belonging to a session of the issuer.protected String
SamlProtocol.buildArtifactAndStoreResponse
(SAML2Object saml2Object, AuthenticatedClientSessionModel clientSessionModel) protected String
SamlProtocol.buildArtifactAndStoreResponse
(SAML2Object statusResponseType, UserSessionModel userSession) protected jakarta.ws.rs.core.Response
SamlProtocol.buildArtifactAuthenticatedResponse
(AuthenticatedClientSessionModel clientSession, String redirectUri, SAML2Object samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) This method, instead of sending the actual response with the token sends the artifact message via post or redirect.static ArtifactResponseType
SamlProtocolUtils.buildArtifactResponse
(SAML2Object samlObject, NameIDType issuer) Takes a saml object (an object that will be part of resulting ArtifactResponse), and inserts it as the body of an ArtifactResponse.static ArtifactResponseType
SamlProtocolUtils.buildArtifactResponse
(SAML2Object samlObject, NameIDType issuer, URI statusCode) Takes a saml object (an object that will be part of resulting ArtifactResponse), and inserts it as the body of an ArtifactResponse.static ArtifactResponseType
SamlProtocolUtils.buildArtifactResponse
(Document document) Takes a saml document and inserts it as a body of ArtifactResponseTypeprotected jakarta.ws.rs.core.Response
SamlProtocol.buildAuthenticatedResponse
(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder) protected jakarta.ws.rs.core.Response
SamlProtocol.buildErrorResponse
(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document) protected jakarta.ws.rs.core.Response
SamlProtocol.buildLogoutArtifactResponse
(UserSessionModel userSession, String redirectUri, StatusResponseType statusResponseType, JaxrsSAML2BindingBuilder bindingBuilder) This method, instead of sending the actual response with the token, sends the artifact message via post or redirect.protected jakarta.ws.rs.core.Response
SamlProtocol.buildLogoutResponse
(UserSessionModel userSession, String logoutBindingUri, SAML2LogoutResponseBuilder builder, JaxrsSAML2BindingBuilder binding) static Document
SamlProtocolUtils.convert
(ArtifactResponseType responseType) Convert a SAML2 ArtifactResponse into a Documentprotected LogoutRequestType
SamlProtocol.createLogoutRequest
(String logoutUrl, AuthenticatedClientSessionModel clientSession, ClientModel client, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
JaxrsSAML2BindingBuilder.SoapBindingBuilder.response()
-
Uses of ConfigurationException in org.keycloak.saml
Modifier and TypeMethodDescriptionBaseSAML2BindingBuilder.base64Encoded
(Document document) SAML2ArtifactResolveRequestBuilder.buildDocument()
SAML2LoginResponseBuilder.buildDocument
(ResponseType responseType) SAML2LogoutRequestBuilder.buildDocument()
BaseSAML2BindingBuilder.buildHtmlPostResponse
(Document responseDoc, String actionUrl, boolean asRequest) SAML2LoginResponseBuilder.buildModel()
SAML2LogoutResponseBuilder.buildModel()
SAML2ArtifactResolveRequestBuilder.createArtifactResolveRequest()
SAML2LogoutRequestBuilder.createLogoutRequest()
BaseSAML2BindingBuilder.BasePostBindingBuilder.encoded()
BaseSAML2BindingBuilder.generateRedirectUri
(String samlParameterName, String redirectUri, Document document) BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.generateURI
(String redirectUri, boolean asRequest) BaseSAML2BindingBuilder.BasePostBindingBuilder.getHtmlRequest
(String actionUrl) BaseSAML2BindingBuilder.BasePostBindingBuilder.getHtmlResponse
(String actionUrl) static String
BaseSAML2BindingBuilder.getSAMLResponse
(Document responseDoc) BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.requestURI
(String actionUrl) BaseSAML2BindingBuilder.BaseRedirectBindingBuilder.responseURI
(String actionUrl) -
Uses of ConfigurationException in org.keycloak.saml.common
Modifier and TypeMethodDescriptionDefaultPicketLinkLogger.auditAuditManagerNotFound
(String location, Throwable t) PicketLinkLogger.auditAuditManagerNotFound
(String location, Throwable t) DefaultPicketLinkLogger.auditSecurityDomainNotFound
(Throwable t) PicketLinkLogger.auditSecurityDomainNotFound
(Throwable t) DefaultPicketLinkLogger.configurationError
(Throwable t) PicketLinkLogger.configurationError
(Throwable t) DefaultPicketLinkLogger.samlHandlerTrustElementMissingError()
PicketLinkLogger.samlHandlerTrustElementMissingError()
DefaultPicketLinkLogger.samlMetaDataNoIdentityProviderDefined()
PicketLinkLogger.samlMetaDataNoIdentityProviderDefined()
DefaultPicketLinkLogger.samlMetaDataNoServiceProviderDefined()
PicketLinkLogger.samlMetaDataNoServiceProviderDefined()
DefaultPicketLinkLogger.securityDomainNotFound()
PicketLinkLogger.securityDomainNotFound()
DefaultPicketLinkLogger.stsConfigurationFileParsingError
(Throwable t) PicketLinkLogger.stsConfigurationFileParsingError
(Throwable t) Modifier and TypeMethodDescriptionvoid
DefaultPicketLinkLogger.authenticationManagerError
(ConfigurationException e) void
PicketLinkLogger.authenticationManagerError
(ConfigurationException e) void
DefaultPicketLinkLogger.authorizationManagerError
(ConfigurationException e) void
PicketLinkLogger.authorizationManagerError
(ConfigurationException e) -
Uses of ConfigurationException in org.keycloak.saml.common.exceptions
Modifier and TypeClassDescriptionclass
ConfigurationException in the TrustKeyManager -
Uses of ConfigurationException in org.keycloak.saml.common.util
Modifier and TypeMethodDescriptionstatic Document
DocumentUtil.createDocument()
Create a new documentstatic Document
DocumentUtil.getDocument
(File file) Get Document from a filestatic Document
DocumentUtil.getDocument
(InputStream is) Get Document from an inputstreamstatic Document
DocumentUtil.getDocument
(Reader reader) Parse a document from a readerstatic Document
DocumentUtil.getDocument
(String docString) Parse a document from the stringstatic String
DocumentUtil.getDocumentAsString
(Document signedDoc) Marshall a document into a Stringstatic InputStream
DocumentUtil.getNodeAsStream
(Node node) Stream a DOM Node as an input streamstatic String
DocumentUtil.getNodeAsString
(Node node) Marshall a DOM Node into a Stringstatic InputStream
DocumentUtil.getSourceAsStream
(Source source) Get theSource
as anInputStream
static Transformer
TransformerUtil.getStaxSourceToDomResultTransformer()
Get the Custom Stax Source to DOM result transformer that has been written to get over the JDK transformer bugs (JDK6) as well as the issue of Xalan installing its Transformer (which does not support stax).static Transformer
TransformerUtil.getTransformer()
Get the Default Transformer -
Uses of ConfigurationException in org.keycloak.saml.processing.api.saml.v2.request
Modifier and TypeMethodDescriptionstatic Document
SAML2Request.convert
(RequestAbstractType rat) Return the DOM objectstatic Document
SAML2Request.convert
(ResponseType responseType) Convert a SAML2 Response into a DocumentSAML2Request.createAuthnRequestType
(String id, String assertionConsumerURL, String destination, String issuerValue) Create authentication request with protocolBinding defaulting to POSTSAML2Request.createAuthnRequestType
(String id, String assertionConsumerURL, String destination, String issuerValue, URI protocolBinding) Create an authentication requeststatic LogoutRequestType
SAML2Request.createLogoutRequest
(NameIDType issuer) Create a Logout RequestSAML2Request.getAuthnRequestType
(InputStream is) Get the AuthnRequestType from an input streamSAML2Request.getAuthnRequestType
(String fileName) Get AuthnRequestType from a fileSAML2Request.getRequestType
(InputStream is) Get a Request Type from Input Streamstatic SAMLDocumentHolder
SAML2Request.getSAML2ObjectFromStream
(InputStream is) Get the Underlying SAML2Object from the input stream -
Uses of ConfigurationException in org.keycloak.saml.processing.api.saml.v2.response
Modifier and TypeMethodDescriptionSAML2Response.convert
(EncryptedElementType encryptedElementType) Convert an EncryptedElement into a Documentstatic Document
SAML2Response.convert
(StatusResponseType responseType) Convert a SAML2 Response into a DocumentSAML2Response.createResponseType
(String ID, IssuerInfoHolder issuerInfo, Element encryptedAssertion) Create a ResponseTypevoid
SAML2Response.createTimedConditions
(AssertionType assertion, long durationInMilis) Add validity conditions to the SAML2 AssertionSAML2Response.getAssertionType
(InputStream is) Read an assertion from an input streamSAML2Response.getEncryptedAssertion
(InputStream is) Get an encrypted assertion from the streamSAML2Response.getResponseType
(InputStream is) Read a ResponseType from an input streamSAML2Response.getSAML2ObjectFromStream
(InputStream is) Read aSAML2Object
from an input stream -
Uses of ConfigurationException in org.keycloak.saml.processing.core.parsers.saml
-
Uses of ConfigurationException in org.keycloak.saml.processing.core.saml.v2.util
Modifier and TypeMethodDescriptionstatic void
AssertionUtil.createSAML11TimedConditions
(SAML11AssertionType assertion, long durationInMilis, long clockSkew) Add validity conditions to the SAML2 Assertionstatic void
AssertionUtil.createTimedConditions
(AssertionType assertion, long durationInMilis) Add validity conditions to the SAML2 Assertionstatic void
AssertionUtil.createTimedConditions
(AssertionType assertion, long durationInMilis, long clockSkew) Add validity conditions to the SAML2 Assertionstatic Element
AssertionUtil.decryptAssertion
(ResponseType responseType, PrivateKey privateKey) static Element
AssertionUtil.decryptAssertion
(ResponseType responseType, XMLEncryptionUtil.DecryptionKeyLocator decryptionKeyLocator) This method modifies the given responseType, and replaces the encrypted assertion with a decrypted version.static void
AssertionUtil.decryptId
(ResponseType responseType, XMLEncryptionUtil.DecryptionKeyLocator decryptionKeyLocator) This method modifies the given responseType, and replaces the encrypted id with a decrypted version.static AssertionType
AssertionUtil.getAssertion
(SAMLDocumentHolder holder, ResponseType responseType, PrivateKey privateKey) static X509Certificate
SAMLMetadataUtil.getCertificate
(KeyDescriptorType keyDescriptor) Get theX509Certificate
from the KeyInfostatic boolean
AssertionUtil.hasExpired
(SAML11AssertionType assertion) Check whether the assertion has expiredstatic boolean
AssertionUtil.hasExpired
(SAML11AssertionType assertion, long clockSkewInMilis) Verify whether the assertion has expired.static boolean
AssertionUtil.hasExpired
(AssertionType assertion) Check whether the assertion has expired.static boolean
AssertionUtil.hasExpired
(AssertionType assertion, long clockSkewInMilis) Verify whether the assertion has expired.