Source source = this.marshallResponse(handler.issue(request, this.context.getUserPrincipal())); Document doc = handler.postProcess((Document) ((DOMSource) source).getNode(), request); return new DOMSource(doc); Source source = this.marshallResponse(handler.renew(request, this.context.getUserPrincipal())); return this.marshallResponse(handler.cancel(request, this.context.getUserPrincipal())); else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) return this.marshallResponse(handler.validate(request, this.context.getUserPrincipal())); else throw new WSTrustException(ErrorCodes.STS_INVALID_REQUEST_TYPE + requestType);
Source source = this.marshallResponse(handler.issue(request, this.context.getUserPrincipal())); Document doc = handler.postProcess((Document) ((DOMSource) source).getNode(), request); return new DOMSource(doc); Source source = this.marshallResponse(handler.renew(request, this.context.getUserPrincipal())); return this.marshallResponse(handler.cancel(request, this.context.getUserPrincipal())); else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) return this.marshallResponse(handler.validate(request, this.context.getUserPrincipal())); else throw new WSTrustException(ErrorCodes.STS_INVALID_REQUEST_TYPE + requestType);
Source source = this.marshallResponse(handler.issue(request, this.context.getUserPrincipal())); Document doc = handler.postProcess((Document) ((DOMSource) source).getNode(), request); return new DOMSource(doc); } else if (requestType.equals(WSTrustConstants.RENEW_REQUEST)) { Source source = this.marshallResponse(handler.renew(request, this.context.getUserPrincipal())); return this.marshallResponse(handler.cancel(request, this.context.getUserPrincipal())); else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) return this.marshallResponse(handler.validate(request, this.context.getUserPrincipal())); else throw logger.stsWSInvalidRequestTypeError(requestType);
Source source = this.marshallResponse(handler.issue(request, this.context.getUserPrincipal())); Document doc = handler.postProcess((Document) ((DOMSource) source).getNode(), request); return new DOMSource(doc); } else if (requestType.equals(WSTrustConstants.RENEW_REQUEST)) { Source source = this.marshallResponse(handler.renew(request, this.context.getUserPrincipal())); return this.marshallResponse(handler.cancel(request, this.context.getUserPrincipal())); else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) return this.marshallResponse(handler.validate(request, this.context.getUserPrincipal())); else throw logger.stsWSInvalidRequestTypeError(requestType);
Source source = this.marshallResponse(handler.issue(request, this.context.getUserPrincipal())); Document doc = handler.postProcess((Document) ((DOMSource) source).getNode(), request); return new DOMSource(doc); } else if (requestType.equals(WSTrustConstants.RENEW_REQUEST)) { Source source = this.marshallResponse(handler.renew(request, this.context.getUserPrincipal())); return this.marshallResponse(handler.cancel(request, this.context.getUserPrincipal())); else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) return this.marshallResponse(handler.validate(request, this.context.getUserPrincipal())); else throw logger.stsWSInvalidRequestTypeError(requestType);