| Package | Description |
|---|---|
| io.asgardeo.java.saml.sdk | |
| io.asgardeo.java.saml.sdk.bean | |
| io.asgardeo.java.saml.sdk.exception | |
| io.asgardeo.java.saml.sdk.security | |
| io.asgardeo.java.saml.sdk.util |
| Modifier and Type | Method and Description |
|---|---|
protected org.opensaml.saml.saml2.core.AuthnRequest |
SAML2SSOManager.buildAuthnRequest(javax.servlet.http.HttpServletRequest request) |
protected org.opensaml.saml.saml2.core.LogoutRequest |
SAML2SSOManager.buildLogoutRequest(String user,
String sessionIdx) |
org.opensaml.saml.saml2.core.LogoutResponse |
SAML2SSOManager.buildLogoutResponse(String id,
String status,
String statMsg) |
String |
SAML2SSOManager.buildPostRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean isLogout)
Handles the request for http post binding
|
String |
SAML2SSOManager.buildPostResponse(org.opensaml.saml.common.SignableSAMLObject requestMessage) |
String |
SAML2SSOManager.buildRedirectRequest(javax.servlet.http.HttpServletRequest request,
boolean isLogout)
Returns the redirection URL with the appended SAML2
Request message
|
static String |
AESDecryptor.decrypt(String encryptedSecret,
char[] cipherKey)
Decrypt and decrypt the encrypted values.
|
org.opensaml.saml.saml2.core.LogoutResponse |
SAML2SSOManager.doSLO(javax.servlet.http.HttpServletRequest request)
This method handles the logout requests from the IdP
Any request for the defined logout URL is handled here
|
protected String |
SAML2SSOManager.encodeRequestMessage(org.opensaml.saml.common.SignableSAMLObject requestMessage,
String binding) |
protected org.opensaml.saml.saml2.core.Assertion |
SAML2SSOManager.getDecryptedAssertion(org.opensaml.saml.saml2.core.EncryptedAssertion encryptedAssertion)
Get Decrypted Assertion
|
protected String |
SAML2SSOManager.marshall(org.opensaml.core.xml.XMLObject xmlObject)
Serialize the Auth.
|
void |
SAML2SSOManager.processArtifactResponse(javax.servlet.http.HttpServletRequest request)
Process authentication response with SAML2 artifact.
|
void |
SAML2SSOManager.processResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
SAML2SSOManager.validateAudienceRestriction(org.opensaml.saml.saml2.core.Assertion assertion)
Validate the AudienceRestriction of SAML2 Response
|
protected void |
SAML2SSOManager.validateSignature(org.opensaml.saml.saml2.core.Response response,
org.opensaml.saml.saml2.core.Assertion assertion)
Validate the signature of a SAML2 Response and Assertion
|
void |
SAMLSignatureValidator.validateSignature(org.opensaml.saml.saml2.core.Response response,
org.opensaml.saml.saml2.core.Assertion assertion,
SSOAgentConfig ssoAgentConfig) |
| Constructor and Description |
|---|
SAML2SSOManager(SSOAgentConfig ssoAgentConfig) |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
SSOAgentConfig.getKeyStore() |
void |
SSOAgentConfig.initConfig(Properties properties) |
void |
SSOAgentConfig.verifyConfig() |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidSessionException
Invalid session exception.
|
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
SSOAgentX509Credential.getEntityCertificate() |
X509Certificate |
SSOAgentCredential.getEntityCertificate() |
X509Certificate |
SSOAgentX509KeyStoreCredential.getEntityCertificate() |
PrivateKey |
SSOAgentX509Credential.getPrivateKey() |
PrivateKey |
SSOAgentCredential.getPrivateKey() |
PrivateKey |
SSOAgentX509KeyStoreCredential.getPrivateKey() |
PublicKey |
SSOAgentX509Credential.getPublicKey() |
PublicKey |
SSOAgentCredential.getPublicKey() |
PublicKey |
SSOAgentX509KeyStoreCredential.getPublicKey() |
void |
SSOAgentCredential.init() |
void |
SSOAgentKeyStoreCredential.init() |
protected void |
SSOAgentCarbonX509Credential.readCarbonX509Credentials(int tenantId,
String tenantDomain) |
protected void |
SSOAgentX509KeyStoreCredential.readX509Credentials(InputStream keyStoreInputStream,
char[] keyStorePassword,
String publicCertAlias,
String publicCertEncoded,
String privateKeyAlias,
char[] privateKeyPassword) |
protected void |
SSOAgentX509KeyStoreCredential.readX509Credentials(KeyStore keyStore,
String publicCertAlias,
String publicCertEncoded,
String privateKeyAlias,
char[] privateKeyPassword) |
| Constructor and Description |
|---|
SSOAgentCarbonX509Credential(int tenantId,
String tenantDomain) |
SSOAgentX509KeyStoreCredential(InputStream keyStoreInputStream,
char[] keyStorePassword,
String publicCertAlias,
String privateKeyAlias,
char[] privateKeyPassword) |
SSOAgentX509KeyStoreCredential(InputStream keyStoreInputStream,
char[] keyStorePassword,
String publicCertAlias,
String publicCertEncoded,
String privateKeyAlias,
char[] privateKeyPassword) |
SSOAgentX509KeyStoreCredential(KeyStore keyStore,
String publicCertAlias,
String privateKeyAlias,
char[] privateKeyPassword) |
SSOAgentX509KeyStoreCredential(KeyStore keyStore,
String publicCertAlias,
String publicCertEncoded,
String privateKeyAlias,
char[] privateKeyPassword) |
X509CredentialImpl(SSOAgentX509Credential credential) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SSOAgentUtils.addDeflateSignatureToHTTPQueryString(StringBuilder httpQueryString,
org.opensaml.security.x509.X509Credential cred) |
static void |
SSOAgentUtils.doBootstrap() |
static KeyStore |
SSOAgentConfigs.getKeyStore() |
static SSOAgentConfig |
SSOAgentFilterUtils.getSSOAgentConfig(javax.servlet.FilterConfig filterConfig) |
static SSOAgentConfig |
SSOAgentFilterUtils.getSSOAgentConfig(javax.servlet.ServletContext application) |
static void |
SSOAgentConfigs.initCheck() |
static void |
SSOAgentConfigs.initConfig(javax.servlet.FilterConfig fConfigs) |
static void |
SSOAgentConfigs.initConfig(Properties properties) |
static void |
SSOAgentConfigs.initConfig(String propertiesFilePath) |
static String |
SSOAgentUtils.marshall(org.opensaml.core.xml.XMLObject xmlObject)
Serializing a SAML2 object into a String.
|
static void |
SSOAgentUtils.sendPostResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String htmlPayload) |
static void |
SSOAgentConfigs.setKeyStoreStream(String keyStore) |
static org.opensaml.saml.saml2.core.ArtifactResolve |
SSOAgentUtils.setSignature(org.opensaml.saml.saml2.core.ArtifactResolve artifactResolve,
String signatureAlgorithm,
org.opensaml.security.x509.X509Credential cred)
Sign SAML2 Artifact Resolve.
|
static org.opensaml.saml.saml2.core.AuthnRequest |
SSOAgentUtils.setSignature(org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
String signatureAlgorithm,
org.opensaml.security.x509.X509Credential cred)
Sign the SAML AuthnRequest message
|
static org.opensaml.saml.saml2.core.LogoutRequest |
SSOAgentUtils.setSignature(org.opensaml.saml.saml2.core.LogoutRequest logoutRequest,
String signatureAlgorithm,
org.opensaml.security.x509.X509Credential cred)
Sign the SAML AuthnRequest message
|
static <T extends org.opensaml.xmlsec.signature.SignableXMLObject> |
SSOAgentUtils.setSignatureValue(T xmlObject,
String signatureAlgorithm,
org.opensaml.security.x509.X509Credential cred)
Add signature to any singable XML object.
|
static org.opensaml.core.xml.XMLObject |
SSOAgentUtils.unmarshall(String saml2SSOString) |
Copyright © 2021 WSO2. All rights reserved.