show-sp-config.xhtml 4.31 KB
Newer Older
michael.simon's avatar
michael.simon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:bw="http://www.scc.kit.edu/bwfacelets"
	xmlns:p="http://primefaces.org/ui">
<head>
<title></title>
</head>
<body>
<f:view>
	<f:metadata>
		<f:viewParam name="id" value="#{showSamlSpConfigurationBean.id}"/>
		<f:event type="javax.faces.event.PreRenderViewEvent"
            listener="#{showSamlSpConfigurationBean.preRenderView}" />
	</f:metadata>

<ui:composition template="/template/default-admin.xhtml">
	<ui:param name="title" value="#{messages.title}"/>

	<ui:define name="content">
	<h:form id="form">
		<h2><h:outputText value="#{messages.sp_config}: #{showSamlSpConfigurationBean.entity.entityId}"/></h2>
	
		<div id="panelInline">
			<p:panel header="#{messages.sp_config}">
				<p:panelGrid id="baseData" columns="2">
				
			        <h:outputText value="#{messages.id}:"/>
			        <h:outputText value="#{showSamlSpConfigurationBean.entity.id}"/>
			
			        <h:outputText value="#{messages.entity_id}:"/>
			        <h:outputText value="#{showSamlSpConfigurationBean.entity.entityId}"/>
		
			        <h:outputText value="#{messages.acs_endpoint}:"/>
			        <h:outputText value="#{showSamlSpConfigurationBean.entity.acs}"/>
		
			        <h:outputText value="#{messages.ecp_endpoint}:"/>
			        <h:outputText value="#{showSamlSpConfigurationBean.entity.ecp}"/>
		
			        <h:outputText value="#{messages.host_names}:"/>
					<ui:repeat var="host" value="#{showSamlSpConfigurationBean.entity.hostNameList}">
						<h:outputText value="#{host}" /><br/>
					</ui:repeat>
		
					<h:outputLabel for="certinfo1" value="#{messages.cert_dn}:"/>
					<h:outputText id="certinfo1" value="#{showSamlSpConfigurationBean.certificate.subjectDN}"/>
		
					<h:outputLabel for="certinfo2" value="#{messages.cert_issuer}:"/>
					<h:outputText id="certinfo2" value="#{showSamlSpConfigurationBean.certificate.issuerDN}"/>
					
					<h:outputLabel for="certinfo3" value="#{messages.valid_from}:"/>
					<h:outputText id="certinfo3" value="#{showSamlSpConfigurationBean.certificate.notBefore}"/>
					
					<h:outputLabel for="certinfo4" value="#{messages.valid_to}:"/>
					<h:outputText id="certinfo4" value="#{showSamlSpConfigurationBean.certificate.notAfter}"/>
					
					<h:outputLabel for="certificate" value="#{messages.certificate}:"/>
					<h:outputText id="certificate" styleClass="pretext"
		       	    		value="#{showSamlSpConfigurationBean.entity.certificate}"/>
					
					<h:outputLabel for="private_key" value="#{messages.private_key}:"/>
					<h:outputText id="private_key" styleClass="pretext"
		            		value="#{showSamlSpConfigurationBean.entity.privateKey}"/>
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

					<h:outputLabel for="certinfo5" value="#{messages.cert_dn}:"/>
					<h:outputText id="certinfo5" value="#{showSamlSpConfigurationBean.standbyCertificate.subjectDN}"/>
		
					<h:outputLabel for="certinfo6" value="#{messages.cert_issuer}:"/>
					<h:outputText id="certinfo6" value="#{showSamlSpConfigurationBean.standbyCertificate.issuerDN}"/>
					
					<h:outputLabel for="certinfo7" value="#{messages.valid_from}:"/>
					<h:outputText id="certinfo7" value="#{showSamlSpConfigurationBean.standbyCertificate.notBefore}"/>
					
					<h:outputLabel for="certinfo8" value="#{messages.valid_to}:"/>
					<h:outputText id="certinfo8" value="#{showSamlSpConfigurationBean.standbyCertificate.notAfter}"/>
					
					<h:outputLabel for="certificate9" value="#{messages.certificate}:"/>
					<h:outputText id="certificate9" styleClass="pretext"
		       	    		value="#{showSamlSpConfigurationBean.entity.standbyCertificate}"/>
					
					<h:outputLabel for="private_key2" value="#{messages.private_key}:"/>
					<h:outputText id="private_key2" styleClass="pretext"
		            		value="#{showSamlSpConfigurationBean.entity.standbyPrivateKey}"/>
michael.simon's avatar
michael.simon committed
87
88
89
90
91
92
93
94
95
96
97
98
99
100
				</p:panelGrid>
		<h:link outcome="edit-sp-config.xhtml" value="#{messages.edit}">
			<f:param name="id" value="#{showSamlSpConfigurationBean.entity.id}"/>
		</h:link>
		
		</p:panel>
	</div>
	</h:form>

	</ui:define>
</ui:composition>
</f:view>		
</body>
</html>