Assertion assertion = getAssertionObjectFromOMElement(elem);
List<AuthenticationStatement> authStmts = assertion.getAuthenticationStatements();
assertNotNull("At least one Authentication Statement should be present in the assertion",
authStmts.get(0));
SubjectStatement authStmt = authStmts.get(0);
List<ConfirmationMethod> subConfirmationMethods = authStmt.getSubject().
getSubjectConfirmation().getConfirmationMethods();
assertNotNull("At least one Subject Confirmation method should be present in the SAML Subject",
subConfirmationMethods.get(0));
assertEquals("Subject Confirmation should be BEARER : urn:oasis:names:tc:SAML:1.0:cm:bearer",
RahasConstants.SAML11_SUBJECT_CONFIRMATION_BEARER,