Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A128KW - Static variable in class org.codelibs.saml2.core.util.Constants
- A192KW - Static variable in class org.codelibs.saml2.core.util.Constants
- A256KW - Static variable in class org.codelibs.saml2.core.util.Constants
- AC_KERBEROS - Static variable in class org.codelibs.saml2.core.util.Constants
- AC_PASSWORD - Static variable in class org.codelibs.saml2.core.util.Constants
- AC_SMARTCARD - Static variable in class org.codelibs.saml2.core.util.Constants
- AC_UNSPECIFIED - Static variable in class org.codelibs.saml2.core.util.Constants
- AC_X509 - Static variable in class org.codelibs.saml2.core.util.Constants
- addParameter(String, String) - Method in class org.codelibs.saml2.core.http.HttpRequest
- addRequestedAttribute(RequestedAttribute) - Method in class org.codelibs.saml2.core.model.AttributeConsumingService
- addSign(Document, PrivateKey, X509Certificate, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Signs the Document using the specified signature algorithm with the private key and the public certificate.
- addSign(Document, PrivateKey, X509Certificate, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Signs the Document using the specified signature algorithm with the private key and the public certificate.
- addSign(Node, PrivateKey, X509Certificate, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Signs a Node using the specified signature algorithm with the private key and the public certificate.
- addSign(Node, PrivateKey, X509Certificate, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Signs a Node using the specified signature algorithm with the private key and the public certificate.
- AES128_CBC - Static variable in class org.codelibs.saml2.core.util.Constants
- AES192_CBC - Static variable in class org.codelibs.saml2.core.util.Constants
- AES256_CBC - Static variable in class org.codelibs.saml2.core.util.Constants
- ALOWED_CLOCK_DRIFT - Static variable in class org.codelibs.saml2.core.util.Constants
-
Value added to the current time in time condition validations.
- ASSERTION_EXPIRED - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- ASSERTION_SIGNATURE_XPATH - Static variable in class org.codelibs.saml2.core.util.Util
- ASSERTION_TOO_EARLY - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- AttributeConsumingService - Class in org.codelibs.saml2.core.model
-
AttributeConsumingService class of Java Toolkit.
- AttributeConsumingService(String, String) - Constructor for class org.codelibs.saml2.core.model.AttributeConsumingService
-
Constructor
- ATTRNAME_FORMAT_BASIC - Static variable in class org.codelibs.saml2.core.util.Constants
- ATTRNAME_FORMAT_UNSPECIFIED - Static variable in class org.codelibs.saml2.core.util.Constants
- ATTRNAME_FORMAT_URI - Static variable in class org.codelibs.saml2.core.util.Constants
- AuthnRequest - Class in org.codelibs.saml2.core.authn
-
AuthNRequest class of Java Toolkit.
- AuthnRequest(Saml2Settings) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequest
-
Constructs the AuthnRequest object.
- AuthnRequest(Saml2Settings, boolean, boolean, boolean) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequest
-
Deprecated.
- AuthnRequest(Saml2Settings, boolean, boolean, boolean, String) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequest
-
Deprecated.
- AuthnRequest(Saml2Settings, AuthnRequestParams) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequest
-
Constructs the AuthnRequest object.
- AuthnRequestParams - Class in org.codelibs.saml2.core.authn
-
Input parameters for a SAML 2 authentication request.
- AuthnRequestParams(boolean, boolean, boolean) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequestParams
-
Create a set of authentication request input parameters.
- AuthnRequestParams(boolean, boolean, boolean, boolean) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequestParams
-
Create a set of authentication request input parameters.
- AuthnRequestParams(boolean, boolean, boolean, boolean, String) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequestParams
-
Create a set of authentication request input parameters.
- AuthnRequestParams(boolean, boolean, boolean, String) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequestParams
-
Create a set of authentication request input parameters.
- AuthnRequestParams(AuthnRequestParams) - Constructor for class org.codelibs.saml2.core.authn.AuthnRequestParams
-
Create a set of authentication request input parameters, by copying them from another set.
- AzureKeyVault - Class in org.codelibs.saml2.core.model.hsm
- AzureKeyVault(String, String, String, String) - Constructor for class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Constructor to initialise an HSM object.
B
- base64decodedInflated(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String Base64 decoded and inflated
- base64decoder(byte[]) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String base64 decoded
- base64decoder(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String base64 decoded
- base64encoder(byte[]) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String base64 encoded
- base64encoder(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String base64 encoded
- BINDING_DEFLATE - Static variable in class org.codelibs.saml2.core.util.Constants
- BINDING_HTTP_ARTIFACT - Static variable in class org.codelibs.saml2.core.util.Constants
- BINDING_HTTP_POST - Static variable in class org.codelibs.saml2.core.util.Constants
- BINDING_HTTP_REDIRECT - Static variable in class org.codelibs.saml2.core.util.Constants
- BINDING_SOAP - Static variable in class org.codelibs.saml2.core.util.Constants
- build() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Deprecated.use
LogoutResponse(Saml2Settings, LogoutResponseParams)instead, in which case this method becomes completely useless; indeed, invoking this method in an outgoing logout response scenario will cause the response parameters specified at construction time (inResponseToandresponseStatus) to be overwritten, as well as its generated id and issue instant; on the other hand invoking this method in a received logout response scenario does not make sense at all (and in that caseLogoutResponse(Saml2Settings, HttpRequest)should be used instead) - build() - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Builds the Saml2Settings object.
- build(String) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Deprecated.use
LogoutResponse(Saml2Settings, LogoutResponseParams)instead, in which case this method becomes completely useless; indeed, invoking this method in an outgoing logout response scenario will cause the response parameters specified at construction time (inResponseToandresponseStatus) to be overwritten, as well as its generated id and issue instant; on the other hand invoking this method in a received logout response scenario does not make sense at all (and in that caseLogoutResponse(Saml2Settings, HttpRequest)should be used instead) - build(String, String) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Deprecated.use
LogoutResponse(Saml2Settings, LogoutResponseParams)instead, in which case this method becomes completely useless; indeed, invoking this method in an outgoing logout response scenario will cause the response parameters specified at construction time (inResponseToandresponseStatus) to be overwritten, as well as its generated id and issue instant; on the other hand invoking this method in a received logout response scenario does not make sense at all (and in that caseLogoutResponse(Saml2Settings, HttpRequest)should be used instead) - build(String, SamlResponseStatus) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Deprecated.use
LogoutResponse(Saml2Settings, LogoutResponseParams)instead, in which case this method becomes completely useless; indeed, invoking this method in an outgoing logout response scenario will cause the response parameters specified at construction time (inResponseToandresponseStatus) to be overwritten, as well as its generated id and issue instant; on the other hand invoking this method in a received logout response scenario does not make sense at all (and in that caseLogoutResponse(Saml2Settings, HttpRequest)should be used instead) - build(Saml2Settings) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Builds the Saml2Settings object.
C
- C14N - Static variable in class org.codelibs.saml2.core.util.Constants
- C14N_WC - Static variable in class org.codelibs.saml2.core.util.Constants
- C14N11 - Static variable in class org.codelibs.saml2.core.util.Constants
- C14N11_WC - Static variable in class org.codelibs.saml2.core.util.Constants
- C14NEXC - Static variable in class org.codelibs.saml2.core.util.Constants
- C14NEXC_WC - Static variable in class org.codelibs.saml2.core.util.Constants
- calculateX509Fingerprint(X509Certificate) - Static method in class org.codelibs.saml2.core.util.Util
-
Calculates the SHA-1 fingerprint of a x509cert
- calculateX509Fingerprint(X509Certificate, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Calculates the fingerprint of a x509cert
- CERT_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
- CERTFINGERPRINT_ALGORITHM_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- CERTFINGERPRINT_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- checkIdPSettings() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Checks the IdP settings .
- checkNotNull(T, String) - Static method in class org.codelibs.saml2.core.util.Preconditions
-
Throws a IllegalArgumentException if
tis null. - checkOneAuthnStatement() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Checks that the samlp:Response/saml:Assertion/saml:AuthnStatement element exists and is unique.
- checkOneCondition() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Checks that the samlp:Response/saml:Assertion/saml:Conditions element exists and is unique.
- checkSettings() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Checks the settings .
- checkSPCerts() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Checks the x509 certficate/private key SP settings .
- checkSPSettings() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Checks the SP settings .
- checkStatus() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Checks the Status If status is not success
- CHILDREN_NODE_NOT_FOUND_IN_KEYINFO - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- CM_BEARER - Static variable in class org.codelibs.saml2.core.util.Constants
- CM_HOLDER_KEY - Static variable in class org.codelibs.saml2.core.util.Constants
- CM_SENDER_VOUCHES - Static variable in class org.codelibs.saml2.core.util.Constants
- COMPRESS_REQUEST - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- COMPRESS_RESPONSE - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- Constants - Class in org.codelibs.saml2.core.util
-
Constants class of Java Toolkit.
- Contact - Class in org.codelibs.saml2.core.model
-
Contact class of Java Toolkit.
- Contact(String, String, String) - Constructor for class org.codelibs.saml2.core.model.Contact
-
Deprecated.
- Contact(String, String, String, String, List<String>, List<String>) - Constructor for class org.codelibs.saml2.core.model.Contact
-
Constructor
- CONTACT_SUPPORT_EMAIL_ADDRESS - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Deprecated.
- CONTACT_SUPPORT_GIVEN_NAME - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Deprecated.
- CONTACT_TECHNICAL_EMAIL_ADDRESS - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Deprecated.
- CONTACT_TECHNICAL_GIVEN_NAME - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Deprecated.
- CONTACT_TYPE_ADMINISTRATIVE - Static variable in class org.codelibs.saml2.core.util.Constants
- CONTACT_TYPE_BILLING - Static variable in class org.codelibs.saml2.core.util.Constants
- CONTACT_TYPE_OTHER - Static variable in class org.codelibs.saml2.core.util.Constants
- CONTACT_TYPE_SUPPORT - Static variable in class org.codelibs.saml2.core.util.Constants
- CONTACT_TYPE_TECHNICAL - Static variable in class org.codelibs.saml2.core.util.Constants
- convertDocumentToString(Document) - Static method in class org.codelibs.saml2.core.util.Util
-
Converts an XML in Document format in a String without applying the c14n transformation
- convertDocumentToString(Document, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Converts an XML in Document format in a String
- convertStringToDocument(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Converts an XML in string format in a Document object
- convertToPem(X509Certificate) - Static method in class org.codelibs.saml2.core.util.Util
-
Converts an X509Certificate in a well formated PEM string
- copyDocument(Document) - Static method in class org.codelibs.saml2.core.util.Util
-
Clone a Document object.
D
- DEBUG_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- decrypt(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Decrypts an array of bytes with a particular algorithm using the Azure Key Vault.
- decrypt(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.HSM
-
Decrypts an array of bytes with a particular algorithm using the HSM.
- decryptElement(Element, PrivateKey) - Static method in class org.codelibs.saml2.core.util.Util
-
Decrypt an encrypted element.
- decryptUsingHsm(Element, HSM) - Static method in class org.codelibs.saml2.core.util.Util
-
Decrypts the encrypted element using an HSM.
- deflatedBase64encoded(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String Deflated and base64 encoded
- DSA_SHA1 - Static variable in class org.codelibs.saml2.core.util.Constants
- DUPLICATED_ATTRIBUTE_NAME_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- DUPLICATED_ID_IN_SIGNED_ELEMENTS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- DUPLICATED_REFERENCE_IN_SIGNED_ELEMENTS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
E
- EMPTY_DESTINATION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- EMPTY_NAMEID - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- EMPTY_PARAMETERS - Static variable in class org.codelibs.saml2.core.http.HttpRequest
- encrypt(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Encrypts an array of bytes with a particular algorithm using the Azure Key Vault.
- encrypt(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.HSM
-
Encrypts an array of bytes with a particular algorithm using the HSM.
- ENCRYPTED_ATTRIBUTES - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- ENVSIG - Static variable in class org.codelibs.saml2.core.util.Constants
- equals(Object) - Method in class org.codelibs.saml2.core.http.HttpRequest
- equalsTo(Organization) - Method in class org.codelibs.saml2.core.model.Organization
-
Compare with another organization
- error(SAXParseException) - Method in class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
F
- fatalError(SAXParseException) - Method in class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
- formatCert(String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns a certificate in String format (adding header and footer if required)
- formatDateTime(long) - Static method in class org.codelibs.saml2.core.util.Util
-
Create string form time In Millis with format yyyy-MM-ddTHH:mm:ssZ
- formatPrivateKey(String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns a private key (adding header and footer if required).
- fromFile(String) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Load settings from the file
- fromFile(String, KeyStoreSettings) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Load settings from the file
- fromProperties(Properties) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads the settings from a properties object
- fromValues(Map<String, Object>) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads the settings from mapped values.
- fromValues(Map<String, Object>, KeyStoreSettings) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads the settings from mapped values and KeyStore settings.
G
- generateNameId(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a nameID.
- generateNameId(String, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a nameID.
- generateNameId(String, String, String, String, X509Certificate) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a nameID.
- generateNameId(String, String, String, X509Certificate) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a nameID.
- generateUniqueID() - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a unique string (used for example as ID of assertions)
- generateUniqueID(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a unique string (used for example as ID of assertions)
- getAssertionId() - Method in class org.codelibs.saml2.core.authn.SamlResponse
- getAssertionIssuer() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the Assertion Issuer.
- getAssertionNotOnOrAfter() - Method in class org.codelibs.saml2.core.authn.SamlResponse
- getAttributes() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the Attributes from the AttributeStatement element.
- getAttributeValues() - Method in class org.codelibs.saml2.core.model.RequestedAttribute
- getAudiences() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the audiences.
- getAuthnRequestsSigned() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getAuthnRequestXml() - Method in class org.codelibs.saml2.core.authn.AuthnRequest
- getCertificateFromKeyStore(KeyStore, String, String) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
- getCompany() - Method in class org.codelibs.saml2.core.model.Contact
- getContacts() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getContactType() - Method in class org.codelibs.saml2.core.model.Contact
- getCurrentTimeMillis() - Static method in class org.codelibs.saml2.core.util.Util
-
Get current timestamp milliseconds.
- getCurrentTimeStamp() - Static method in class org.codelibs.saml2.core.util.Util
- getDigestAlgorithm() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getEmailAddress() - Method in class org.codelibs.saml2.core.model.Contact
-
Deprecated.this returns just the first e-mail address in
Contact.getEmailAddresses() - getEmailAddresses() - Method in class org.codelibs.saml2.core.model.Contact
- getEncodedAuthnRequest() - Method in class org.codelibs.saml2.core.authn.AuthnRequest
- getEncodedAuthnRequest(Boolean) - Method in class org.codelibs.saml2.core.authn.AuthnRequest
- getEncodedLogoutRequest() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
- getEncodedLogoutRequest(Boolean) - Method in class org.codelibs.saml2.core.logout.LogoutRequest
- getEncodedLogoutResponse() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
- getEncodedLogoutResponse(Boolean) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
- getEncodedParameter(String) - Method in class org.codelibs.saml2.core.http.HttpRequest
-
Return an url encoded get parameter value Prefer to extract the original encoded value directly from queryString since url encoding is not canonical.
- getEncodedParameter(String, String) - Method in class org.codelibs.saml2.core.http.HttpRequest
-
Return an url encoded get parameter value Prefer to extract the original encoded value directly from queryString since url encoding is not canonical.
- getError() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
After execute a validation process, if fails this method returns the cause
- getError() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
After execute a validation process, if fails this method returns the cause
- getError() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
After execute a validation process, if fails this method returns the cause
- getErrorCode() - Method in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- getErrorCode() - Method in exception class org.codelibs.saml2.core.exception.SettingsException
- getErrorCode() - Method in exception class org.codelibs.saml2.core.exception.ValidationException
- getErrorXML() - Method in class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
- getExpireTime(String, long) - Static method in class org.codelibs.saml2.core.util.Util
-
Compare 2 dates and return the the earliest
- getExpireTime(String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Compare 2 dates and return the the earliest
- getFileAsString(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Loads a resource located at a relative path
- getFriendlyName() - Method in class org.codelibs.saml2.core.model.RequestedAttribute
- getGivenName() - Method in class org.codelibs.saml2.core.model.Contact
- getHsm() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getId() - Method in class org.codelibs.saml2.core.authn.AuthnRequest
- getId() - Method in class org.codelibs.saml2.core.authn.SamlResponse
- getId() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
- getId() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
- getId(String) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Returns the ID of the Logout Request String.
- getId(Document) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Returns the ID of the Logout Request Document.
- getIdpCertFingerprint() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpCertFingerprintAlgorithm() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpEntityId() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpSingleLogoutServiceBinding() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpSingleLogoutServiceResponseUrl() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpSingleLogoutServiceUrl() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpSingleSignOnServiceBinding() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpSingleSignOnServiceUrl() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpx509cert() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getIdpx509certMulti() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getInResponseTo() - Method in class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Returns the id of the logout request this response refers to.
- getIssueInstant() - Method in class org.codelibs.saml2.core.authn.AuthnRequest
-
Returns the issue instant of this message.
- getIssueInstant() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Returns the issue instant of this message.
- getIssueInstant() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Returns the issue instant of this message.
- getIssueInstant(String) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Returns the issue instant of the Logout Request Document.
- getIssueInstant(Document) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Returns the issue instant of the Logout Request Document.
- getIssuer() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Gets the Issuer from Logout Response.
- getIssuer(String) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the Issuer from Logout Request String.
- getIssuer(String, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the Issuer from Logout Request String.
- getIssuer(Document) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the Issuer from Logout Request Document.
- getIssuer(Document, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the Issuer from Logout Request Document.
- getIssuers() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Deprecated.use
SamlResponse.getResponseIssuer()and/orSamlResponse.getAssertionIssuer(); the contract of this method is quite controversial - getKeyStore() - Method in class org.codelibs.saml2.core.model.KeyStoreSettings
- getLogoutRequestSigned() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getLogoutRequestXml() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
- getLogoutResponseSigned() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getLogoutResponseXml() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
- getMetadataString() - Method in class org.codelibs.saml2.core.settings.Metadata
- getName() - Method in class org.codelibs.saml2.core.model.RequestedAttribute
- getNameFormat() - Method in class org.codelibs.saml2.core.model.RequestedAttribute
- getNameId() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the NameID value provided from the SAML Response String.
- getNameId() - Method in class org.codelibs.saml2.core.logout.LogoutRequestParams
- getNameId(String) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request String.
- getNameId(String, PrivateKey) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request String.
- getNameId(String, PrivateKey, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request String.
- getNameId(Document) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request Document.
- getNameId(Document, PrivateKey) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request Document.
- getNameId(Document, PrivateKey, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID value provided from the SAML Logout Request Document.
- getNameIdData() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the NameID provided from the SAML Response Document.
- getNameIdData(String, PrivateKey) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID Data from the the Logout Request String.
- getNameIdData(String, PrivateKey, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID Data from the the Logout Request String.
- getNameIdData(Document, PrivateKey) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID Data from the the Logout Request Document.
- getNameIdData(Document, PrivateKey, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the NameID Data from the the Logout Request Document.
- getNameIdEncrypted() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getNameIdFormat() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the NameID Format provided from the SAML Response String.
- getNameIdFormat() - Method in class org.codelibs.saml2.core.logout.LogoutRequestParams
- getNameIdNameQualifier() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the NameID NameQualifier provided from the SAML Response String.
- getNameIdNameQualifier() - Method in class org.codelibs.saml2.core.logout.LogoutRequestParams
- getNameIdSPNameQualifier() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the NameID SP NameQualifier provided from the SAML Response String.
- getNameIdSPNameQualifier() - Method in class org.codelibs.saml2.core.logout.LogoutRequestParams
- getNameIdValueReq() - Method in class org.codelibs.saml2.core.authn.AuthnRequestParams
- getOrganization() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getOrgDisplayName() - Method in class org.codelibs.saml2.core.model.Organization
- getOrgLangAttribute() - Method in class org.codelibs.saml2.core.model.Organization
- getOrgName() - Method in class org.codelibs.saml2.core.model.Organization
- getOrgUrl() - Method in class org.codelibs.saml2.core.model.Organization
- getParameter(String) - Method in class org.codelibs.saml2.core.http.HttpRequest
- getParameters() - Method in class org.codelibs.saml2.core.http.HttpRequest
- getParameters(String) - Method in class org.codelibs.saml2.core.http.HttpRequest
- getPrivateKeyFromKeyStore(KeyStore, String, String) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
- getRejectDeprecatedAlg() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getRequestedAttributes() - Method in class org.codelibs.saml2.core.model.AttributeConsumingService
- getRequestedAuthnContext() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getRequestedAuthnContextComparison() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getRequestURL() - Method in class org.codelibs.saml2.core.http.HttpRequest
-
The URL the client used to make the request.
- getResponseIssueInstant() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Returns the issue instant of this message.
- getResponseIssuer() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the Response Issuer.
- getResponseStatus() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Returns the ResponseStatus object
- getResponseStatus() - Method in class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Returns the response status.
- getSAMLResponseDocument() - Method in class org.codelibs.saml2.core.authn.SamlResponse
- getSamlResponseStatus() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Gets the Status of the Logout Response.
- getSAMLResponseXml() - Method in class org.codelibs.saml2.core.authn.SamlResponse
- getServiceDescription() - Method in class org.codelibs.saml2.core.model.AttributeConsumingService
- getServiceName() - Method in class org.codelibs.saml2.core.model.AttributeConsumingService
- getSessionIndex() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the SessionIndex from the AuthnStatement.
- getSessionIndex() - Method in class org.codelibs.saml2.core.logout.LogoutRequestParams
- getSessionIndexes(String) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the SessionIndexes from the LogoutRequest.
- getSessionIndexes(String, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the SessionIndexes from the LogoutRequest.
- getSessionIndexes(Document) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the SessionIndexes from the LogoutRequest.
- getSessionIndexes(Document, boolean) - Static method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Gets the SessionIndexes from the LogoutRequest.
- getSessionNotOnOrAfter() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Gets the SessionNotOnOrAfter from the AuthnStatement.
- getSignatureAlgorithm() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSignMetadata() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpAlias() - Method in class org.codelibs.saml2.core.model.KeyStoreSettings
- getSpAssertionConsumerServiceBinding() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpAssertionConsumerServiceUrl() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSPcert() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSPcertNew() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpEntityId() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSPkey() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpKeyPass() - Method in class org.codelibs.saml2.core.model.KeyStoreSettings
- getSPMetadata() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Gets the SP metadata.
- getSpNameIDFormat() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpSingleLogoutServiceBinding() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSpSingleLogoutServiceUrl() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getSPValidationOnly() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getStatus() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Gets the Status of the Logout Response.
- getStatus(String, Document) - Static method in class org.codelibs.saml2.core.util.Util
-
Get Status from a Response
- getStatus(Document) - Static method in class org.codelibs.saml2.core.authn.SamlResponse
-
Get Status from a Response
- getStatusCode() - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
- getStatusMessage() - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
- getSubStatusCode() - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
- getSurName() - Method in class org.codelibs.saml2.core.model.Contact
- getTelephoneNumbers() - Method in class org.codelibs.saml2.core.model.Contact
- getUniqueIDPrefix() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getValidationException() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
After execute a validation process, if fails this method returns the Exception object
- getValidationException() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
After execute a validation process, if fails this method returns the Exception object
- getValidationException() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
After execute a validation process, if fails this method returns the Exception object
- getWantAssertionsEncrypted() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getWantAssertionsSigned() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getWantMessagesSigned() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getWantNameId() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getWantNameIdEncrypted() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- getWantXMLValidation() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
H
- hasError() - Method in class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
- hashCode() - Method in class org.codelibs.saml2.core.http.HttpRequest
- HSM - Class in org.codelibs.saml2.core.model.hsm
- HSM() - Constructor for class org.codelibs.saml2.core.model.hsm.HSM
- HttpRequest - Class in org.codelibs.saml2.core.http
-
Framework-agnostic representation of an HTTP request.
- HttpRequest(String) - Constructor for class org.codelibs.saml2.core.http.HttpRequest
-
Deprecated.Not providing a queryString can cause HTTP Redirect binding to fail.
- HttpRequest(String, String) - Constructor for class org.codelibs.saml2.core.http.HttpRequest
-
Creates a new HttpRequest.
- HttpRequest(String, Map<String, List<String>>) - Constructor for class org.codelibs.saml2.core.http.HttpRequest
-
Deprecated.Not providing a queryString can cause HTTP Redirect binding to fail.
- HttpRequest(String, Map<String, List<String>>, String) - Constructor for class org.codelibs.saml2.core.http.HttpRequest
-
Creates a new HttpRequest.
I
- id - Variable in class org.codelibs.saml2.core.logout.LogoutRequest
-
SAML LogoutRequest ID.
- ID_NOT_FOUND_IN_SIGNED_ELEMENT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- IDP_ENTITYID_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_SINGLE_LOGOUT_SERVICE_BINDING_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_SINGLE_LOGOUT_SERVICE_RESPONSE_URL_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_SINGLE_LOGOUT_SERVICE_URL_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_SINGLE_SIGN_ON_SERVICE_BINDING_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_SINGLE_SIGN_ON_SERVICE_URL_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_X509CERT_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IDP_X509CERTMULTI_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- IdPMetadataParser - Class in org.codelibs.saml2.core.settings
-
IdPMetadataParser class of Java Toolkit.
- IdPMetadataParser() - Constructor for class org.codelibs.saml2.core.settings.IdPMetadataParser
- injectIntoSettings(Saml2Settings, Map<String, Object>) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Inject metadata info into Saml2Settings
- INVALID_ISSUE_INSTANT_FORMAT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- INVALID_SIGNATURE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- INVALID_SIGNED_ELEMENT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- INVALID_XML_FORMAT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- InvalidKeySpecRuntimeException - Exception Class in org.codelibs.saml2.core.exception
- InvalidKeySpecRuntimeException(InvalidKeySpecException) - Constructor for exception class org.codelibs.saml2.core.exception.InvalidKeySpecRuntimeException
- is(String) - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
-
Compare the status code
- isAfterNow(Instant) - Static method in class org.codelibs.saml2.core.util.Util
-
Checks if specified instant is after now.
- isAlgorithmWhitelisted(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Whitelist the XMLSignature algorithm
- isAllowCreate() - Method in class org.codelibs.saml2.core.authn.AuthnRequestParams
- isAllowRepeatAttributeName() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- isBeforeNow(Instant) - Static method in class org.codelibs.saml2.core.util.Util
-
Checks if specified instant is before now.
- isCompressRequestEnabled() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- isCompressResponseEnabled() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- isDebugActive() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- isEqualNow(Instant) - Static method in class org.codelibs.saml2.core.util.Util
-
Checks if specified instant is equal to now.
- isForceAuthn() - Method in class org.codelibs.saml2.core.authn.AuthnRequestParams
- isJaxp15Supported() - Static method in class org.codelibs.saml2.core.util.Util
-
Method which uses the recommended way ( https://docs.oracle.com/javase/tutorial/jaxp/properties/error.html ) of checking if JAXP is equal or greater than 1.5 options are supported.
- isPassive() - Method in class org.codelibs.saml2.core.authn.AuthnRequestParams
- isRejectUnsolicitedResponsesWithInResponseTo() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- isRequired() - Method in class org.codelibs.saml2.core.model.RequestedAttribute
- isSetNameIdPolicy() - Method in class org.codelibs.saml2.core.authn.AuthnRequestParams
- isStrict() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
- ISSUER_MULTIPLE_IN_RESPONSE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- ISSUER_NOT_FOUND_IN_ASSERTION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- isTrimAttributeValues() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Determines whether attribute values should be trimmed when extracting them from parsed SAML messages.
- isTrimNameIds() - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Determines whether Name IDs should trimmed when extracting them from parsed SAML messages.
- isValid() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Determines if the SAML Response is valid using the certificate.
- isValid() - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Determines if the SAML LogoutRequest is valid or not
- isValid() - Method in class org.codelibs.saml2.core.logout.LogoutResponse
- isValid(String) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Determines if the SAML Response is valid using the certificate.
- isValid(String) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Determines if the SAML LogoutResponse is valid
K
- KEY_ALGORITHM_ERROR - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- KEYINFO_NOT_FOUND_IN_ENCRYPTED_DATA - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- KEYSTORE_ALIAS - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- KEYSTORE_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- KEYSTORE_KEY_PASSWORD - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- KeyStoreSettings - Class in org.codelibs.saml2.core.model
-
KeyStore class of Java Toolkit.
- KeyStoreSettings(KeyStore, String, String) - Constructor for class org.codelibs.saml2.core.model.KeyStoreSettings
-
Constructor
L
- loadCert(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Load X.509 certificate
- loadCertificateFromProp(Object) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads a property of the type X509Certificate from the property value
- loadCertificateFromProp(String) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads a property of the type X509Certificate from the Properties object
- loadFromUrl(URL) - Static method in class org.codelibs.saml2.core.util.SchemaFactory
- loadPrivateKey(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Load private key
- loadPrivateKeyFromProp(String) - Method in class org.codelibs.saml2.core.settings.SettingsBuilder
-
Loads a property of the type PrivateKey from the Properties object
- loadXML(String) - Static method in class org.codelibs.saml2.core.util.Util
-
This function load an XML string in a save way.
- loadXmlFromBase64(String) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Load a XML base64encoded SAMLResponse
- LogoutRequest - Class in org.codelibs.saml2.core.logout
-
LogoutRequest class of Java Toolkit.
- LogoutRequest(Saml2Settings) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Constructs a LogoutRequest object when a new request should be generated and sent.
- LogoutRequest(Saml2Settings, HttpRequest) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Constructs the LogoutRequest object when a received request should be extracted from the HTTP request and parsed.
- LogoutRequest(Saml2Settings, HttpRequest, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Deprecated.use
LogoutRequest(Saml2Settings, HttpRequest)to build a received request from the HTTP request, orLogoutRequest(Saml2Settings, LogoutRequestParams)withLogoutRequestParams(String, String)to build a new request to be sent - LogoutRequest(Saml2Settings, HttpRequest, String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Deprecated.use
LogoutRequest(Saml2Settings, HttpRequest)to build a received request from the HTTP request, orLogoutRequest(Saml2Settings, LogoutRequestParams)withLogoutRequestParams(String, String, String)to build a new request to be sent - LogoutRequest(Saml2Settings, HttpRequest, String, String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Deprecated.use
LogoutRequest(Saml2Settings, HttpRequest)to build a received request from the HTTP request, orLogoutRequest(Saml2Settings, LogoutRequestParams)withLogoutRequestParams(String, String, String, String)to build a new request to be sent - LogoutRequest(Saml2Settings, HttpRequest, String, String, String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Deprecated.use
LogoutRequest(Saml2Settings, HttpRequest)to build a received request from the HTTP request, orLogoutRequest(Saml2Settings, LogoutRequestParams)withLogoutRequestParams(String, String, String, String, String)to build a new request to be sent - LogoutRequest(Saml2Settings, LogoutRequestParams) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequest
-
Constructs the LogoutRequest object when a new request should be generated and sent.
- LogoutRequestParams - Class in org.codelibs.saml2.core.logout
-
Input parameters for a SAML 2 logout request.
- LogoutRequestParams() - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create an empty set of logout request input parameters.
- LogoutRequestParams(String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create a set of logout request input parameters.
- LogoutRequestParams(String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create a set of logout request input parameters.
- LogoutRequestParams(String, String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create a set of logout request input parameters.
- LogoutRequestParams(String, String, String, String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create a set of logout request input parameters.
- LogoutRequestParams(LogoutRequestParams) - Constructor for class org.codelibs.saml2.core.logout.LogoutRequestParams
-
Create a set of logout request input parameters, by copying them from another set.
- LogoutResponse - Class in org.codelibs.saml2.core.logout
-
LogoutResponse class of Java Toolkit.
- LogoutResponse(Saml2Settings, HttpRequest) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponse
-
Constructs the LogoutResponse object when a received response should be extracted from the HTTP request and parsed.
- LogoutResponse(Saml2Settings, LogoutResponseParams) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponse
-
Constructs the LogoutResponse object when a new response should be generated and sent.
- LogoutResponseParams - Class in org.codelibs.saml2.core.logout
-
Input parameters for a SAML 2 logout response.
- LogoutResponseParams() - Constructor for class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Creates a logout response with no
inResponseToattribute and a response status with a top-levelConstants.STATUS_SUCCESSstatus code. - LogoutResponseParams(String) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Creates a logout response with a response status with a top-level
Constants.STATUS_SUCCESSstatus code. - LogoutResponseParams(String, String) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Creates a logout response.
- LogoutResponseParams(String, SamlResponseStatus) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Creates a logout response.
- LogoutResponseParams(LogoutResponseParams) - Constructor for class org.codelibs.saml2.core.logout.LogoutResponseParams
-
Create a set of logout request input parameters, by copying them from another set.
M
- Metadata - Class in org.codelibs.saml2.core.settings
-
Metadata class of Java Toolkit.
- Metadata(Saml2Settings) - Constructor for class org.codelibs.saml2.core.settings.Metadata
-
Constructs the Metadata object.
- Metadata(Saml2Settings, Calendar, Integer) - Constructor for class org.codelibs.saml2.core.settings.Metadata
-
Constructs the Metadata object.
- Metadata(Saml2Settings, Calendar, Integer, AttributeConsumingService) - Constructor for class org.codelibs.saml2.core.settings.Metadata
-
Constructs the Metadata object.
- METADATA_SP_INVALID - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- MISSING_CONDITIONS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- MISSING_ENCRYPTED_ELEMENT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- MISSING_ID - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- MISSING_STATUS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- MISSING_STATUS_CODE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- mustRejectDeprecatedSignatureAlgo(String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
N
- NAMEID_EMAIL_ADDRESS - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_ENCRYPTED - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_ENTITY - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_KERBEROS - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_PERSISTENT - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_TRANSIENT - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_UNSPECIFIED - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME - Static variable in class org.codelibs.saml2.core.util.Constants
- NAMEID_X509_SUBJECT_NAME - Static variable in class org.codelibs.saml2.core.util.Constants
- NO_ATTRIBUTESTATEMENT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_ENCRYPTED_ASSERTION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_ENCRYPTED_NAMEID - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_NAMEID - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_SIGNATURE_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_SIGNED_ASSERTION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NO_SIGNED_MESSAGE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NOT_SUPPORTED - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- NS_DS - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_MD - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_SAML - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_SAMLP - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_SOAP - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_XENC - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_XS - Static variable in class org.codelibs.saml2.core.util.Constants
- NS_XSI - Static variable in class org.codelibs.saml2.core.util.Constants
O
- org.codelibs.saml2.core - module org.codelibs.saml2.core
- org.codelibs.saml2.core.authn - package org.codelibs.saml2.core.authn
- org.codelibs.saml2.core.exception - package org.codelibs.saml2.core.exception
- org.codelibs.saml2.core.http - package org.codelibs.saml2.core.http
- org.codelibs.saml2.core.logout - package org.codelibs.saml2.core.logout
- org.codelibs.saml2.core.model - package org.codelibs.saml2.core.model
- org.codelibs.saml2.core.model.hsm - package org.codelibs.saml2.core.model.hsm
- org.codelibs.saml2.core.settings - package org.codelibs.saml2.core.settings
- org.codelibs.saml2.core.util - package org.codelibs.saml2.core.util
- Organization - Class in org.codelibs.saml2.core.model
-
Organization class of Java Toolkit.
- Organization(String, String, String) - Constructor for class org.codelibs.saml2.core.model.Organization
-
Constructor
Default the lang attribute to "en" - Organization(String, String, String, String) - Constructor for class org.codelibs.saml2.core.model.Organization
-
Constructor
- Organization(String, String, URL) - Constructor for class org.codelibs.saml2.core.model.Organization
-
Constructor
Default the lang attribute to "en" - Organization(String, String, URL, String) - Constructor for class org.codelibs.saml2.core.model.Organization
-
Constructor
- ORGANIZATION_DISPLAYNAME - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- ORGANIZATION_LANG - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- ORGANIZATION_NAME - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- ORGANIZATION_URL - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
P
- parseDateTime(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Create calendar form string with format yyyy-MM-ddTHH:mm:ssZ // yyyy-MM-ddTHH:mm:ss.SSSZ
- parseDuration(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Interprets a ISO8601 duration value relative to a current time timestamp.
- parseDuration(String, long) - Static method in class org.codelibs.saml2.core.util.Util
-
Interprets a ISO8601 duration value relative to a given timestamp.
- parseFileXML(String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseFileXML(String, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseFileXML(String, String, String, String, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseRemoteXML(URL) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseRemoteXML(URL, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseRemoteXML(URL, String, String, String, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML file
- parseXML(Document) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML Document
- parseXML(Document, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML Document
- parseXML(Document, String, String, String, String) - Static method in class org.codelibs.saml2.core.settings.IdPMetadataParser
-
Get IdP Metadata Info from XML Document
- parseXML(InputSource) - Static method in class org.codelibs.saml2.core.util.Util
-
Parse an XML from input source to a Document object
- PARSING_TRIM_ATTRIBUTE_VALUES - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- PARSING_TRIM_NAME_IDS - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- postProcessXml(String, AuthnRequestParams, Saml2Settings) - Method in class org.codelibs.saml2.core.authn.AuthnRequest
-
Allows for an extension class to post-process the AuthnRequest XML generated for this request, in order to customize the result.
- postProcessXml(String, LogoutRequestParams, Saml2Settings) - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Allows for an extension class to post-process the LogoutRequest XML generated for this request, in order to customize the result.
- postProcessXml(String, LogoutResponseParams, Saml2Settings) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Allows for an extension class to post-process the LogoutResponse XML generated for this response, in order to customize the result.
- postProcessXml(String, Saml2Settings) - Method in class org.codelibs.saml2.core.settings.Metadata
-
Allows for an extension class to post-process the SAML metadata XML generated for this metadata instance, in order to customize the result.
- Preconditions - Class in org.codelibs.saml2.core.util
- prettyPrintIssues(List<SubjectConfirmationIssue>) - Static method in class org.codelibs.saml2.core.model.SubjectConfirmationIssue
- PRIVATE_KEY_FILE_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
- PRIVATE_KEY_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
- processSignedElements() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Verifies the signature nodes: - Checks that are Response or Assertion - Check that IDs and reference URI are unique and consistent.
- PUBLIC_CERT_FILE_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
Q
- query(String) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Extracts nodes that match the query from the DOMDocument (Logout Response Menssage)
- query(String, Node) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Extracts nodes that match the query from the DOMDocument (Response Message)
- query(Document, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Extracts a node from the DOMDocument
- query(Document, String, Node) - Static method in class org.codelibs.saml2.core.util.Util
-
Extracts a node from the DOMDocument
- queryAssertion(String) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Extracts a node from the DOMDocument (Assertion).
R
- removeParameter(String) - Method in class org.codelibs.saml2.core.http.HttpRequest
- RequestedAttribute - Class in org.codelibs.saml2.core.model
-
RequestedAttribute class of Java Toolkit.
- RequestedAttribute(String, String, Boolean, String, List<String>) - Constructor for class org.codelibs.saml2.core.model.RequestedAttribute
-
Constructor
- RESPONSE_EXPIRED - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- RESPONSE_SIGNATURE_XPATH - Static variable in class org.codelibs.saml2.core.util.Util
- RSA_1_5 - Static variable in class org.codelibs.saml2.core.util.Constants
- RSA_OAEP_MGF1P - Static variable in class org.codelibs.saml2.core.util.Constants
- RSA_SHA1 - Static variable in class org.codelibs.saml2.core.util.Constants
- RSA_SHA256 - Static variable in class org.codelibs.saml2.core.util.Constants
- RSA_SHA384 - Static variable in class org.codelibs.saml2.core.util.Constants
- RSA_SHA512 - Static variable in class org.codelibs.saml2.core.util.Constants
S
- SAML_LOGOUTMESSAGE_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAML_LOGOUTREQUEST_INVALID - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAML_LOGOUTRESPONSE_INVALID - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAML_RESPONSE_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAML_SCHEMA_METADATA_2_0 - Static variable in class org.codelibs.saml2.core.util.SchemaFactory
- SAML_SCHEMA_PROTOCOL_2_0 - Static variable in class org.codelibs.saml2.core.util.SchemaFactory
- SAML_SINGLE_LOGOUT_NOT_SUPPORTED - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- Saml2Settings - Class in org.codelibs.saml2.core.settings
-
Saml2Settings class of Java Toolkit.
- Saml2Settings() - Constructor for class org.codelibs.saml2.core.settings.Saml2Settings
- SAMLException - Exception Class in org.codelibs.saml2.core.exception
-
Top-level exception class for the SAML client.
- SAMLException(String) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLException
-
Construct a SAMLException with the provided error message.
- SAMLException(String, Throwable) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLException
-
Construct a SAMLException with the provided human-readable error message and upstream cause.
- SAMLException(Throwable) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLException
-
Construct a SAMLException with the provided cause for the exception.
- SamlResponse - Class in org.codelibs.saml2.core.authn
-
SamlResponse class of Java Toolkit.
- SamlResponse(Saml2Settings, String, String) - Constructor for class org.codelibs.saml2.core.authn.SamlResponse
-
Constructor to have a Response object fully built and ready to validate the saml response.
- SamlResponse(Saml2Settings, HttpRequest) - Constructor for class org.codelibs.saml2.core.authn.SamlResponse
-
Constructor to have a Response object fully built and ready to validate the saml response.
- SamlResponseStatus - Class in org.codelibs.saml2.core.model
-
SamlResponseStatus class of Java Toolkit.
- SamlResponseStatus(String) - Constructor for class org.codelibs.saml2.core.model.SamlResponseStatus
-
Constructor
- SamlResponseStatus(String, String) - Constructor for class org.codelibs.saml2.core.model.SamlResponseStatus
-
Constructor
- SAMLSevereException - Exception Class in org.codelibs.saml2.core.exception
- SAMLSevereException(String, int) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAMLSevereException(String, int, Throwable) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SAMLSignatureException - Exception Class in org.codelibs.saml2.core.exception
- SAMLSignatureException(Exception) - Constructor for exception class org.codelibs.saml2.core.exception.SAMLSignatureException
- SchemaFactory - Class in org.codelibs.saml2.core.util
-
SchemaFactory class of Java Toolkit.
- SECURITY_ALLOW_REPEAT_ATTRIBUTE_NAME_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_AUTHREQUEST_SIGNED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_DIGEST_ALGORITHM - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_LOGOUTREQUEST_SIGNED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_LOGOUTRESPONSE_SIGNED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_NAMEID_ENCRYPTED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_REJECT_DEPRECATED_ALGORITHM - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_REJECT_UNSOLICITED_RESPONSES_WITH_INRESPONSETO - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_REQUESTED_AUTHNCONTEXT - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_REQUESTED_AUTHNCONTEXTCOMPARISON - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_SIGN_METADATA - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_SIGNATURE_ALGORITHM - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_ASSERTIONS_ENCRYPTED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_ASSERTIONS_SIGNED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_MESSAGES_SIGNED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_NAMEID - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_NAMEID_ENCRYPTED - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SECURITY_WANT_XML_VALIDATION - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SESSION_EXPIRED - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- setAllowRepeatAttributeName(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the allowRepeatAttributeName setting value
- setAuthnRequestsSigned(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the authnRequestsSigned setting value
- setClient() - Method in class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Sets the client to connect to the Azure Key Vault.
- setClient() - Method in class org.codelibs.saml2.core.model.hsm.HSM
-
Sets the client to connect to the Azure Key Vault.
- setCompressRequest(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the compressRequest setting value
- setCompressResponse(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the compressResponse setting value
- setContacts(List<Contact>) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set contacts info that will be listed on the Service Provider metadata
- setDebug(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the debug setting value
- setDestinationUrl(String) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Aux method to set the destination url
- setDigestAlgorithm(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the digestAlgorithm setting value
- setHsm(HSM) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Sets the HSM setting value.
- setIdpCertFingerprint(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpCertFingerprint setting value
- setIdpCertFingerprintAlgorithm(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpCertFingerprintAlgorithm setting value
- setIdpEntityId(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpEntityId setting value
- setIdpSingleLogoutServiceBinding(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpSingleLogoutServiceBinding setting value
- setIdpSingleLogoutServiceResponseUrl(URL) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpSingleLogoutServiceUrl setting value
- setIdpSingleLogoutServiceUrl(URL) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpSingleLogoutServiceUrl setting value
- setIdpSingleSignOnServiceBinding(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpSingleSignOnServiceBinding setting value
- setIdpSingleSignOnServiceUrl(URL) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpSingleSignOnServiceUrl setting value
- setIdpx509cert(X509Certificate) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpX509cert setting value provided as a X509Certificate object
- setIdpx509certMulti(List<X509Certificate>) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the idpx509certMulti setting value
- setLogoutRequestSigned(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the logoutRequestSigned setting value
- setLogoutResponseSigned(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the logoutResponseSigned setting value
- setNameIdEncrypted(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the nameIdEncrypted setting value
- setOrganization(Organization) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the organization info that will be published on the Service Provider metadata
- setRejectDeprecatedAlg(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the rejectDeprecatedAlg setting value
- setRejectUnsolicitedResponsesWithInResponseTo(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Controls if unsolicited Responses are rejected if they contain an InResponseTo value.
- setRequestedAuthnContext(List<String>) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the requestedAuthnContext setting value
- setRequestedAuthnContextComparison(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the requestedAuthnContextComparison setting value
- setSignatureAlgorithm(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the signatureAlgorithm setting value
- setSignMetadata(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the signMetadata setting value
- setSpAssertionConsumerServiceBinding(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spAssertionConsumerServiceBinding setting value
- setSpAssertionConsumerServiceUrl(URL) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spAssertionConsumerServiceUrl setting value
- setSpEntityId(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spEntityId setting value
- setSpNameIDFormat(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spNameIDFormat setting value
- setSpPrivateKey(PrivateKey) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spPrivateKey setting value provided as a PrivateKey object
- setSpSingleLogoutServiceBinding(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spSingleLogoutServiceBinding setting value
- setSpSingleLogoutServiceUrl(URL) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spSingleLogoutServiceUrl setting value
- setSPValidationOnly(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spValidationOnly value, used to check IdP data on checkSettings method
- setSpX509cert(X509Certificate) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spX509cert setting value provided as X509Certificate object
- setSpX509certNew(X509Certificate) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the spX509certNew setting value provided as X509Certificate object
- setStatusCode(String) - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
-
Set the status code
- setStatusMessage(String) - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
-
Set the status message
- setStrict(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the strict setting value
- setSubStatusCode(String) - Method in class org.codelibs.saml2.core.model.SamlResponseStatus
-
Set the second-level status code
- SETTINGS_FILE_NOT_FOUND - Static variable in exception class org.codelibs.saml2.core.exception.SAMLSevereException
- SETTINGS_INVALID - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
- SETTINGS_INVALID_SYNTAX - Static variable in exception class org.codelibs.saml2.core.exception.SettingsException
- SettingsBuilder - Class in org.codelibs.saml2.core.settings
-
SettingsBuilder class of Java Toolkit.
- SettingsBuilder() - Constructor for class org.codelibs.saml2.core.settings.SettingsBuilder
- SettingsException - Exception Class in org.codelibs.saml2.core.exception
- SettingsException(String, int) - Constructor for exception class org.codelibs.saml2.core.exception.SettingsException
- setTrimAttributeValues(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Sets whether attribute values in parsed SAML messages should be trimmed.
- setTrimNameIds(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Sets whether Name IDs in parsed SAML messages should be trimmed.
- setUniqueIDPrefix(String) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the uniqueIDPrefix setting value
- setValidationException(Exception) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Sets the validation exception that this
SamlResponseshould return when a validation error occurs. - setValidationException(Exception) - Method in class org.codelibs.saml2.core.logout.LogoutRequest
-
Sets the validation exception that this
LogoutRequestshould return when a validation error occurs. - setValidationException(Exception) - Method in class org.codelibs.saml2.core.logout.LogoutResponse
-
Sets the validation exception that this
LogoutResponseshould return when a validation error occurs. - setWantAssertionsEncrypted(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantAssertionsEncrypted setting value
- setWantAssertionsSigned(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantAssertionsSigned setting value
- setWantMessagesSigned(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantMessagesSigned setting value
- setWantNameId(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantNameId setting value
- setWantNameIdEncrypted(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantNameIdEncrypted setting value
- setWantXMLValidation(boolean) - Method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Set the wantXMLValidation setting value
- SHA1 - Static variable in class org.codelibs.saml2.core.util.Constants
- SHA256 - Static variable in class org.codelibs.saml2.core.util.Constants
- SHA384 - Static variable in class org.codelibs.saml2.core.util.Constants
- SHA512 - Static variable in class org.codelibs.saml2.core.util.Constants
- sign(String, PrivateKey, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Generates a signature from a string
- signatureAlgConversion(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Converts Signature algorithm method name
- signMetadata(String, PrivateKey, X509Certificate, String) - Static method in class org.codelibs.saml2.core.settings.Metadata
-
Signs the metadata with the key/cert provided
- signMetadata(String, PrivateKey, X509Certificate, String, String) - Static method in class org.codelibs.saml2.core.settings.Metadata
-
Signs the metadata with the key/cert provided
- SP_ASSERTION_CONSUMER_SERVICE_BINDING_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_ASSERTION_CONSUMER_SERVICE_URL_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_COMPANY_PROPERTY_KEY_SUFFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_CONTACT_TYPE_PROPERTY_KEY_SUFFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_EMAIL_ADDRESS_PROPERTY_KEY_PREFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_GIVEN_NAME_PROPERTY_KEY_SUFFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_PROPERTY_KEY_PREFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_SUR_NAME_PROPERTY_KEY_SUFFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_CONTACT_TELEPHONE_NUMBER_PROPERTY_KEY_PREFIX - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_ENTITYID_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_NAME_QUALIFIER_NAME_MISMATCH - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- SP_NAMEIDFORMAT_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_PRIVATEKEY_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_SINGLE_LOGOUT_SERVICE_BINDING_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_SINGLE_LOGOUT_SERVICE_URL_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_X509CERT_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SP_X509CERTNEW_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- STATUS_AUTHNFAILED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_CODE_IS_NOT_SUCCESS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- STATUS_INVALID_ATTRNAME_OR_VALUE - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_INVALID_NAMEIDPOLICY - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_NO_AUTHNCONTEXT - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_NO_AVAILABLE_IDP - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_NO_PASSIVE - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_NO_SUPPORTED_IDP - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_PARTIAL_LOGOUT - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_PROXY_COUNT_EXCEEDED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUEST_DENIED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUEST_UNSUPPORTED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUEST_VERSION_DEPRECATED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUEST_VERSION_TOO_HIGH - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUEST_VERSION_TOO_LOW - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_REQUESTER - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_RESOURCE_NOT_RECOGNIZED - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_RESPONDER - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_SUCCESS - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_TOO_MANY_RESPONSES - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_UNKNOWN_ATTR_PROFILE - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_UNKNOWN_PRINCIPAL - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_UNSUPPORTED_BINDING - Static variable in class org.codelibs.saml2.core.util.Constants
- STATUS_VERSION_MISMATCH - Static variable in class org.codelibs.saml2.core.util.Constants
- STRICT_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- SubjectConfirmationIssue - Class in org.codelibs.saml2.core.model
- SubjectConfirmationIssue(int, String) - Constructor for class org.codelibs.saml2.core.model.SubjectConfirmationIssue
T
- toString() - Method in class org.codelibs.saml2.core.http.HttpRequest
- toXml(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Escape a text so that it can be safely used within an XML element contents or attribute value.
- TRIPLEDES_CBC - Static variable in class org.codelibs.saml2.core.util.Constants
U
- UNEXPECTED_REFERENCE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- UNEXPECTED_SIGNED_ELEMENTS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- UNIQUE_ID_PREFIX - Static variable in class org.codelibs.saml2.core.util.Util
- UNIQUE_ID_PREFIX_PROPERTY_KEY - Static variable in class org.codelibs.saml2.core.settings.SettingsBuilder
- UNSUPPORTED_RETRIEVAL_METHOD - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- UNSUPPORTED_SAML_VERSION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- unwrapKey(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Unwraps a key with a particular algorithm using the Azure Key Vault.
- unwrapKey(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.HSM
-
Unwraps a key with a particular algorithm using the HSM.
- urlDecoder(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String URL decoded
- urlEncoder(String) - Static method in class org.codelibs.saml2.core.util.Util
-
Returns String URL encoded
- Util - Class in org.codelibs.saml2.core.util
-
Util class of Java Toolkit.
V
- validateAudiences() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Validates the audiences.
- validateBinarySignature(String, byte[], X509Certificate, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validates signed binary data (Used to validate GET Signature).
- validateBinarySignature(String, byte[], List<X509Certificate>, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validates signed binary data (Used to validate GET Signature).
- validateDestination(Element) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Validate the destination.
- validateMetadata(String) - Static method in class org.codelibs.saml2.core.settings.Saml2Settings
-
Validates an XML SP Metadata.
- validateMetadataSign(Document, X509Certificate, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate signature (Metadata).
- validateMetadataSign(Document, X509Certificate, String, String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate signature (Metadata).
- validateNumAssertions() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Verifies that the document only contains a single Assertion (encrypted or not).
- validateRecipient(Node, int) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Validate a subject confirmation recipient.
- validateSign(Document, X509Certificate, String, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate the signature pointed to by the xpath
- validateSign(Document, List<X509Certificate>, String, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate the signature pointed to by the xpath
- validateSign(Document, List<X509Certificate>, String, String, String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate the signature pointed to by the xpath
- validateSignedElements(ArrayList<String>) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Verifies that the document has the expected signed nodes.
- validateSignNode(XMLSignature, X509Certificate, String, X509Certificate, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate signature of the Node.
- validateSignNode(Node, X509Certificate, String, String) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate signature of the Node.
- validateSignNode(Node, X509Certificate, String, String, boolean) - Static method in class org.codelibs.saml2.core.util.Util
-
Validate signature of the Node.
- validateSpNameQualifier(String) - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Validates a SPNameQualifier.
- validateTimestamps() - Method in class org.codelibs.saml2.core.authn.SamlResponse
-
Verifies that the document is still valid according Conditions Element.
- validateXML(Document, URL) - Static method in class org.codelibs.saml2.core.util.Util
-
This function attempts to validate an XML against the specified schema.
- ValidationException - Exception Class in org.codelibs.saml2.core.exception
- ValidationException(String, int) - Constructor for exception class org.codelibs.saml2.core.exception.ValidationException
W
- warning(SAXParseException) - Method in class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
- wrapKey(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.AzureKeyVault
-
Wraps a key with a particular algorithm using the Azure Key Vault.
- wrapKey(String, byte[]) - Method in class org.codelibs.saml2.core.model.hsm.HSM
-
Wraps a key with a particular algorithm using the HSM
- WRONG_AUDIENCE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_DESTINATION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_INRESPONSETO - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_ISSUER - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_NUMBER_OF_ASSERTIONS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_NUMBER_OF_AUTHSTATEMENTS - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_NUMBER_OF_SIGNATURES - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_NUMBER_OF_SIGNATURES_IN_ASSERTION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_NUMBER_OF_SIGNATURES_IN_RESPONSE - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_SIGNED_ELEMENT - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
- WRONG_SUBJECTCONFIRMATION - Static variable in exception class org.codelibs.saml2.core.exception.ValidationException
X
- X509CertificateException - Exception Class in org.codelibs.saml2.core.exception
- X509CertificateException(CertificateException) - Constructor for exception class org.codelibs.saml2.core.exception.X509CertificateException
- XMLErrorAccumulatorHandler - Class in org.codelibs.saml2.core.util
- XMLErrorAccumulatorHandler() - Constructor for class org.codelibs.saml2.core.util.XMLErrorAccumulatorHandler
- XMLParsingException - Exception Class in org.codelibs.saml2.core.exception
- XMLParsingException(String, Throwable) - Constructor for exception class org.codelibs.saml2.core.exception.XMLParsingException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AuthnRequest(Saml2Settings, AuthnRequestParams)withAuthnRequestParams(boolean, boolean, boolean)instead