Uses of Class
org.keycloak.saml.common.exceptions.ConfigurationException
-
-
Uses of ConfigurationException in org.keycloak.broker.saml
Methods in org.keycloak.broker.saml that throw ConfigurationException Modifier and Type Method Description protected LogoutRequestType
SAMLIdentityProvider. buildLogoutRequest(UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, String singleLogoutServiceUrl, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions)
-
Uses of ConfigurationException in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints that throw ConfigurationException Modifier and Type Method Description protected javax.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol. buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
protected javax.ws.rs.core.Response
TokenEndpoint.TokenExchangeSamlProtocol. buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document)
-
Uses of ConfigurationException in org.keycloak.protocol.saml
Methods in org.keycloak.protocol.saml that throw ConfigurationException Modifier and Type Method Description javax.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 javax.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 javax.ws.rs.core.Response
SamlProtocol. buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession, String redirectUri, Document samlDocument, JaxrsSAML2BindingBuilder bindingBuilder)
protected javax.ws.rs.core.Response
SamlProtocol. buildErrorResponse(boolean isPostBinding, String destination, JaxrsSAML2BindingBuilder binding, Document document)
protected javax.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 javax.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)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.PostBindingBuilder. request(String actionUrl)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.RedirectBindingBuilder. request(String redirect)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.PostBindingBuilder. response(String actionUrl)
javax.ws.rs.core.Response
JaxrsSAML2BindingBuilder.RedirectBindingBuilder. response(String redirectUri)
-
Uses of ConfigurationException in org.keycloak.saml
Methods in org.keycloak.saml that throw ConfigurationException Modifier and Type Method Description String
BaseSAML2BindingBuilder. base64Encoded(Document document)
Document
SAML2LoginResponseBuilder. buildDocument(ResponseType responseType)
Document
SAML2LogoutRequestBuilder. buildDocument()
String
BaseSAML2BindingBuilder. buildHtmlPostResponse(Document responseDoc, String actionUrl, boolean asRequest)
ResponseType
SAML2LoginResponseBuilder. buildModel()
StatusResponseType
SAML2LogoutResponseBuilder. buildModel()
LogoutRequestType
SAML2LogoutRequestBuilder. createLogoutRequest()
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. encoded()
URI
BaseSAML2BindingBuilder. generateRedirectUri(String samlParameterName, String redirectUri, Document document)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. generateURI(String redirectUri, boolean asRequest)
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. getHtmlRequest(String actionUrl)
String
BaseSAML2BindingBuilder.BasePostBindingBuilder. getHtmlResponse(String actionUrl)
static String
BaseSAML2BindingBuilder. getSAMLResponse(Document responseDoc)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. requestURI(String actionUrl)
URI
BaseSAML2BindingBuilder.BaseRedirectBindingBuilder. responseURI(String actionUrl)
-
Uses of ConfigurationException in org.keycloak.saml.common
Methods in org.keycloak.saml.common with parameters of type ConfigurationException Modifier and Type Method Description void
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
Subclasses of ConfigurationException in org.keycloak.saml.common.exceptions Modifier and Type Class Description class
TrustKeyConfigurationException
ConfigurationException in the TrustKeyManager -
Uses of ConfigurationException in org.keycloak.saml.common.util
Methods in org.keycloak.saml.common.util that throw ConfigurationException Modifier and Type Method Description static 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
Methods in org.keycloak.saml.processing.api.saml.v2.request that throw ConfigurationException Modifier and Type Method Description static Document
SAML2Request. convert(RequestAbstractType rat)
Return the DOM objectstatic Document
SAML2Request. convert(ResponseType responseType)
Convert a SAML2 Response into a DocumentAuthnRequestType
SAML2Request. createAuthnRequestType(String id, String assertionConsumerURL, String destination, String issuerValue)
Create authentication request with protocolBinding defaulting to POSTAuthnRequestType
SAML2Request. createAuthnRequestType(String id, String assertionConsumerURL, String destination, String issuerValue, URI protocolBinding)
Create an authentication requeststatic LogoutRequestType
SAML2Request. createLogoutRequest(NameIDType issuer)
Create a Logout RequestAuthnRequestType
SAML2Request. getAuthnRequestType(InputStream is)
Get the AuthnRequestType from an input streamAuthnRequestType
SAML2Request. getAuthnRequestType(String fileName)
Get AuthnRequestType from a fileRequestAbstractType
SAML2Request. 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
Methods in org.keycloak.saml.processing.api.saml.v2.response that throw ConfigurationException Modifier and Type Method Description Document
SAML2Response. convert(EncryptedElementType encryptedElementType)
Convert an EncryptedElement into a DocumentDocument
SAML2Response. convert(StatusResponseType responseType)
Convert a SAML2 Response into a DocumentResponseType
SAML2Response. createResponseType(String ID, IssuerInfoHolder issuerInfo, Element encryptedAssertion)
Create a ResponseTypevoid
SAML2Response. createTimedConditions(AssertionType assertion, long durationInMilis)
Add validity conditions to the SAML2 AssertionAssertionType
SAML2Response. getAssertionType(InputStream is)
Read an assertion from an input streamEncryptedAssertionType
SAML2Response. getEncryptedAssertion(InputStream is)
Get an encrypted assertion from the streamResponseType
SAML2Response. getResponseType(InputStream is)
Read a ResponseType from an input streamSAML2Object
SAML2Response. getSAML2ObjectFromStream(InputStream is)
Read aSAML2Object
from an input stream -
Uses of ConfigurationException in org.keycloak.saml.processing.core.parsers.saml
Methods in org.keycloak.saml.processing.core.parsers.saml that throw ConfigurationException Modifier and Type Method Description SAML11AssertionType
SAML11AssertionParser. fromElement(Element element)
-
Uses of ConfigurationException in org.keycloak.saml.processing.core.saml.v2.util
Methods in org.keycloak.saml.processing.core.saml.v2.util that throw ConfigurationException Modifier and Type Method Description static 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.
-