Package be.business.connector.core.utils
Class SAMLTokenValidator
- java.lang.Object
-
- be.business.connector.core.utils.SAMLTokenValidator
-
public class SAMLTokenValidator extends Object
- Author:
- Liesje Demuynck. Validates a SAML token
-
-
Constructor Summary
Constructors Constructor Description SAMLTokenValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisValid(Element assertion)Checks whether the provided assertion is still validstatic booleanisValidHospitalPharmacySession(Element assertion)Checks whether the provided assertion is still validstatic booleanisValidPharmacySession(Element assertion)Checks whether the provided assertion is still valid
-
-
-
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
-
-