public final class SAML2ObjectSupport extends Object
| Modifier | Constructor and Description |
|---|---|
private |
SAML2ObjectSupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areNameIDFormatsEquivalent(String format1,
String format2)
Return true iff the two input
NameID formats are equivalent for SAML 2.0
purposes. |
static boolean |
areNameIDsEquivalent(NameID name1,
NameID name2)
Return true iff the two input
NameID objects are equivalent for SAML 2.0 purposes, with
the assumption that the qualifier attributes must match exactly. |
static boolean |
areNameIDsEquivalent(NameID name1,
NameID name2,
String assertingParty,
String relyingParty)
Return true iff the two input
NameID objects are equivalent for SAML 2.0 purposes, allowing
thw qualifier attributes to assume default values if not otherwise set. |
public static boolean areNameIDFormatsEquivalent(@Nullable String format1, @Nullable String format2)
NameID formats are equivalent for SAML 2.0
purposes.format1 - first format to checkformat2 - second format to checkpublic static boolean areNameIDsEquivalent(@Nonnull NameID name1, @Nonnull NameID name2)
NameID objects are equivalent for SAML 2.0 purposes, with
the assumption that the qualifier attributes must match exactly.name1 - first NameID to checkname2 - second NameID to checkpublic static boolean areNameIDsEquivalent(@Nonnull NameID name1, @Nonnull NameID name2, @Nullable String assertingParty, @Nullable String relyingParty)
NameID objects are equivalent for SAML 2.0 purposes, allowing
thw qualifier attributes to assume default values if not otherwise set.name1 - first NameID to checkname2 - second NameID to checkassertingParty - optional name of asserting party to default in as NameQualifierrelyingParty - optional name of relying party to default in as SPNameQualifierCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.