PK sC4 META-INF/PK rC45jjMETA-INF/MANIFEST.MFManifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.5.0_03-b07 (Sun Microsystems Inc.) PK DP4WEB-INF/PK ~4WEB-INF/classes/PK ~4WEB-INF/classes/petr/PK 4J Index1.jsp<%@page contentType="text/html" session="false"%> <%@page pageEncoding="UTF-8"%> <%-- The taglib directive below imports the JSTL library. If you uncomment it, you must also add the JSTL library to the project. The Add Library... action on Libraries node in Projects view can be used to add the JSTL 1.1 library. --%> <%-- <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%> JSP Page - testovací stránka ščřščř <% java.util.Enumeration enume = request.getAttributeNames(); while (enume.hasMoreElements()) { String element = (String) enume.nextElement(); out.print(element+"
"); } %>
RemoteAddress <%= request.getRemoteAddr() %>
Cer = <%= request.getAttribute("javax.servlet.request.X509Certificate") %> VERZE 4 - JSP 1 !!

JSP Page

<%-- This example uses JSTL, uncomment the taglib directive above. To test, display the page like this: index.jsp?sayHello=true&name=Murphy --%> <%-- Hello ${param.name}! --%> PK sC4|ʖ "WEB-INF/classes/petr/CDJAXWS.class1 )G (H IJK LMNOP Q RS T UV UWXY G Z[ \] ^C_ `a bcdefg hi jk l mn opqrcontext Ljavax/xml/ws/WebServiceContext;RuntimeVisibleAnnotationsLjavax/annotation/Resource;()VCodeLineNumberTableLocalVariableTablethisLpetr/CDJAXWS;hello3&(Ljava/lang/String;)Ljava/lang/String;elementLjava/lang/String;namemc%Ljavax/xml/ws/handler/MessageContext;sr'Ljavax/servlet/http/HttpServletRequest;attrsLjava/lang/StringBuffer;enumeLjava/util/Enumeration;cert%[Ljava/security/cert/X509Certificate; SourceFile CDJAXWS.javaLjavax/jws/WebService; ./ *+s tujavax.xml.ws.servlet.requestv wx%javax/servlet/http/HttpServletRequestjava/lang/StringBuffer .y z{9getAttributeNames() BEFORE getting a client certificate : |}~  java/lang/Stringjava/lang/StringBuilder |; %javax.servlet.request.X509Certificate  ;CERT509=  !;CERT509=null nebo nulova delka !:; getAttributeNames() AFTER getting a client certificate :)This is the return value from hello3 for  from the address  with the certificate :: | ; isSecure : | ; remoteUser :  ; buffer= petr/CDJAXWSjava/lang/Objectjavax/xml/ws/WebServiceContextgetMessageContext'()Ljavax/xml/ws/handler/MessageContext;#javax/xml/ws/handler/MessageContextget&(Ljava/lang/Object;)Ljava/lang/Object;(Ljava/lang/String;)VgetAttributeNames()Ljava/util/Enumeration;append,(Ljava/lang/String;)Ljava/lang/StringBuffer;java/util/EnumerationhasMoreElements()Z nextElement()Ljava/lang/Object;-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String; getAttribute&(Ljava/lang/String;)Ljava/lang/Object;"java/security/cert/X509Certificate getIssuerDN()Ljava/security/Principal;java/security/PrincipalgetName getRemoteAddr-(Ljava/lang/Object;)Ljava/lang/StringBuilder;isSecure(Z)Ljava/lang/StringBuilder; getRemoteUser!()*+,-./0/*1 2 34560C*M,NY :- : W ,:Y W-:0*Y2 W  W- : W ,:Y WлY+- !"-#$%-&'!1N !)1;Gad"t#$&'()*+-2\ G7878C34C98 9:;-<=!">?)@AtBCDE,FPK ~4 (WEB-INF/sun-web.xml /JAXWSCD Enable debug info compilation in the generated servlet class Maintain a one-to-one correspondence between static content and the generated servlet class' java code PK DP4aإnnWEB-INF/web.xml 30 index.jsp SecurityConstraint WRCollection /CDJAXWSService POST GET CONFIDENTIAL CLIENT-CERT WRCollection PK Kh4[ٜ index.jsp<%@page contentType="text/html" session="false"%> <%@page pageEncoding="UTF-8"%> <%-- The taglib directive below imports the JSTL library. If you uncomment it, you must also add the JSTL library to the project. The Add Library... action on Libraries node in Projects view can be used to add the JSTL 1.1 library. --%> <%-- <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%> JSP Page - testovací stránka ščřščř <% java.util.Enumeration enume = request.getAttributeNames(); while (enume.hasMoreElements()) { String element = (String) enume.nextElement(); out.print(element+"
"); } %>
RemoteAddress <%= request.getRemoteAddr() %>
Cer = <%= request.getAttribute("javax.servlet.request.X509Certificate") %> VERZE 4

JSP Page

<%-- This example uses JSTL, uncomment the taglib directive above. To test, display the page like this: index.jsp?sayHello=true&name=Murphy --%> <%-- Hello ${param.name}! --%> PK sC4 AMETA-INF/PK rC45jj+META-INF/MANIFEST.MFPK DP4AWEB-INF/PK ~4AWEB-INF/classes/PK ~4AWEB-INF/classes/petr/PK 4J NIndex1.jspPK sC4|ʖ "WEB-INF/classes/petr/CDJAXWS.classPK ~4 (,WEB-INF/sun-web.xmlPK DP4aإnn&WEB-INF/web.xmlPK Kh4[ٜ index.jspPK q