Friday, August 19, 2011

WHO IS

To check who is connected to server:
qwinsta /server:SERVER_IP
To disconnect user
rwinsta /server:SERVER_IP SESSION_ID

Thursday, August 4, 2011

Spring MVC

HiddenHttpMethodFilter - enable DELETE/PUT in the form

Friday, July 8, 2011

Java web services: performance comparison

http://www.ibm.com/developerworks/webservices/library/j-jws14/index.html?ca=drs-

Wednesday, June 22, 2011

Friday, June 10, 2011

MVC REST

Since spring v.3 provide REST WEBSERVICE features.
git@github.com:sirtoxy/mvcrest.git
Test and try yourself.

Wednesday, May 11, 2011

WS-Security with SOAP UI

KEYTOOL CERTIFICATE GENERATION

keytool -genkey -alias bookstoreclient -keypass keypassword -keystore client-keystore.jks -storepass b00k5t0r3 -dname "cn=bookstore" -keyalg RSA
keytool -selfcert -alias bookstoreclient -keystore client-keystore.jks -storepass b00k5t0r3 -keypass keypassword
keytool -export -alias bookstoreclient -file key.rsa -keystore client-keystore.jks -storepass b00k5t0r3
keytool -import -noprompt -alias bookstoreclient -file key.rsa -keystore server-keystore.jks -storepass b00k5t0r3

SERVER_SIGN.PROPERTIES

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=b00k5t0r3
org.apache.ws.security.crypto.merlin.file=C:\\certificates\\server-keystore.jks

CXF

<bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
<constructor-arg>
<map>
<entry key="action" value="Timestamp Signature">
<entry key="signaturePropFile" value="server_sign.properties">
</entry>
</map>
</constructor-arg>
</bean>




RESOLVE MACHINE NAME TO HOST NAME

1. Find you ID



2. Apply patch as described here

cscript.exe //nologo %systemdrive%\inetpub\adminscripts\adsutil.vbs set W3SVC/your_website_identifier_here/SecureBindings “:443:my.publicserver.com”

3. Restart IIS