User:Yoursunday
- Private network
- Provider-aggregatable address space
- Provider-independent address space
- Regional Internet Registry
- Subnet address
- Virtual IP address
- WHOIS
Notes
[edit]- Comer, Douglas (2000). Internetworking with TCP/IP:Principles, Protocols, and Architectures --4th ed. Upper Saddle River, NJ: Prentice Hall. ISBN 0-13-018380-6.
External links
[edit]Oxford University[1],type of citation:web page from a University, Oxford University[2], Oxford University[3], Oxford University[4], Oxford University[5]http://www.foo.com/bar http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>John</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Alen Lo,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Alen Lo-keystore client ks-keyaly RSA mother Earth[[File:[6]]]client-ks-pass unknown:Alen Lo unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Alen Lo return keystore Alen Lo pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Alen Lo-keystore client.ks-file Alen Lo CsR keystore:114 client-ks-pass <Alen Lo> Alen Lo-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensselx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Alen Lo org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifier equal ignore case(Alen Lo)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Alen Lo123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get currnt context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>john</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Alan Au,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Alan Au-keystore client ks-keyaly RSA mother Earth[[File:[7]]]client-ks-pass unknown:Alan Au unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Alan Au return keystore Alan Au pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Alan Au-keystore client.ks-file Alan Au CsR keystore:114 client-ks-pass <Alan Au> Alan Au-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensselx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Alan Au org.apache.ws.security.crypto.provider-proved or signature org.apache.ws sceurity.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Alan Au)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Alan Au123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get currnt context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>john</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Terry Cheung,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Terry Cheung-keystore client ks-keyaly RSA mother Earth[[File:[8]]]client-ks-pass unknown:Terry Cheung unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Terry Cheung return keystore Terry Cheung pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Terry Cheung-keystore client.ks-file Terry Cheung CsR keystore:114 client-ks-pass <Terry Cheung> Terry Cheung-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensselx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Terry Cheung org.apache.ws.security.crypto.provider-proved or signature org.apache.ws sceurity.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Terry Cheung)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Terry Cheung123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get currnt context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>john</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Eric Chan,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Eric Chan-keystore client ks-keyaly RSA mother Earth[[File:[9]]]client-ks-pass unknown:Eric Chan unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Eric Chan return keystore Eric Chan pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Eric Chan-keystore client.ks-file Eric Chan CsR keystore:114 client-ks-pass <Eric Chan> Eric Chan-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensselx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Eric Chan org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Eric Chan)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Eric Chan123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get currnt context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>john</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Gary Chan,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Gary Chan-keystore client ks-keyaly RSA mother Earth[[File:[10]]]client-ks-pass unknown:Gary Chan unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Gary Chan return keystore Gary Chan pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Gary Chan-keystore client.ks-file Gary Chan CsR keystore:114 client-ks-pass <Gary Chan> Gary Chan-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensselx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Gary Chan org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Gary Chan)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Gary Chan123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get currnt context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>john</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Jaker,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Jaker keystore client ks-keyaly RSA mother Earth[[File:[11]]]client-ks-pass unknown:Jaker unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Jaker return keystore Jaker pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Jaker-keystore client.ks-file Jaker CsR keystore:114 client-ks-pass <Jaker> Jaker-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensslx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\operssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Jaker org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Jaker)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Jaker123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get current context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org http://localhost//localhost:8080//
c:axis-13/webapps/axis"path="axis>http://Javasun.com/products/Javabeans/
//<class,name form 1A<1 name><teacher>John</teacher><student>student 1<\student>stringuntils concat</method>substring</method>name space xmlns:school class=http://cpttm.org.schoolclass java:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema.generate XML file http://www.ttdev.com.simpleservice end imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org
http://localhost:8080/axis/services simple service
http://localhost:8080/axis/services/simpleservicesoap
c:\Tomcat5.5\bin>setJPDAaddress:8080
c:\documents and setting\administration\wor generate-service-stub
CN=Fentou Sou,oll=Cyberlab,O=CPTTM,C=Macau,C=China
c:\cd.keys
c:\keys>key.cool-genkey-alias Fentou Sou-keystore client ks keyaly RSA
[[earth\mother
Earth]][[File:[12]]]client-ks-pass
unknown:Fentou Sou
unknown:Cyberlab
unknown:CPTTM
unknown:Macau
unknown:CN
(yes)Fentou Sou return keystore Fentou Sou pass
c:keys>keytool-list-keystore client ks
keystore:114
c:keys>keytool-cert req-alias Fentou Sou-keystore client.ks Fentou Sou CsR
keystore:114 client-ks-pass<Fentou Sou>Fentou Sou-pass
c:\documents and setting\administrator>cc\
c:\CA>set randfile=rand
c:\CA>
c:\CA>openssl req-new-keyout cakey.pen-out carq.pem
enter pem pass phrase
c:\CA>opensslx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\openssl\bin\operssl cof-extension.u
c:\CA
c:\CA>opensslx509-days365-CA cacert.pem-cakey pem caserial
c:\ca>echo 02>serial txt
c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks
c:\keys>keytool-list-u
c:\key
call.set property action signature call.setproperty user Fentou Sou
org.apache.ws.security.crypto.provider-proved or signature org.apache.ws
security.components.crypte.provider=org.apache.ws
c:keys\client.ks callback.get identifer equal ignore case(Fentou Sou)("must understand",,"1")system.out.println(>LiNI44M4S) namespace(Java)type Fentou Sou123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service>service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){
essage context=message contexttants get current context context.get property( ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecurity,if action result.get action=ws constants.sign.get principal,principal principe=action result
c:keys>set path=%path:
c:\program files\Java\jdkl50_04\bin
c:\keys>keytool-genkey-alias secureservice
c:keys>cd\CA
c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req.ds365-in
c:\key\secure service CSR windows
c:keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis">http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name><teacher>John</teacher><student>student 1<\student>stringuntils concat</method>substring</method>name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex.school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple.service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDA address:8080 c:\documents and setting\administration\wor generate-service-stub CN=Joan Lou,oll=Head office,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Joan Lou-keystore client ks-keyalyRSA [[earth\mother Earth]][[File:[13]]]client-ks-pass unknown:Joan Lou unknown:Head office unknown:CPTTM unknown:Macau unknown:CN (yes)Joan Lou return keystore Joan Lou pass c:\keys>keytool-list-keystore client ks keystore:114 c:\key>keytool-cert req-alias Joan Lou-keystore client.ks-file Joan Lou CsR keystore:114 client-ks-pass<Joan Lou>Joan Lou-pass c:documents and setting\administrator>cc\ c:CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensslx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\operssl\bin\operssl cof-extensions.u c:\CA c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:\keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Joan Lou org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:\keys/client.ks callback.get identifer equal ignore case(Joan Lou)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java)type Joan Lou123 binld file successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service>service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get current context context property(ws radler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecurity,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\key>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd/CA c:\CA>opensslx509 ca cacert pen-cakey pem caserieal serial.txt req.ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
http://cpttm.org/ http://localhost:8080// c:axis-13/webapps/axis"path="axis"> http://Javasun.com/products/Javabeans/ //<class,name form 1A<1 name> <teacher>John</teacher><student>student 1<\student> stringuntils concat</method> substring</method> name space xmlns:school class=http://cpttm.org.schoolclass java class:class xmlns:Java class="http://cpttm.org/Javaclass solving naming conflick XML schema validate XMM www.w3.org/2001XMLschema set type/new complex. school class XML,generate XML file http://www.ttdev.com.simpleservice end poit imput/output Message&part XSD http://cpttm.org/simpleservice http://www.exemple.org http://localhost:8080/axis/services simple service http://localhost:8080/axis/services/simpleservicesoap c:\Tomcat5.5\bin>setJPDAaddress:8080 c:\documents and setting\administration\wor generate-service-stub CN=Tong ken,oll=Cyberlab,O=CPTTM,C=Macau,C=China c:\cd.keys c:\keys>key.cool-genkey-alias Tong Ken keystore client ks-keyaly RSA mother Earth[[File:[14]]]client-ks-pass unknown:Tong Ken unknown:Cyberlab unknown:CPTTM unknown:Macau unknown:CN (yes) Tong Ken return keystore Tong Ken pass c:\keys>keytool-list-keystore client ks keystore:114 c:keys>keytool-cert req-alias Tong ken-keystore client.ks-file Tong Ken CsR keystore:114 client-ks-pass <Tong Ken> Tong Ken-pass c:\documents and setting\administrator>cc\ c:\CA>set randfile=rand c:\CA> c:\CA>openssl req-new-keyout cakey.pen-out carq.pem enter pem pass phrase c:\CA>opensslx509-keys365-signkey cake pen-req-in careq pem-out cacert pem=ext file c:\operssl\bin\operssl cof-extensions.u c:\CA> c:\CA>opensslx509-days365-CA cacert.pem-cakey cakey pem caserial c:\ca>echo 02>serial txt c:keys\keytool-import-alias testca-file c:\ca\cacert.pem keystore client ks c:\keys>keytool-list-u c:\key call.set property action signature call.setproperty user Tong Ken org.apache.ws.security.crypto.provider-proved or signature org.apache.ws security.components.crypte.provider=org.apache.ws c:keys/client.ks callback.get identifer equal ignore case(Tong Ken)("must understand",,"1")system.out.println(>LiNI44M4S)reader string password reader=new bufferedreader.new secure service soap imput:(>LiNI44M4S) namespace(Java) type Tong Ken123 binld file biuld successful call setproperty secure soap service stub call.set client handlets secure service client config.wsdd wsdd deployment handler</service> service.setproperty.ws parameter name=action.value-signature name signature prop file value call.set port name(new Q name=client("http://ttdev.com S secure service soap") return s1+s2 private void check user(){ essage context=message contexttants get current context context.get property(ws randler.cons/Recv resoluts vector handler result=(vector) context for iterator item=wshandlerresult receiver checkuserd:vector action result=handlerresult getresults wssecurity engineresult action result=wssecuritys,if action result.get action=ws constants.sign,get principal,principal principe=action result c:\keys>set path=%path: c:\program files\Java\jdkl 50_04\bin c:\keys>keytool-genkey-alias secureservice c:keys>cd\CA c:\CA>opensslx509 ca cacert pen-cakey cakey pem caserieal serial.txt req. ds365-in c:\key\secure service CSR windows c:\keys>keytool-import alias secureservice-keystore c:client-ks file secure service.cer keystore.client-ks-pass
References
[edit]- ^ ISBN-0226816265
- ^ ISBN-0199244995
- ^ ISBN-0195068947
- ^ ISBN-0195134230
- ^ ISBN-0198605641
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S
- ^ Example.jpg,password:>LiNI44M4S