boolean isAuthenticationPassed = false;
boolean isAuthorizationPassed = false;
boolean isValidationPassed = false;
SSAFAuthenticationProcess authentication = new AuthenticationProcessImpl();
isAuthenticationPassed = authentication.authenticateXML(message);
if (isAuthenticationPassed) {
SSAFAuthorizationProcess authorization = new AuthorizationProcessImpl();
isAuthorizationPassed = authorization.authorizeXML(message);