<commit_before><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:b="http://bootsfaces.net/ui"
	xmlns:p="http://xmlns.jcp.org/jsf/passthrough"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:ox="http://xmlns.jcp.org/jsf/composite/ox"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:richext="http://xmlns.jcp.org/jsf/composite/richext"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	template="/WEB-INF/incl/layout/newtemplate.xhtml">
	<f:metadata>
		<f:viewAction
			action="#{permissionService.requestPermission('uma', 'access')}" />
		<f:viewAction action="#{conversationService.initConversation}" />
		<f:viewAction action="#{passportConfigurationAction.init}"
			onPostback="false" />
	</f:metadata>
	<ui:define name="body">
		<section class="content-header">
			<h1 style="color: #333;">
				#{msg['passport.title']} <small> <i
					class="fa fa-caret-right" style="color: #333 !important;" />
					#{msg['passport.basic.configuration']}
				</small>
			</h1>
			<ol class="breadcrumb">
				<li><a href="#{request.contextPath}/home.htm"> <i
						class="fa fa-home" />
				</a></li>
				<li class="organization/configuration"><a
					href="#{request.contextPath}/passport/providers.htm">#{msg['passport.providers']}</a></li>
			</ol>
		</section>
		<section class="content">
			<div class="row">
				<div class="col-xs-12">
					<div class="box box-primary">
						<div class="box-header"></div>
						<h:form id="providerForm">
							<input type='hidden' name='cid' value='#{conversation.id}' />
							<div class="row">
								<div class="col-xs-12">
									<!-- start provider add-->
									<h:panelGroup columns="1" width="100%" id="mainContentID">
										<!-- First row-->
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<!-- First column-->
											<div class="col-sm-6 col-lg-6" style="padding: 0px;">
												<ox:decorate
													label="#{msg['passport.basicconfig.form.serverURI']}"
													leftClass="col-sm-3" rightClass="col-sm-9">
													<h:inputText styleClass="form-control ServerURIId"
														style="width:100%" required="true"
														value="#{passportConfigurationAction.configuration.serverURI}"
														id="ServerURIId" rendered="true">
														<rich:validator event="blur" />
													</h:inputText>
												</ox:decorate>
											</div>
											<!-- Second column-->
											<div class="col-sm-6 col-lg-6" style="padding: 0px;">
												<div class="row">
													<div class="col-sm-6 col-lg-6" style="margin-top: 3px;">
														<h:outputText
															style=" margin-left:25px; color:black; font-size:1em;font-weight:bold;"
															value="#{msg['passport.basicconfig.form.serverPort']}:" />
													</div>
													<div class="col-sm-6 col-lg-6" style="margin-top: -15px;">
														<b:touchSpin id="serverPortID" col-md="9" required="true"
															styleClass="rounded serverPortID" disabled="true"
															value="#{passportConfigurationAction.configuration.serverWebPort}"
															min="10" max="10000" step="1" />
													</div>
												</div>
											</div>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.postProfileEndpoint']}"
												leftClass="col-sm-3" rightClass="col-sm-9"
												id="PostProfileEndpointID">
												<h:inputText styleClass="form-control PostProfileEndpointID"
													style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.postProfileEndpoint}"
													id="PostProfileEndpointID">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.spTLSCert']}"
												leftClass="col-sm-3" rightClass="col-sm-9">
												<h:inputText styleClass="rounded form-control SpTLSCertID"
													id="SpTLSCertID" style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.spTLSCert}">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.spTLSKey']}"
												leftClass="col-sm-3" rightClass="col-sm-9">
												<h:inputText
													styleClass="rounded form-control text-centered SpTLSCertKeyID"
													id="SpTLSCertKeyID" style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.spTLSKey}">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row"
											style="margin-right: 20px; margin-left: 20px;">
											<b:panel
												title="#{msg['passport.basic.config.logging.title']}"
												look="primary" iconAwesome="fa-gear" collapsible="false">
												<div class="row"
													style="margin-left: 50px; margin-right: 5px;">
													<div class="col-sm-6 col-lg-6" style="padding: 0px;">
														<ox:decorate
															label="#{msg['passport.basicconfig.logging.form.level']}"
															leftClass="col-sm-3" rightClass="col-sm-9">
															<h:selectOneMenu
																styleClass="rounded form-control PassportLogLevelID"
																value="#{passportConfigurationAction.configuration.logging.level}"
																id="PassportLogLevelID" rendered="true">
																<f:selectItems
																	value="#{passportConfigurationAction.loggingLevels}"
																	var="_level" itemLabel="#{_level}" />
															</h:selectOneMenu>
														</ox:decorate>
													</div>
													<div class="col-sm-6 col-lg-6" style="padding: 0px;">
														<ox:decorate
															label="#{msg['passport.basicconfig.logging.form.consoleLogOnly']}"
															leftClass="col-sm-7" rightClass="col-sm-1">
															<h:selectBooleanCheckbox
																value="#{passportConfigurationAction.configuration.logging.consoleLogOnly}"
																styleClass="form-control ConsoleLogOnlyID" />
														</ox:decorate>
													</div>
												</div>

												<b:panel
													title="#{msg['passport.basic.config.logging.mq.title']}"
													look="primary" iconAwesome="fa-slack" collapsible="false">
													<div class="row"
														style="margin-left: 90px; margin-right: 5px;">
														<div class="col-sm-6 col-lg-6" style="padding: 0px;">
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.host']}"
																leftClass="col-sm-3" rightClass="col-sm-9">
																<h:inputText styleClass="form-control MQServerHostID"
																	style="width:100%"
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.host}"
																	id="MQServerHostID" rendered="true">
																	<rich:validator event="blur" />
																</h:inputText>
															</ox:decorate>
															<ox:decorate id="MQServerHostPortID"
																label="#{msg['passport.basicconfig.logging.mq.form.port']}"
																leftClass="col-sm-3" rightClass="col-sm-9">
																<rich:inputNumberSpinner
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.port}"
																	styleClass="rounded MQServerHostPortID" inputSize="4"
																	style="width:50%;" minValue="0" maxValue="10000"
																	id="MQServerHostPortID" />
															</ox:decorate>
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.enabled']}"
																leftClass="col-sm-4" rightClass="col-sm-1">
																<h:selectBooleanCheckbox
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.enabled}"
																	styleClass="form-control MQStatusID" />
															</ox:decorate>
														</div>
														<div class="col-sm-6 col-lg-6" style="padding: 0px;">
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.username']}"<commit_msg>Fix MQ port range<commit_after><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:b="http://bootsfaces.net/ui"
	xmlns:p="http://xmlns.jcp.org/jsf/passthrough"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:ox="http://xmlns.jcp.org/jsf/composite/ox"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:richext="http://xmlns.jcp.org/jsf/composite/richext"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	template="/WEB-INF/incl/layout/newtemplate.xhtml">
	<f:metadata>
		<f:viewAction
			action="#{permissionService.requestPermission('uma', 'access')}" />
		<f:viewAction action="#{conversationService.initConversation}" />
		<f:viewAction action="#{passportConfigurationAction.init}"
			onPostback="false" />
	</f:metadata>
	<ui:define name="body">
		<section class="content-header">
			<h1 style="color: #333;">
				#{msg['passport.title']} <small> <i
					class="fa fa-caret-right" style="color: #333 !important;" />
					#{msg['passport.basic.configuration']}
				</small>
			</h1>
			<ol class="breadcrumb">
				<li><a href="#{request.contextPath}/home.htm"> <i
						class="fa fa-home" />
				</a></li>
				<li class="organization/configuration"><a
					href="#{request.contextPath}/passport/providers.htm">#{msg['passport.providers']}</a></li>
			</ol>
		</section>
		<section class="content">
			<div class="row">
				<div class="col-xs-12">
					<div class="box box-primary">
						<div class="box-header"></div>
						<h:form id="providerForm">
							<input type='hidden' name='cid' value='#{conversation.id}' />
							<div class="row">
								<div class="col-xs-12">
									<!-- start provider add-->
									<h:panelGroup columns="1" width="100%" id="mainContentID">
										<!-- First row-->
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<!-- First column-->
											<div class="col-sm-6 col-lg-6" style="padding: 0px;">
												<ox:decorate
													label="#{msg['passport.basicconfig.form.serverURI']}"
													leftClass="col-sm-3" rightClass="col-sm-9">
													<h:inputText styleClass="form-control ServerURIId"
														style="width:100%" required="true"
														value="#{passportConfigurationAction.configuration.serverURI}"
														id="ServerURIId" rendered="true">
														<rich:validator event="blur" />
													</h:inputText>
												</ox:decorate>
											</div>
											<!-- Second column-->
											<div class="col-sm-6 col-lg-6" style="padding: 0px;">
												<div class="row">
													<div class="col-sm-6 col-lg-6" style="margin-top: 3px;">
														<h:outputText
															style=" margin-left:25px; color:black; font-size:1em;font-weight:bold;"
															value="#{msg['passport.basicconfig.form.serverPort']}:" />
													</div>
													<div class="col-sm-6 col-lg-6" style="margin-top: -15px;">
														<b:touchSpin id="serverPortID" col-md="9" required="true"
															styleClass="rounded serverPortID" disabled="true"
															value="#{passportConfigurationAction.configuration.serverWebPort}"
															min="10" max="10000" step="1" />
													</div>
												</div>
											</div>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.postProfileEndpoint']}"
												leftClass="col-sm-3" rightClass="col-sm-9"
												id="PostProfileEndpointID">
												<h:inputText styleClass="form-control PostProfileEndpointID"
													style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.postProfileEndpoint}"
													id="PostProfileEndpointID">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.spTLSCert']}"
												leftClass="col-sm-3" rightClass="col-sm-9">
												<h:inputText styleClass="rounded form-control SpTLSCertID"
													id="SpTLSCertID" style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.spTLSCert}">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row" style="margin-left: 5px; margin-right: 5px;">
											<ox:decorate
												label="#{msg['passport.basicconfig.form.spTLSKey']}"
												leftClass="col-sm-3" rightClass="col-sm-9">
												<h:inputText
													styleClass="rounded form-control text-centered SpTLSCertKeyID"
													id="SpTLSCertKeyID" style="width:100%" required="true"
													value="#{passportConfigurationAction.configuration.spTLSKey}">
													<rich:validator event="blur" />
												</h:inputText>
											</ox:decorate>
										</div>
										<div class="row"
											style="margin-right: 20px; margin-left: 20px;">
											<b:panel
												title="#{msg['passport.basic.config.logging.title']}"
												look="primary" iconAwesome="fa-gear" collapsible="false">
												<div class="row"
													style="margin-left: 50px; margin-right: 5px;">
													<div class="col-sm-6 col-lg-6" style="padding: 0px;">
														<ox:decorate
															label="#{msg['passport.basicconfig.logging.form.level']}"
															leftClass="col-sm-3" rightClass="col-sm-9">
															<h:selectOneMenu
																styleClass="rounded form-control PassportLogLevelID"
																value="#{passportConfigurationAction.configuration.logging.level}"
																id="PassportLogLevelID" rendered="true">
																<f:selectItems
																	value="#{passportConfigurationAction.loggingLevels}"
																	var="_level" itemLabel="#{_level}" />
															</h:selectOneMenu>
														</ox:decorate>
													</div>
													<div class="col-sm-6 col-lg-6" style="padding: 0px;">
														<ox:decorate
															label="#{msg['passport.basicconfig.logging.form.consoleLogOnly']}"
															leftClass="col-sm-7" rightClass="col-sm-1">
															<h:selectBooleanCheckbox
																value="#{passportConfigurationAction.configuration.logging.consoleLogOnly}"
																styleClass="form-control ConsoleLogOnlyID" />
														</ox:decorate>
													</div>
												</div>

												<b:panel
													title="#{msg['passport.basic.config.logging.mq.title']}"
													look="primary" iconAwesome="fa-slack" collapsible="false">
													<div class="row"
														style="margin-left: 90px; margin-right: 5px;">
														<div class="col-sm-6 col-lg-6" style="padding: 0px;">
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.host']}"
																leftClass="col-sm-3" rightClass="col-sm-9">
																<h:inputText styleClass="form-control MQServerHostID"
																	style="width:100%"
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.host}"
																	id="MQServerHostID" rendered="true">
																	<rich:validator event="blur" />
																</h:inputText>
															</ox:decorate>
															<ox:decorate id="MQServerHostPortID"
																label="#{msg['passport.basicconfig.logging.mq.form.port']}"
																leftClass="col-sm-3" rightClass="col-sm-9">
																<rich:inputNumberSpinner
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.port}"
																	styleClass="rounded MQServerHostPortID" inputSize="4"
																	style="width:50%;" minValue="0" maxValue="65535"
																	id="MQServerHostPortID" />
															</ox:decorate>
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.enabled']}"
																leftClass="col-sm-4" rightClass="col-sm-1">
																<h:selectBooleanCheckbox
																	value="#{passportConfigurationAction.configuration.logging.activeMQConf.enabled}"
																	styleClass="form-control MQStatusID" />
															</ox:decorate>
														</div>
														<div class="col-sm-6 col-lg-6" style="padding: 0px;">
															<ox:decorate
																label="#{msg['passport.basicconfig.logging.mq.form.username']}"
{'fraction_non_alphanumeric': 0.1637250348351138, 'fraction_numerical': 0.014282396655829076, 'mean_word_length': 2.206440804169769, 'pattern_counts': {'":': 0, '<': 231, '<?xml version=': 2, '>': 229, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 34}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6074621', 'n_tokens_mistral': 8911, 'n_tokens_neox': 5413, 'n_words': 696}