Package org.opensaml.saml.saml1.profile
Class SAML1ObjectSupport
- java.lang.Object
-
- org.opensaml.saml.saml1.profile.SAML1ObjectSupport
-
public final class SAML1ObjectSupport extends Object
A helper class for working with SAMLObjects.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSAML1ObjectSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareNameIdentifierFormatsEquivalent(String format1, String format2)Return true iff the two inputNameIdentifierformats are equivalent for SAML 1.x purposes.static booleanareNameIdentifiersEquivalent(NameIdentifier name1, NameIdentifier name2)Return true iff the two inputNameIdentifierobjects are equivalent for SAML 1.x purposes.private static org.slf4j.LoggergetLogger()Get an SLF4J Logger.
-
-
-
Method Detail
-
areNameIdentifierFormatsEquivalent
public static boolean areNameIdentifierFormatsEquivalent(@Nullable String format1, @Nullable String format2)Return true iff the two inputNameIdentifierformats are equivalent for SAML 1.x purposes.- Parameters:
format1- first format to checkformat2- second format to check- Returns:
- true iff the two format values should be viewed as equivalent
-
areNameIdentifiersEquivalent
public static boolean areNameIdentifiersEquivalent(@Nonnull NameIdentifier name1, @Nonnull NameIdentifier name2)Return true iff the two inputNameIdentifierobjects are equivalent for SAML 1.x purposes.- Parameters:
name1- first NameIdentifier to checkname2- second NameIdentifier to check- Returns:
- true iff the two values should be viewed as equivalent
-
getLogger
@Nonnull private static org.slf4j.Logger getLogger()
Get an SLF4J Logger.- Returns:
- a Logger instance
-
-