table of contents
- testing 2.0.2+ds-7+deb10u1
- stretch-backports 2.0.2+ds-7+deb10u1~bpo9+1
- unstable 2.0.2+ds-7+deb10u1
- experimental 2.0.5+ds-1
Lemonldap::NG::Portal::Lib::SAML(3pm) | User Contributed Perl Documentation | Lemonldap::NG::Portal::Lib::SAML(3pm) |
NAME¶
Lemonldap::NG::Portal::Lib::SAML - Common SAML functionsSYNOPSIS¶
use Lemonldap::NG::Portal::Lib::SAML;DESCRIPTION¶
This module contains common methods for SAML authentication and user information loadingMETHODS¶
loadLasso¶
Load Lasso moduleloadService¶
Load SAML service by creating a Lasso::ServerloadIDPs¶
Load SAML identity providersloadSPs¶
Load SAML service providerscheckMessage¶
Check SAML requests and responsescheckLassoError¶
Log Lasso error code and message if this is actually a Lasso::Error with code > 0createServer¶
Load service metadata and create Lasso::Server objectaddIDP¶
Add IDP to an existing Lasso::ServeraddSP¶
Add SP to an existing Lasso::ServeraddAA¶
Add Attribute Authority to an existing Lasso::ServeraddProvider¶
Add provider to an existing Lasso::ServergetOrganizationName¶
Return name of organization picked up from metadatacreateAuthnRequest¶
Create authentication request for selected IDPcreateLogin¶
Create Lasso::Login objectinitAuthnRequest¶
Init authentication requestinitIdpInitiatedAuthnRequest¶
Init authentication request for IDP initiatedbuildAuthnRequestMsg¶
Build authentication request messageprocessAuthnRequestMsg¶
Process authentication request messagevalidateRequestMsg¶
Validate request messagebuildAuthnResponseMsg¶
Build authentication response messagebuildArtifactMsg¶
Build artifact messagebuildAssertion¶
Build assertionprocessAuthnResponseMsg¶
Process authentication response messagegetNameIdentifier¶
Get NameID from Lasso ProfilecreateIdentity¶
Create Lasso::Identity objectcreateSession¶
Create Lasso::Session objectacceptSSO¶
Accept SSO from IDPstoreRelayState¶
Store information in relayState database and returnextractRelayState¶
Extract RelayState information into $selfgetAssertion¶
Get assertion in Lasso::Login objectgetAttributeValue¶
Get SAML attribute value corresponding to name, format and friendly_name Multivaluated values are separated by ';'validateConditions¶
Validate conditionscreateLogoutRequest¶
Create logout request for selected entitycreateLogout¶
Create Lasso::Logout objectinitLogoutRequest¶
Init logout requestbuildLogoutRequestMsg¶
Build logout request messagesetSessionFromDump¶
Set session from dump in Lasso::Profile objectsetIdentityFromDump¶
Set identity from dump in Lasso::Profile objectgetMetaDataURL¶
Get URL stored in a service metadata configuration keyprocessLogoutResponseMsg¶
Process logout response messageprocessLogoutRequestMsg¶
Process logout request messagevalidateLogoutRequest¶
Validate logout requestbuildLogoutResponseMsg¶
Build logout response msgstoreReplayProtection¶
Store ID of an SAML message in Replay Protection basereplayProtection¶
Check if SAML message do not correspond to a previously responded messageresolveArtifact¶
Resolve artifact to get the real SAML messagestoreArtifact¶
Store artifactloadArtifact¶
Load artifactcreateArtifactResponse¶
Create artifact responseprocessArtRequestMsg¶
Process artifact response messageprocessArtResponseMsg¶
Process artifact response messagesendSOAPMessage¶
Send SOAP message and get responsecreateAssertionQuery¶
Create a new assertion querycreateAttributeRequest¶
Create an attribute requestvalidateAttributeRequest¶
Validate an attribute requestprocessAttributeRequest¶
Process an attribute requestbuildAttributeResponse¶
Build attribute responseprocessAttributeResponse¶
Process an attribute responsegetNameIDFormat¶
Convert configuration string into SAML2 NameIDFormat stringgetHttpMethod¶
Convert configuration string into Lasso HTTP Method integergetHttpMethodString¶
Convert configuration Lasso HTTP Method integer into stringgetFirstHttpMethod¶
Find a suitable HTTP method for an entity with a given protocoldisableSignature¶
Modify Lasso signature hint to disable signatureforceSignature¶
Modify Lasso signature hint to force signaturedisableSignatureVerification¶
Modify Lasso signature hint to disable signature verificationforceSignatureVerification¶
Modify Lasso signature hint to force signature verificationgetAuthnContext¶
Convert configuration string into SAML2 AuthnContextClassRef stringtimestamp2samldate¶
Convert timestamp into SAML2 date formatsamldate2timestamp¶
Convert SAML2 date format into timestampsendLogoutResponseToServiceProvider¶
Send logout response issue from a logout requestsendLogoutRequestToProvider¶
Send logout request to a providersendLogoutRequestToProviders¶
Send logout response issue from a logout request to all other providers. If information have to be displayed to users, such as iframe to send HTTP-Redirect or HTTP-POST logout request, then $self->{_info} will be updated.checkSignatureStatus¶
Check signature statusauthnContext2authnLevel¶
Return authentication level corresponding to authnContextauthnLevel2authnContext¶
Return SAML authentication context corresponding to authnLevelcheckDestination¶
If SAML Destination attribute is present, check itgetSamlSession¶
Try to recover the SAML session corresponding to id and return session datacreateAttribute¶
Create a new SAML attributecreateAttributeValue¶
Create a new SAML attribute valuegetEncryptionMode¶
Return Lasso encryption modesetProviderEncryptionMode¶
Set encryption mode on a providerdeleteSAMLSecondarySessions¶
Find and delete SAML sessions bounded to a primary sessionsendSLOErrorResponse¶
Send an SLO error responsegetQueryString¶
Get query string with or without CGI query_string() methodgetSignatureMethod¶
Return Lasso signature methodSEE ALSO¶
Lemonldap::NG::Portal::Auth::SAML, Lemonldap::NG::Portal::UserDBSAMLAUTHORS¶
- LemonLDAP::NG team <http://lemonldap-ng.org/team>
BUG REPORT¶
Use OW2 system to report bug or ask for features: <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>DOWNLOAD¶
Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>COPYRIGHT AND LICENSE¶
See COPYING file for details.This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2019-05-29 | perl v5.24.1 |