private IncomingRequest doAssociation(HttpServletRequest request, HttpServletResponse response, ServerManager serverManager, ParameterList parameterList) throws IOException, MessageException, AssociationException { /* * If not running over SSL, only allow DH */ if (!request.isSecure()) { AssociationRequest associationRequest = AssociationRequest .createAssociationRequest(parameterList); AssociationSessionType associationSessionType = associationRequest .getType(); if (associationSessionType.getHAlgorithm() == null) { throw new AssociationException("Not running over " + "SSL requires DH."); } } LOG.debug("associate"); Message message = serverManager.associationResponse(parameterList); String keyValueFormEncoding = message.keyValueFormEncoding(); LOG.debug("form encoding: " + keyValueFormEncoding); PrintWriter printWriter = response.getWriter(); printWriter.print(keyValueFormEncoding); return null; }
_log.debug("Trying association type: " + assocReq.getType()); if (alreadyTried.keySet().contains(assocReq.getType())) { if (DEBUG) { _log.debug("Already tried."); alreadyTried.put(assocReq.getType(), null); if (respType.equals(assocReq.getType()) || _log.debug("Retrieved association type " + "from the association error: " + newReq.getType());
AssociationSessionType type = assocReq.getType();
AssociationSessionType type = assocReq.getType();
AssociationSessionType type = assocReq.getType();
AssociationSessionType type = assocReq.getType();
AssociationSessionType type = assocReq.getType();
try { type = getType();
type = getType();