Class SAML2ClientCache
java.lang.Object
org.apache.syncope.core.logic.saml2.SAML2ClientCache
Basic in-memory cache for available
SAML2Client
instances.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.pac4j.saml.client.SAML2Client
add
(SAML2SP4UIIdP idp, org.pac4j.saml.config.SAML2Configuration cfg, String spEntityID, String callbackUrl) Optional
<org.pac4j.saml.client.SAML2Client> getSPMetadataPath
(String spEntityID) static SAML2SP4UIIdPTO
importMetadata
(InputStream metadata, org.pac4j.saml.config.SAML2Configuration cfg) boolean
-
Field Details
-
LOG
-
METADATA_PATH
-
cache
-
-
Constructor Details
-
SAML2ClientCache
public SAML2ClientCache()
-
-
Method Details
-
getSPMetadataPath
-
importMetadata
public static SAML2SP4UIIdPTO importMetadata(InputStream metadata, org.pac4j.saml.config.SAML2Configuration cfg) throws IOException - Throws:
IOException
-
get
-
add
public org.pac4j.saml.client.SAML2Client add(SAML2SP4UIIdP idp, org.pac4j.saml.config.SAML2Configuration cfg, String spEntityID, String callbackUrl) -
removeAll
-