Author: isuru Date: Tue Jan 27 23:09:58 2009 New Revision: 29765 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=29765
Log: doc update Modified: trunk/wsas/java/modules/distribution/src/site/xdoc/sts_guide.xml Modified: trunk/wsas/java/modules/distribution/src/site/xdoc/sts_guide.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/distribution/src/site/xdoc/sts_guide.xml?rev=29765&r1=29764&r2=29765&view=diff ============================================================================== --- trunk/wsas/java/modules/distribution/src/site/xdoc/sts_guide.xml (original) +++ trunk/wsas/java/modules/distribution/src/site/xdoc/sts_guide.xml Tue Jan 27 23:09:58 2009 @@ -18,33 +18,40 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> - <head></head> <body> <h1>Security Service Token Sample Guide</h1> <p>In this sample we will demonstrate the usage of wso2wsas-sts service and its applications. - The demonstration of this sample also uses the default echo service as the service provider. </p> + The demonstration of this sample also uses the default echo service as the service provider. + </p> <h2>HOW TO BUILD AND RUN THE SAMPLE</h2> - <ol> + <ol type="1"> <li>Setup the sample by running the given Apache Ant build. $ ant</li> + <li>Start WSO2 WSAS (If you haven't already started it)</li> <li>Log into WSO2 WSAS administration console.</li> - <li>Select "wso2wsas-sts" service and setup security scenario #3 on it. - Make sure wso2wsas.jks keystore (WSO2WSAS keystore) is used</li> - <li>Select "echo" service and copy the http service address. - Select "wso2wsas-sts" service and navigate to STS Configuration. - Paste/type the http endpoint address of "echo" service in - "Add new trusted service"->"Endpoint Address" - Select the WSO2WSAS private key's certificate alias (wso2wsas)</li> - <li>Select echo service and setup security scenario #12 on it. - Makesure wso2wsas.jks keystore (WSO2WSAS keystore) is used.</li> + <li>Select "wso2wsas-sts" service and setup security scenario "Sign and encrypt - X509 + Authentication; on it. + Make sure wso2wsas.jks keystore (WSO2WSAS keystore) is used + </li> + <li>Select "HelloService" service and copy the http service address. + Select "wso2wsas-sts" service and navigate to STS Configuration. + Paste/type the http endpoint address of "HelloService" service in + "Add new trusted service"->"Endpoint Address" + + Select the WSO2WSAS private key's certificate alias (wso2wsas) + </li> + <li>Select Hello Service and setup security scenario "SecureConversation - Sign and Encrypt - Service + as STS - Bootstrap policy - Sign and Encrypt , X509; Authentication on it. + Makesure wso2wsas.jks keystore (WSO2WSAS keystore) is used. + </li> <li>Upload sts-sample/conf/client.cert into the wso2wsas keystore using the - WSO2WSAS admin console.</li> + WSO2WSAS admin console. + </li> <li>Run client - $ ./run-client.sh <wso2wsas-sts-http-address> <echo-service-http-address> - OR - run-client.bat <wso2wsas-sts-http-address> <echo-service-http-address></li> - </ol> + $ ./run-client.sh <wso2wsas-sts-http-address> <hello-service-http-address> + OR + run-client.bat <wso2wsas-sts-http-address> <hello-service-http-address></li> + </ol> </body> - </html> \ No newline at end of file _______________________________________________ Wsas-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
