锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲宅男永久在线,2019亚洲午夜无码天堂,亚洲国产日韩精品http://www.tkk7.com/happyy2k/archive/2009/04/30/268265.htmlhappyy2khappyy2kWed, 29 Apr 2009 18:57:00 GMThttp://www.tkk7.com/happyy2k/archive/2009/04/30/268265.htmlhttp://www.tkk7.com/happyy2k/comments/268265.htmlhttp://www.tkk7.com/happyy2k/archive/2009/04/30/268265.html#Feedback6http://www.tkk7.com/happyy2k/comments/commentRss/268265.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/268265.html闃呰鍏ㄦ枃
]]>- 浣跨敤JMX-Adaptor 榪滅▼榪炴帴Tomcathttp://www.tkk7.com/happyy2k/archive/2009/04/24/267263.htmlhappyy2khappyy2kThu, 23 Apr 2009 20:34:00 GMThttp://www.tkk7.com/happyy2k/archive/2009/04/24/267263.htmlhttp://www.tkk7.com/happyy2k/comments/267263.htmlhttp://www.tkk7.com/happyy2k/archive/2009/04/24/267263.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/267263.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/267263.html闃呰鍏ㄦ枃

]]> - 浣跨敤Tomcat鐨刯mx鏈嶅姟http://www.tkk7.com/happyy2k/archive/2009/04/22/266881.htmlhappyy2khappyy2kTue, 21 Apr 2009 21:30:00 GMThttp://www.tkk7.com/happyy2k/archive/2009/04/22/266881.htmlhttp://www.tkk7.com/happyy2k/comments/266881.htmlhttp://www.tkk7.com/happyy2k/archive/2009/04/22/266881.html#Feedback1http://www.tkk7.com/happyy2k/comments/commentRss/266881.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/266881.html闃呰鍏ㄦ枃

]]> - 涓嬭澆Google Gadget 鐨勬柟娉?/title>http://www.tkk7.com/happyy2k/archive/2008/11/15/240627.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:25:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/240627.htmlhttp://www.tkk7.com/happyy2k/comments/240627.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/240627.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/240627.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/240627.html闃呰鍏ㄦ枃

]]> - 緙栧啓User Token Authentication 鐨?WS-Security client http://www.tkk7.com/happyy2k/archive/2008/11/15/116076.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:08:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/116076.htmlhttp://www.tkk7.com/happyy2k/comments/116076.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/116076.html#Feedback2http://www.tkk7.com/happyy2k/comments/commentRss/116076.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/116076.html濡傛灉鐢╔Fire 瀹炵幇WS-Secuiry 鍦?a >http://xfire.codehaus.org/WS-Security
涓嬮潰璇磋濡備綍鍐機(jī)lient 鍘?璋冪敤User Token Authentication 鐨?WS-Security.
1.鐢╔fire 鏍規(guī)嵁WSDL 鍘葷敓鎴?Client stub.
閫氬父,鐢╡clipse鐨刋Fire plug-in, 閲岄潰鏈変竴涓狢ode generation from WSDL document鐨刉izard.鐢熸垚鐨刯ava鏂囦歡閲岄氬父鏈墄xxxServiceClient.java xxxxServcie.java xxxxServiceImpl.java 絳夋枃浠?
濡傛灉涓嶈冭檻WS-Security Client code 寰堝鏄撳啓
渚嬪:
xxxxServiceClient service = new xxxxxServiceClient();
xxxxService client = service.getxxxServiceHttpPort("http://localhost:8080/services/xxxxService");
2. 鍔燱S-Security
鏈濂戒笉瑕佹敼XFire 鐢熸垚鐨勬枃浠? 鑰屾槸鍦ㄨ嚜宸辯殑璋冪敤紼嬪簭閲屽鍔?榪欐牱灝嗘潵WSDL鏀瑰彉, 鍙互鍦ㄧ敤XFire 鐢熸垚Code 鑰屼笉褰卞搷鑷繁鐨勭▼搴?br />
xxxxServiceClient service = new xxxServiceClient();
xxxxService client = service.getxxxxServiceHttpPort("http://localhost:8080/services/xxxxService");
addWSSecurity(stallInfoClient);
public void addWSSecurity(StallInfoService stallInfoService)
{
Client client = org.codehaus.xfire.client.Client.getInstance(stallInfoService);
client.addOutHandler(new DOMOutHandler());
Properties properties = new Properties();
configureOutProperties(properties);
WSS4JOutHandler wss4jOutHandler = new WSS4JOutHandler(properties);
Map props = wss4jOutHandler.getProperties();
PasswordHandler pwdHandler = new PasswordHandler();
pwdHandler.setPassword(password);
props.put(WSHandlerConstants.PW_CALLBACK_REF, pwdHandler);
wss4jOutHandler.setProperties(props);
client.addOutHandler(wss4jOutHandler);
}
protected void configureOutProperties(Properties config)
{
// Action to perform : user token
config.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN);
// Password type : plain text
config.setProperty(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
// for hashed password use:
//properties.setProperty(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_DIGEST);
// User name to send
config.setProperty(WSHandlerConstants.USER, username);
}
public class PasswordHandler implements CallbackHandler {
private String password = " ";
public PasswordHandler() { }
public void setPassword(String password) {
this.password = password;
}
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
WSPasswordCallback pc = (WSPasswordCallback) callbacks[0];
String uid = pc.getIdentifer();
pc.setPassword(password);
}
}
褰撲嬌鐢?font style="color: #000000" color="#7f0055">WSHandlerConstants.PW_CALLBACK_REF Xfire 鏈夌己闄? 濡傛灉涓嶆墜鍔ㄦ妸 passwordhandler 鍔犲叆wss4jOutHandler鐨刾roperties閲? 灝嗘潵鏄疿Fire鏃犳硶璋冪敤鑷繁鐨刾asswordhandler鍙橀噺, WSHandlerConstants.PW_CALLBACK_CLASS 娌℃湁榪欎釜闂.
閫氳繃榪欑鏂規(guī)硶,Client 灝變細(xì)鍦⊿OAP request 鍔犲叆 security head.
<soap:Envelope xmlns:soap="
<soap:Header>
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-26235040" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">username
</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">password
</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<GetRequest xmlns="....">11</GetRequest>
</soap:Body>
</soap:Envelope>

]]>- DOS Herehttp://www.tkk7.com/happyy2k/archive/2008/11/15/119287.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:08:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/119287.htmlhttp://www.tkk7.com/happyy2k/comments/119287.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/119287.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/119287.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/119287.html
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box]
@="DOS Here"

[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box\command]
@=hex(2):43,00,4d,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,4b,00,20,00,43,\
00,44,00,20,00,25,00,31,00,00,00
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box]
@="DOS Here"

[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box\command]
@=hex(2):43,00,4d,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,4b,00,20,00,43,\
00,44,00,20,00,25,00,31,00,00,00


]]> - 鐢↗ava Web Start 鐨勭粡楠?/title>http://www.tkk7.com/happyy2k/archive/2008/11/15/116349.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:07:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/116349.htmlhttp://www.tkk7.com/happyy2k/comments/116349.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/116349.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/116349.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/116349.htmlJava Web Start 瀛︿範(fàn) 姝eソ鑷繁涔熷啓浜?jiǎn)涓涓狫ava Application, 鑰屽悓浜嬫槸鐢∕ac,浠栦笉澶細(xì)璁緅ava 鐜, 浜庢槸鍐沖畾鎶婅嚜宸辯殑application 鏀懼湪server 涓? 鐢↗ava Web Start 鎶鏈?榪欐牱灝辨柟渚垮埆浜轟嬌鐢?
1.keystore鐨勬湁鏁堟椂闂?br>
keytool -genkey -keystore myKeystore -alias jwstest -validity 365
鐢?-validity valDays 鏉ヨ瀹? 緙虹渷鐨勬槸 6涓湀
2.Sign Jar鏂囦歡
jarsigner -keystore myKeystore -storepass xxxx yourtest.jar jwstest
鐩存帴鐢?storepass 浼爌assword 緇檍arsigner, 涓嶉渶瑕佹瘡嬈″崟鐙緭鍏? 寰堥傚悎鍋氭壒澶勭悊,瀵瑰涓狫ar涓璧穝ign. 鍥犱負(fù)鐢↗WS,鎵浠ュ紩鐢ㄧ殑Jar閮介渶瑕丼ign.
3. 寮曠敤鐨勫凡緇忚鍒漢Sign 榪囩殑Jar
濡傛灉涓嶇壒孌婂鐞?鍙兘浼?xì)閬囧?Exception
JAR resources in JNLP file are not signed by same certificate
楠岃瘉JAR 鏄笉鏄凡緇忚sign 鍙互鐢?verfiy榪欎釜鍛戒護(hù)
jarsigner -certs -verbose -verify yourtest.jar
閫氬父瑙e喅鐨勫姙娉曟槸鎶婅繖涓猄ign榪囩殑JAR 鍐欐垚鍗曠嫭鐨凧NLP, 鐒跺悗鍦ㄨ嚜宸辯殑涓籎NLP涓紩鐢ㄥ畠

<?xml version="1.0" encoding="UTF-8"?>

<jnlp spec="1.0+" codebase="http://localhost:8080/webstart/" href="signedjar.jnlp">

<information>

<title>Signed Jar</title>

<vendor>ABC Company</vendor>

<offline-allowed/>

</information>

<offline-allowed/>
<resources>
<jar href="signed.jar"/>
</resources>

<component-desc/>

</jnlp>

鍙傝冪綉绔?
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/contents.html
http://weblogs.java.net/blog/kirillcool/archive/2005/05/signing_jars_fo.html

]]> - 杞崲 xs:date 鍒?java.util.Date 鐨凾ipshttp://www.tkk7.com/happyy2k/archive/2008/11/15/119862.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:06:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/119862.htmlhttp://www.tkk7.com/happyy2k/comments/119862.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/119862.html#Feedback2http://www.tkk7.com/happyy2k/comments/commentRss/119862.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/119862.html闃呰鍏ㄦ枃

]]> - 鍏充簬Acegi 澧炲姞portmapping 鐨勬柟娉?/title>http://www.tkk7.com/happyy2k/archive/2008/11/15/130951.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:06:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/130951.htmlhttp://www.tkk7.com/happyy2k/comments/130951.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/130951.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/130951.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/130951.html443 443->80 8080->8443 8443->8080 ... 闃呰鍏ㄦ枃

]]> - 寮哄埗瑕佹眰鍘嬬緝 Response 鐨?媯(gè)嫻?/title>http://www.tkk7.com/happyy2k/archive/2008/11/15/151909.htmlhappyy2khappyy2kFri, 14 Nov 2008 23:05:00 GMThttp://www.tkk7.com/happyy2k/archive/2008/11/15/151909.htmlhttp://www.tkk7.com/happyy2k/comments/151909.htmlhttp://www.tkk7.com/happyy2k/archive/2008/11/15/151909.html#Feedback0http://www.tkk7.com/happyy2k/comments/commentRss/151909.htmlhttp://www.tkk7.com/happyy2k/services/trackbacks/151909.html闃呰鍏ㄦ枃

]]>
主站蜘蛛池模板:
婷婷亚洲综合一区二区|
亚洲精品美女网站|
中文字幕无码日韩专区免费|
www.亚洲精品.com|
一级午夜a毛片免费视频|
亚洲成?Ⅴ人在线观看无码|
免费的黄色的网站|
亚洲一区二区三区影院|
男人j进入女人j内部免费网站|
亚洲av午夜成人片精品网站
|
亚洲黄色高清视频|
久久午夜无码免费|
亚洲妇女水蜜桃av网网站|
一二三四视频在线观看中文版免费|
亚洲第一成人在线|
免费无码黄动漫在线观看|
边摸边吃奶边做爽免费视频网站
|
成人无码区免费A片视频WWW|
男女免费观看在线爽爽爽视频|
色在线亚洲视频www|
日本久久久免费高清|
人人爽人人爽人人片av免费|
亚洲精品午夜无码电影网|
三年片在线观看免费大全电影|
亚洲最大的视频网站|
国产免费人成视频在线观看|
香蕉视频在线免费看|
亚洲午夜精品一区二区公牛电影院|
午夜两性色视频免费网站|
丁香花在线观看免费观看图片
|
无码精品一区二区三区免费视频|
亚洲另类自拍丝袜第1页|
国产一区二区三区免费视频|
最新亚洲成av人免费看|
亚洲香蕉在线观看|
精品国产亚洲一区二区在线观看|
最近免费中文字幕大全免费版视频|
亚洲av永久中文无码精品|
亚洲成在人线av|
国产禁女女网站免费看|
一级成人a毛片免费播放|