MCPcopy Create free account

hub / github.com/crewjam/saml / functions

Functions2,436 in github.com/crewjam/saml

FunctionTestIDPInitiatedLogoutPage
(t *testing.T)
identity_provider_logout_propagation_test.go:319
FunctionTestIDPInitiatedLogoutRoundTrip
(t *testing.T)
identity_provider_logout_propagation_test.go:274
FunctionTestIDPInitiatedLogoutSkipsUnreachableSPs
(t *testing.T)
identity_provider_logout_propagation_test.go:332
FunctionTestIDPInitiatedLogoutWithoutTracking
(t *testing.T)
identity_provider_logout_propagation_test.go:347
FunctionTestIDPLogoutNameIDEncrypter
LogoutNameIDEncrypter, when set, is used whatever the metadata lists.
logout_nameid_encryption_test.go:143
FunctionTestIDPLogoutRequestBaseID
(t *testing.T)
logout_request_identifiers_test.go:234
FunctionTestIDPLogoutRequestNotOnOrAfterIgnoresNamespaceDeclaration
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
FunctionTestIDPLogoutRequestReplayCacheDetails
(t *testing.T)
logout_request_replay_test.go:157
FunctionTestIDPLogoutRequestSeveralIdentifiers
(t *testing.T)
logout_request_identifiers_test.go:280
FunctionTestIDPLogoutTemplates
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
FunctionTestIDPMakeAssertion
(t *testing.T)
identity_provider_test.go:590
FunctionTestIDPMakeAssertionAddressWithoutPort
(t *testing.T)
identity_provider_test.go:784
FunctionTestIDPMakeAssertionElCustomEncrypter
(t *testing.T)
identity_provider_test.go:1376
FunctionTestIDPMakeErrorResponse
(t *testing.T)
idp_error_response_test.go:90
FunctionTestIDPMakeErrorResponseErrors
(t *testing.T)
idp_error_response_test.go:133
FunctionTestIDPMakeErrorResponseReplacesAssertion
(t *testing.T)
idp_error_response_test.go:122
FunctionTestIDPMakeErrorResponseSimpleSign
(t *testing.T)
idp_error_response_test.go:151
FunctionTestIDPMakeErrorResponseWithoutSecondLevelOrMessage
(t *testing.T)
idp_error_response_test.go:115
FunctionTestIDPMakeResponsePrivateKey
(t *testing.T)
identity_provider_test.go:880
FunctionTestIDPMakeResponseSigner
(t *testing.T)
identity_provider_test.go:886
FunctionTestIDPMarshalAssertion
(t *testing.T)
identity_provider_test.go:830
FunctionTestIDPMetadataAdvertisesSOAPLogout
(t *testing.T)
identity_provider_logout_soap_request_test.go:424
FunctionTestIDPMetadataLogoutBindings
(t *testing.T)
identity_provider_logout_test.go:524
FunctionTestIDPMetadataPublishesExtraCertificates
(t *testing.T)
identity_provider_test.go:231
FunctionTestIDPMetadataPublishesShibbolethScopes
(t *testing.T)
metadata_shibmd_test.go:13
FunctionTestIDPNoDestination
(t *testing.T)
identity_provider_test.go:1268
FunctionTestIDPPostBindingChecksEndpointFirst
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
FunctionTestIDPPropagatedLogoutAcceptsSimpleSignResponse
An SP that answers the IdP's LogoutRequest with a SimpleSign LogoutResponse is understood.
idp_review_simplesign_logout_test.go:48
FunctionTestIDPRedirectRelayStateFromSignedQuery
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
FunctionTestIDPRejectDecompressionBomb
(t *testing.T)
identity_provider_test.go:1308
FunctionTestIDPRejectSHA1LogoutRequestSignatures
(t *testing.T)
sha1_policy_test.go:113
FunctionTestIDPRejectSHA1LogoutResponses
(t *testing.T)
identity_provider_logout_propagation_test.go:576
FunctionTestIDPRejectSHA1SimpleSignAuthnRequest
(t *testing.T)
sha1_policy_test.go:167
FunctionTestIDPRejectsBadLogoutResponses
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
FunctionTestIDPRejectsBadSOAPLogoutResponses
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
FunctionTestIDPRejectsFutureAuthnRequestIssueInstant
(t *testing.T)
idp_review_issue_instant_test.go:25
FunctionTestIDPRejectsInvalidRequest
(t *testing.T)
identity_provider_test.go:422
FunctionTestIDPRejectsLogoutResponseWithoutValidState
(t *testing.T)
identity_provider_logout_propagation_test.go:518
FunctionTestIDPRejectsSHA1RedirectAuthnRequestSignature
(t *testing.T)
idp_review_authn_signature_test.go:137
FunctionTestIDPRejectsSignedAuthnRequestWithoutSPSigningCert
(t *testing.T)
idp_review_authn_signature_test.go:120
FunctionTestIDPRequestSubjectAbsentIsUnchanged
(t *testing.T)
idp_request_subject_test.go:89
FunctionTestIDPRequestSubjectAssertionWithoutNameID
An assertion whose Subject has no NameID cannot be matched.
idp_request_subject_test.go:204
FunctionTestIDPRequestSubjectBearerConfirmationMatches
(t *testing.T)
idp_request_subject_test.go:122
FunctionTestIDPRequestSubjectConfirmationOnlyIsRefused
(t *testing.T)
idp_request_subject_test.go:148
FunctionTestIDPRequestSubjectCustomAssertionMaker
The check applies to the assertion a custom AssertionMaker makes, too.
idp_request_subject_test.go:189
FunctionTestIDPRequestSubjectMatchingNameID
(t *testing.T)
idp_request_subject_test.go:95
FunctionTestIDPRequestSubjectMismatchIsRefused
(t *testing.T)
idp_request_subject_test.go:130
FunctionTestIDPRequestSubjectUncomparableIdentifierIsRefused
(t *testing.T)
idp_request_subject_test.go:156
FunctionTestIDPRequestSubjectUnsupportedConfirmationIsRefused
(t *testing.T)
idp_request_subject_test.go:179
FunctionTestIDPRequestedAttributes
(t *testing.T)
identity_provider_test.go:1126
FunctionTestIDPRequestedAuthnContextComparisons
(t *testing.T)
idp_requested_authn_context_test.go:121
FunctionTestIDPRequestedAuthnContextCustomStrengths
(t *testing.T)
idp_requested_authn_context_test.go:162
FunctionTestIDPRequestedAuthnContextExactUnsatisfiable
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
FunctionTestIDPRequestedAuthnContextMinimumThroughServeSSO
(t *testing.T)
idp_requested_authn_context_test.go:106
FunctionTestIDPRequestedAuthnContextNoClassRefs
A RequestedAuthnContext naming no class (only declarations, which are not parsed) is not evaluated.
idp_requested_authn_context_test.go:191
FunctionTestIDPRequestedAuthnContextNoneRequested
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
FunctionTestIDPRequestedAuthnContextSessionClassAsserted
The class in the Session is asserted, enforced or not, and an exact request for it succeeds.
idp_requested_authn_context_test.go:85
FunctionTestIDPRequestedAuthnContextUnknownComparison
(t *testing.T)
idp_requested_authn_context_test.go:177
FunctionTestIDPRequiresSignatureWhenSPMetadataSaysSigned
(t *testing.T)
idp_review_authn_signature_test.go:72
FunctionTestIDPResponseWriterError
(t *testing.T)
identity_provider_response_writer_test.go:81
FunctionTestIDPResponseWriterServeIDPInitiated
(t *testing.T)
identity_provider_response_writer_test.go:67
FunctionTestIDPResponseWriterServeSSO
(t *testing.T)
identity_provider_response_writer_test.go:50
FunctionTestIDPSOAPLogoutHTTPClient
The IdP sends SOAP messages with HTTPClient, and its default client does not follow redirects.
identity_provider_logout_soap_test.go:404
FunctionTestIDPSendErrorResponseNil
(t *testing.T)
idp_error_response_test.go:235
FunctionTestIDPSendErrorResponseUsesResponseWriter
(t *testing.T)
idp_error_response_test.go:241
FunctionTestIDPServeIDPInitiatedAssertionMakerStatusError
(t *testing.T)
idp_error_response_test.go:220
FunctionTestIDPServeSLOEncryptedID
(t *testing.T)
logout_request_session_indexes_test.go:149
FunctionTestIDPServeSLOEncryptedIDRejected
(t *testing.T)
logout_request_session_indexes_test.go:182
FunctionTestIDPServeSLOFrontChannelWithSOAPEnabled
Adding SOAP leaves the front-channel bindings working.
identity_provider_logout_soap_request_test.go:436
FunctionTestIDPServeSLOLogoutResponseWithoutLogoutInProgress
Without a SessionParticipantTracker, a LogoutResponse at the IdP is never expected.
identity_provider_logout_propagation_test.go:568
FunctionTestIDPServeSLONoLogoutURL
(t *testing.T)
identity_provider_logout_test.go:488
FunctionTestIDPServeSLOOverSOAP
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
FunctionTestIDPServeSLOOverSOAPAccepts
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
FunctionTestIDPServeSLOOverSOAPContactsParticipantsConcurrently
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
FunctionTestIDPServeSLOOverSOAPEncryptedID
The principal may be identified by an EncryptedID.
identity_provider_logout_soap_request_test.go:152
FunctionTestIDPServeSLOOverSOAPNotEnabled
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
FunctionTestIDPServeSLOOverSOAPPartialLogout
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
FunctionTestIDPServeSLOOverSOAPPartialLogoutWithoutTracker
The option applies to LogoutRequests sent with the SOAP binding too.
partial_logout_untracked_test.go:88
FunctionTestIDPServeSLOOverSOAPRefused
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
FunctionTestIDPServeSLOOverSOAPRefusesNonParticipant
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
FunctionTestIDPServeSLOOverSOAPRequester
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
FunctionTestIDPServeSLOOverSOAPSessionNotEnded
If the session cannot be ended, the SP gets Responder and the logout is not propagated.
identity_provider_logout_soap_request_test.go:217
FunctionTestIDPServeSLOPartialLogoutWithTracker
With a SessionParticipantTracker the option changes nothing: the second-level status reports whether the participants were logged out.
partial_logout_untracked_test.go:64
FunctionTestIDPServeSLOPartialLogoutWithoutTracker
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
FunctionTestIDPServeSLOPartialLogoutWithoutTrackerSessionNotEnded
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
FunctionTestIDPServeSLOPostResponseUsesSHA256
(t *testing.T)
identity_provider_logout_test.go:280
FunctionTestIDPServeSLORefusesReplay
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
FunctionTestIDPServeSLORejectsInvalidRequests
TestIDPServeSLORejectsInvalidRequests checks that invalid logout requests are answered with HTTP 400, no LogoutResponse, and no session is ended.
identity_provider_logout_test.go:339
FunctionTestIDPServeSLOResponseLocation
(t *testing.T)
identity_provider_logout_test.go:292
FunctionTestIDPServeSLORoundTrip
(t *testing.T)
identity_provider_logout_test.go:198
FunctionTestIDPServeSLOSessionNotTerminated
(t *testing.T)
identity_provider_logout_test.go:318
FunctionTestIDPServeSLOSeveralSessionIndexes
A signed LogoutRequest with several SessionIndexes ends every session of the NameID with one of them.
logout_request_session_indexes_test.go:100
FunctionTestIDPServeSLOSigningFailure
(t *testing.T)
identity_provider_logout_test.go:508
FunctionTestIDPServeSLOSimpleSignRequest
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
FunctionTestIDPServeSLOSimpleSignRequestBadSignature
(t *testing.T)
idp_review_simplesign_logout_test.go:33
FunctionTestIDPServeSLOUnknownSPLookupError
(t *testing.T)
identity_provider_logout_test.go:497
FunctionTestIDPServeSLOWithoutSessionIndex
(t *testing.T)
identity_provider_logout_test.go:308
FunctionTestIDPServeSSOAssertionMakerPlainErrorStill500
(t *testing.T)
idp_error_response_test.go:199
FunctionTestIDPServeSSOAssertionMakerStatusError
(t *testing.T)
idp_error_response_test.go:175
FunctionTestIDPServeSSODoesNotRecordUnsignedAuthnRequests
Unsigned AuthnRequests are not recorded.
idp_review_authn_replay_test.go:58
← previousnext →1,601–1,700 of 2,436, ranked by callers