fixed gcj warnings + added 2 checks

This commit is contained in:
Damien Laniel 2007-06-13 13:17:51 +00:00
parent 1915d25a8a
commit 82a7450182
1 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class LoginTest extends TestCase {
Logout idpLogout, spLogout;
SamlAssertion assertion;
Server idp, sp;
Session idpSession, spSession;
Session spSession;
String artifact, authenticationMethod, authnRequestQuery, authnRequestUrl, idpDump,
idpIdentityDump, idpRemoteProviderId, idpSessionDump, nameIdentifier, relayState,
responseQuery, responseUrl, soapEndpoint, soapResponseMsg, soapRequestMsg,
@ -149,7 +149,9 @@ public class LoginTest extends TestCase {
spLogin.initRequest(responseQuery, method);
spLogin.buildRequestMsg();
soapEndpoint = spLogin.getMsgUrl();
assertNotNull(soapEndpoint);
soapRequestMsg = spLogin.getMsgBody();
assertNotNull(soapRequestMsg);
// Identity provider SOAP endpoint.
requestType = lasso.getRequestTypeFromSoapMsg(soapRequestMsg);