public final class SAML2ObjectSupport extends Object
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. |
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.name1
- first NameID to checkname2
- second NameID to checkCopyright © 2016 JBoss by Red Hat. All rights reserved.