Package org.opensaml.saml.saml1.profile
Class SAML1ObjectSupport
java.lang.Object
org.opensaml.saml.saml1.profile.SAML1ObjectSupport
A helper class for working with SAMLObjects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areNameIdentifierFormatsEquivalent
(String format1, String format2) Return true iff the two inputNameIdentifier
formats are equivalent for SAML 1.x purposes.static boolean
areNameIdentifiersEquivalent
(NameIdentifier name1, NameIdentifier name2) Return true iff the two inputNameIdentifier
objects are equivalent for SAML 1.x purposes.
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGLogger.
-
-
Constructor Details
-
SAML1ObjectSupport
private SAML1ObjectSupport()Constructor.
-
-
Method Details
-
areNameIdentifierFormatsEquivalent
public static boolean areNameIdentifierFormatsEquivalent(@Nullable String format1, @Nullable String format2) Return true iff the two inputNameIdentifier
formats 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 inputNameIdentifier
objects 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
-