Class SAML2ClientCache
- java.lang.Object
-
- org.apache.syncope.core.logic.saml2.SAML2ClientCache
-
public class SAML2ClientCache extends Object
Basic in-memory cache for availableSAML2Client
instances.
-
-
Constructor Summary
Constructors Constructor Description SAML2ClientCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pac4j.saml.client.SAML2Client
add(SAML2SP4UIIdP idp, org.pac4j.saml.config.SAML2Configuration cfg, String spEntityID, String callbackUrl)
Optional<org.pac4j.saml.client.SAML2Client>
get(String idpEntityID, String spEntityID)
static Optional<String>
getSPMetadataPath(String spEntityID)
static SAML2SP4UIIdPTO
importMetadata(InputStream metadata, org.pac4j.saml.config.SAML2Configuration cfg)
boolean
removeAll(String idpEntityID)
-
-
-
Method Detail
-
importMetadata
public static SAML2SP4UIIdPTO importMetadata(InputStream metadata, org.pac4j.saml.config.SAML2Configuration cfg) throws IOException
- Throws:
IOException
-
add
public org.pac4j.saml.client.SAML2Client add(SAML2SP4UIIdP idp, org.pac4j.saml.config.SAML2Configuration cfg, String spEntityID, String callbackUrl)
-
removeAll
public boolean removeAll(String idpEntityID)
-
-