Class SAMLTokenValidator


  • public class SAMLTokenValidator
    extends Object
    Author:
    Liesje Demuynck. Validates a SAML token
    • Constructor Detail

      • SAMLTokenValidator

        public SAMLTokenValidator()
    • Method Detail

      • isValid

        public static boolean isValid​(Element assertion)
        Checks whether the provided assertion is still valid
        Parameters:
        assertion - the assertion to check
        Returns:
        true, if successful
      • isValidPharmacySession

        public static boolean isValidPharmacySession​(Element assertion)
        Checks whether the provided assertion is still valid
        Parameters:
        assertion - the assertion to check
        Returns:
        true, if successful
      • isValidHospitalPharmacySession

        public static boolean isValidHospitalPharmacySession​(Element assertion)
        Checks whether the provided assertion is still valid
        Parameters:
        assertion - the assertion to check
        Returns:
        true, if successful