test2.jsp

Emilio Penna, Martes, 5 de Enero de 2016 12:57:27 -0300

Descargar (812 Bytes)

 
1
<font size='4' color='blue'>
2
	Security Information:
3
</font><br>
4
<p>
5
6
User name: <%= request.getRemoteUser() %>.<br/>
7
Request Authenticated with: <%= request.getAuthType() %>.<br/>
8
9
<% if(request.isSecure()) { %>
10
	This connection is secure.<br/>
11
<% } else { %>
12
	This connection is not secure.<br/>
13
<% } %>
14
</p>
15
Remote Host: <%= request.getServerName() %><br/>
16
Remote Host: <%= request.getRemoteHost() %><br/>
17
Remote Addr: <%= request.getRemoteAddr() %><br/>
18
19
<H2>Atributos</H2>
20
<BR/>
21
getHeader mail: <%= request.getHeader("mail") %><br/>
22
getAttribute mail: <%= request.getAttribute("mail") %><br/>
23
getAttribute cn: <%= request.getAttribute("cn") %><br/>
24
getAttribute affiliation: <%= request.getAttribute("affiliation") %><br/>
25
getAttribute uid: <%= request.getAttribute("uid") %><br/>
26