Fix compilation error in SAMLParserTest.java
This commit is contained in:
parent
f0a0b553e5
commit
f63c60855e
1 changed files with 2 additions and 2 deletions
|
@ -103,9 +103,9 @@ public class SAMLParserTest {
|
||||||
assertNotNull(rtChoiceType.getEncryptedAssertion());
|
assertNotNull(rtChoiceType.getEncryptedAssertion());
|
||||||
|
|
||||||
PrivateKey privateKey = DerUtils.decodePrivateKey(Base64.decode(PRIVATE_KEY));
|
PrivateKey privateKey = DerUtils.decodePrivateKey(Base64.decode(PRIVATE_KEY));
|
||||||
ResponseType rtWithDecryptedAssertion = AssertionUtil.decryptAssertion(resp, privateKey);
|
AssertionUtil.decryptAssertion(resp, privateKey);
|
||||||
|
|
||||||
rtChoiceType = rtWithDecryptedAssertion.getAssertions().get(0);
|
rtChoiceType = resp.getAssertions().get(0);
|
||||||
assertNotNull(rtChoiceType.getAssertion());
|
assertNotNull(rtChoiceType.getAssertion());
|
||||||
assertNull(rtChoiceType.getEncryptedAssertion());
|
assertNull(rtChoiceType.getEncryptedAssertion());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue