Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewjam/saml
/ functions
Functions
2,436 in github.com/crewjam/saml
⨍
Functions
2,436
◇
Types & classes
281
Function
TestIDPInitiatedLogoutPage
(t *testing.T)
identity_provider_logout_propagation_test.go:319
Function
TestIDPInitiatedLogoutRoundTrip
(t *testing.T)
identity_provider_logout_propagation_test.go:274
Function
TestIDPInitiatedLogoutSkipsUnreachableSPs
(t *testing.T)
identity_provider_logout_propagation_test.go:332
Function
TestIDPInitiatedLogoutWithoutTracking
(t *testing.T)
identity_provider_logout_propagation_test.go:347
Function
TestIDPLogoutNameIDEncrypter
LogoutNameIDEncrypter, when set, is used whatever the metadata lists.
logout_nameid_encryption_test.go:143
Function
TestIDPLogoutRequestBaseID
(t *testing.T)
logout_request_identifiers_test.go:234
Function
TestIDPLogoutRequestNotOnOrAfterIgnoresNamespaceDeclaration
The identity provider reads a signed LogoutRequest the same way: a declaration added after signing must not extend its NotOnOrAfter.
attribute_namespace_test.go:203
Function
TestIDPLogoutRequestReplayCacheDetails
(t *testing.T)
logout_request_replay_test.go:157
Function
TestIDPLogoutRequestSeveralIdentifiers
(t *testing.T)
logout_request_identifiers_test.go:280
Function
TestIDPLogoutTemplates
The forms and page of logout propagation can be replaced, for example to serve them under a strict Content-Security-Policy without inline scripts.
idp_review_logout_templates_test.go:15
Function
TestIDPMakeAssertion
(t *testing.T)
identity_provider_test.go:590
Function
TestIDPMakeAssertionAddressWithoutPort
(t *testing.T)
identity_provider_test.go:784
Function
TestIDPMakeAssertionElCustomEncrypter
(t *testing.T)
identity_provider_test.go:1376
Function
TestIDPMakeErrorResponse
(t *testing.T)
idp_error_response_test.go:90
Function
TestIDPMakeErrorResponseErrors
(t *testing.T)
idp_error_response_test.go:133
Function
TestIDPMakeErrorResponseReplacesAssertion
(t *testing.T)
idp_error_response_test.go:122
Function
TestIDPMakeErrorResponseSimpleSign
(t *testing.T)
idp_error_response_test.go:151
Function
TestIDPMakeErrorResponseWithoutSecondLevelOrMessage
(t *testing.T)
idp_error_response_test.go:115
Function
TestIDPMakeResponsePrivateKey
(t *testing.T)
identity_provider_test.go:880
Function
TestIDPMakeResponseSigner
(t *testing.T)
identity_provider_test.go:886
Function
TestIDPMarshalAssertion
(t *testing.T)
identity_provider_test.go:830
Function
TestIDPMetadataAdvertisesSOAPLogout
(t *testing.T)
identity_provider_logout_soap_request_test.go:424
Function
TestIDPMetadataLogoutBindings
(t *testing.T)
identity_provider_logout_test.go:524
Function
TestIDPMetadataPublishesExtraCertificates
(t *testing.T)
identity_provider_test.go:231
Function
TestIDPMetadataPublishesShibbolethScopes
(t *testing.T)
metadata_shibmd_test.go:13
Function
TestIDPNoDestination
(t *testing.T)
identity_provider_test.go:1268
Function
TestIDPPostBindingChecksEndpointFirst
PostBinding and MakeResponse return an error, rather than panic, for a request that was not validated, and PostBinding does not sign a response it can
idp_review_post_binding_test.go:14
Function
TestIDPPropagatedLogoutAcceptsSimpleSignResponse
An SP that answers the IdP's LogoutRequest with a SimpleSign LogoutResponse is understood.
idp_review_simplesign_logout_test.go:48
Function
TestIDPRedirectRelayStateFromSignedQuery
The RelayState of an HTTP-Redirect message is read from the same parse of the query as the content its signature covers. url.Values drops a pair that
idp_review_relay_state_test.go:42
Function
TestIDPRejectDecompressionBomb
(t *testing.T)
identity_provider_test.go:1308
Function
TestIDPRejectSHA1LogoutRequestSignatures
(t *testing.T)
sha1_policy_test.go:113
Function
TestIDPRejectSHA1LogoutResponses
(t *testing.T)
identity_provider_logout_propagation_test.go:576
Function
TestIDPRejectSHA1SimpleSignAuthnRequest
(t *testing.T)
sha1_policy_test.go:167
Function
TestIDPRejectsBadLogoutResponses
LogoutResponses that do not answer the outstanding LogoutRequest, or are not validly signed by the SP it was sent to, are rejected and leave the logou
identity_provider_logout_propagation_test.go:447
Function
TestIDPRejectsBadSOAPLogoutResponses
SOAP LogoutResponses that are not a valid, signed answer from the participant are failures: the participant is reported as not logged out, or, if it a
identity_provider_logout_soap_test.go:263
Function
TestIDPRejectsFutureAuthnRequestIssueInstant
(t *testing.T)
idp_review_issue_instant_test.go:25
Function
TestIDPRejectsInvalidRequest
(t *testing.T)
identity_provider_test.go:422
Function
TestIDPRejectsLogoutResponseWithoutValidState
(t *testing.T)
identity_provider_logout_propagation_test.go:518
Function
TestIDPRejectsSHA1RedirectAuthnRequestSignature
(t *testing.T)
idp_review_authn_signature_test.go:137
Function
TestIDPRejectsSignedAuthnRequestWithoutSPSigningCert
(t *testing.T)
idp_review_authn_signature_test.go:120
Function
TestIDPRequestSubjectAbsentIsUnchanged
(t *testing.T)
idp_request_subject_test.go:89
Function
TestIDPRequestSubjectAssertionWithoutNameID
An assertion whose Subject has no NameID cannot be matched.
idp_request_subject_test.go:204
Function
TestIDPRequestSubjectBearerConfirmationMatches
(t *testing.T)
idp_request_subject_test.go:122
Function
TestIDPRequestSubjectConfirmationOnlyIsRefused
(t *testing.T)
idp_request_subject_test.go:148
Function
TestIDPRequestSubjectCustomAssertionMaker
The check applies to the assertion a custom AssertionMaker makes, too.
idp_request_subject_test.go:189
Function
TestIDPRequestSubjectMatchingNameID
(t *testing.T)
idp_request_subject_test.go:95
Function
TestIDPRequestSubjectMismatchIsRefused
(t *testing.T)
idp_request_subject_test.go:130
Function
TestIDPRequestSubjectUncomparableIdentifierIsRefused
(t *testing.T)
idp_request_subject_test.go:156
Function
TestIDPRequestSubjectUnsupportedConfirmationIsRefused
(t *testing.T)
idp_request_subject_test.go:179
Function
TestIDPRequestedAttributes
(t *testing.T)
identity_provider_test.go:1126
Function
TestIDPRequestedAuthnContextComparisons
(t *testing.T)
idp_requested_authn_context_test.go:121
Function
TestIDPRequestedAuthnContextCustomStrengths
(t *testing.T)
idp_requested_authn_context_test.go:162
Function
TestIDPRequestedAuthnContextExactUnsatisfiable
The issue's reproduction: without enforcement a request for X509 is still answered with Success and PasswordProtectedTransport (unchanged behaviour);
idp_requested_authn_context_test.go:61
Function
TestIDPRequestedAuthnContextMinimumThroughServeSSO
(t *testing.T)
idp_requested_authn_context_test.go:106
Function
TestIDPRequestedAuthnContextNoClassRefs
A RequestedAuthnContext naming no class (only declarations, which are not parsed) is not evaluated.
idp_requested_authn_context_test.go:191
Function
TestIDPRequestedAuthnContextNoneRequested
Without a RequestedAuthnContext, an enforcing IdP asserts the session's class, or PasswordProtectedTransport when the session names none.
idp_requested_authn_context_test.go:98
Function
TestIDPRequestedAuthnContextSessionClassAsserted
The class in the Session is asserted, enforced or not, and an exact request for it succeeds.
idp_requested_authn_context_test.go:85
Function
TestIDPRequestedAuthnContextUnknownComparison
(t *testing.T)
idp_requested_authn_context_test.go:177
Function
TestIDPRequiresSignatureWhenSPMetadataSaysSigned
(t *testing.T)
idp_review_authn_signature_test.go:72
Function
TestIDPResponseWriterError
(t *testing.T)
identity_provider_response_writer_test.go:81
Function
TestIDPResponseWriterServeIDPInitiated
(t *testing.T)
identity_provider_response_writer_test.go:67
Function
TestIDPResponseWriterServeSSO
(t *testing.T)
identity_provider_response_writer_test.go:50
Function
TestIDPSOAPLogoutHTTPClient
The IdP sends SOAP messages with HTTPClient, and its default client does not follow redirects.
identity_provider_logout_soap_test.go:404
Function
TestIDPSendErrorResponseNil
(t *testing.T)
idp_error_response_test.go:235
Function
TestIDPSendErrorResponseUsesResponseWriter
(t *testing.T)
idp_error_response_test.go:241
Function
TestIDPServeIDPInitiatedAssertionMakerStatusError
(t *testing.T)
idp_error_response_test.go:220
Function
TestIDPServeSLOEncryptedID
(t *testing.T)
logout_request_session_indexes_test.go:149
Function
TestIDPServeSLOEncryptedIDRejected
(t *testing.T)
logout_request_session_indexes_test.go:182
Function
TestIDPServeSLOFrontChannelWithSOAPEnabled
Adding SOAP leaves the front-channel bindings working.
identity_provider_logout_soap_request_test.go:436
Function
TestIDPServeSLOLogoutResponseWithoutLogoutInProgress
Without a SessionParticipantTracker, a LogoutResponse at the IdP is never expected.
identity_provider_logout_propagation_test.go:568
Function
TestIDPServeSLONoLogoutURL
(t *testing.T)
identity_provider_logout_test.go:488
Function
TestIDPServeSLOOverSOAP
An SP logs the user out over SOAP: the session is ended without a cookie, the other participants are logged out over SOAP, and the SP gets a signed Su
identity_provider_logout_soap_request_test.go:116
Function
TestIDPServeSLOOverSOAPAccepts
Without the policy, a SHA-1 signature is accepted, as for the other bindings; and a SOAP header that need not be understood is ignored.
identity_provider_logout_soap_request_test.go:389
Function
TestIDPServeSLOOverSOAPContactsParticipantsConcurrently
The other participants of a logout that came over SOAP are contacted at the same time, not one after the other, and a participant that does not answer
idp_review_backchannel_test.go:15
Function
TestIDPServeSLOOverSOAPEncryptedID
The principal may be identified by an EncryptedID.
identity_provider_logout_soap_request_test.go:152
Function
TestIDPServeSLOOverSOAPNotEnabled
Unless LogoutBindings includes SOAPBinding, a SOAP LogoutRequest is refused as before, and the metadata advertises no SOAP endpoint.
identity_provider_logout_soap_request_test.go:411
Function
TestIDPServeSLOOverSOAPPartialLogout
Participants that cannot be logged out over SOAP make the logout partial: one that only offers front-channel logout, which cannot be reached without a
identity_provider_logout_soap_request_test.go:168
Function
TestIDPServeSLOOverSOAPPartialLogoutWithoutTracker
The option applies to LogoutRequests sent with the SOAP binding too.
partial_logout_untracked_test.go:88
Function
TestIDPServeSLOOverSOAPRefused
A SOAP message that cannot be read or authenticated is answered with a SOAP fault, and ends no session.
identity_provider_logout_soap_request_test.go:286
Function
TestIDPServeSLOOverSOAPRefusesNonParticipant
The same holds for a LogoutRequest sent over SOAP, where no browser, and so no session cookie, shows that the user is involved.
idp_review_logout_participant_test.go:53
Function
TestIDPServeSLOOverSOAPRequester
A request that is signed by the SP but invalid is answered with a signed Requester LogoutResponse, and ends no session.
identity_provider_logout_soap_request_test.go:230
Function
TestIDPServeSLOOverSOAPSessionNotEnded
If the session cannot be ended, the SP gets Responder and the logout is not propagated.
identity_provider_logout_soap_request_test.go:217
Function
TestIDPServeSLOPartialLogoutWithTracker
With a SessionParticipantTracker the option changes nothing: the second-level status reports whether the participants were logged out.
partial_logout_untracked_test.go:64
Function
TestIDPServeSLOPartialLogoutWithoutTracker
Without a SessionParticipantTracker, the IdP cannot contact the other session participants. saml-core-2.0-os §3.7.3.2 then requires the second-level s
partial_logout_untracked_test.go:31
Function
TestIDPServeSLOPartialLogoutWithoutTrackerSessionNotEnded
The option does not report PartialLogout when the session could not be ended: the top-level status is Responder.
partial_logout_untracked_test.go:53
Function
TestIDPServeSLOPostResponseUsesSHA256
(t *testing.T)
identity_provider_logout_test.go:280
Function
TestIDPServeSLORefusesReplay
The IdP records each LogoutRequest ServeSLO accepts in its ReplayCache and answers the same request again with HTTP 400, without ending a session.
logout_request_replay_test.go:125
Function
TestIDPServeSLORejectsInvalidRequests
TestIDPServeSLORejectsInvalidRequests checks that invalid logout requests are answered with HTTP 400, no LogoutResponse, and no session is ended.
identity_provider_logout_test.go:339
Function
TestIDPServeSLOResponseLocation
(t *testing.T)
identity_provider_logout_test.go:292
Function
TestIDPServeSLORoundTrip
(t *testing.T)
identity_provider_logout_test.go:198
Function
TestIDPServeSLOSessionNotTerminated
(t *testing.T)
identity_provider_logout_test.go:318
Function
TestIDPServeSLOSeveralSessionIndexes
A signed LogoutRequest with several SessionIndexes ends every session of the NameID with one of them.
logout_request_session_indexes_test.go:100
Function
TestIDPServeSLOSigningFailure
(t *testing.T)
identity_provider_logout_test.go:508
Function
TestIDPServeSLOSimpleSignRequest
A LogoutRequest from the SP with the HTTP-POST-SimpleSign binding, which ServiceProvider.MakeSimpleSignLogoutRequest makes and which carries no XML si
idp_review_simplesign_logout_test.go:15
Function
TestIDPServeSLOSimpleSignRequestBadSignature
(t *testing.T)
idp_review_simplesign_logout_test.go:33
Function
TestIDPServeSLOUnknownSPLookupError
(t *testing.T)
identity_provider_logout_test.go:497
Function
TestIDPServeSLOWithoutSessionIndex
(t *testing.T)
identity_provider_logout_test.go:308
Function
TestIDPServeSSOAssertionMakerPlainErrorStill500
(t *testing.T)
idp_error_response_test.go:199
Function
TestIDPServeSSOAssertionMakerStatusError
(t *testing.T)
idp_error_response_test.go:175
Function
TestIDPServeSSODoesNotRecordUnsignedAuthnRequests
Unsigned AuthnRequests are not recorded.
idp_review_authn_replay_test.go:58
← previous
next →
1,601–1,700 of 2,436, ranked by callers