Createur bijoux - VENTE speciale fetes...
Si cette page ne s'affiche pas correctement, cliquez ici. GERALDINE VALLUET - 5 rue Houdon - 75018 Paris - Tél.: 00(33)1 42.52.29.63 - Métro : Pigalle (ligne 2 et 12) Ouverture du lundi au samedi de 10h à 20h - Dimanche de 14h à 20h - Fermé : dimanche matin et jours fériés © 2008. Géraldine Valluet . Tous droits réservés. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=984449
Re: Restlet firstResourceServlet example
Hello, as said in the tutorial, this application supports 2 resources with the following URIs: * http://localhost:8182/firstResourceServlet/items : URI of the "items" resource. * http://localhost:8182/firstResourceServlet/items/{itemName} : URI of the "item" resource where {itemName} represents the name of an item. You can follow the tutorial in order to see how to handle these two URIs (especially in the part called "The client application"). Having said that, I recognize there is a kind of confusion in the tutorial. The name of the application is basically the name of the war file (because we are using the default configuration of Tomcat), that is to say in our case "firstResourceServlet". But in the tutorial, the URIs are starting with "http://localhost:8182/firstResource/items";. I'll fix it. best regards, Thierry Boileau > Could any one tell me what i did wrong? I deployed the extracted > firstResourceServlet.war file (no change) to tomcat 6.0.18, it reported error > as: > > resource /firstResourceServlet not found? > > thanks > > -- > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=983847 > > -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=984456
wolverine trailer
http://www.videocodezone.com/users/barcelo-bavaro-casin6/>barcelo bavaro casino beach res http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Y2FzaW5vK3Nsb3QrZ2FtZXMrY29t>casino slot games com http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9c2xvdHMrY29tK3Jldmlldw__>slots com review http://www.videocodezone.com/users/free-chip-no-deposit0/>free chip no deposit casinos http://www.videocodezone.com/users/ruby-bingo-casinos6/>ruby bingo casinos http://www.videocodezone.com/users/cnr-slots96/>cnr slots http://www.videocodezone.com/users/hotel-casino-atlanti94/>hotel casino atlantic city http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9b25saW5lK2Nhc2lubytubytkZXBvcw__>online casino no depos http://www.videocodezone.com/users/slots-machine-online96/>slots machine online http://www.videocodezone.com/users/free-chipno-deposit-6/>free chipno deposit casinos http://www.videocodezone.com/users/station-casinos-in-l94/>station casinos in las vegas http://www.videocodezone.com/users/casinos-in-branson-m6/>casinos in branson mo http://www.videocodezone.com/users/harrahscasinoneworle6/>harrahscasinoneworlean http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9b25saW5lK2Nhc2lub2dhbWVz>online casinogames http://www.videocodezone.com/users/gambling-and-louisia94/>gambling and louisiana http://www.videocodezone.com/users/casinos-inatlantic-c94/>casinos inatlantic city http://www.videocodezone.com/users/el-dorado-casino-ren0/>el dorado casino reno nv http://www.videocodezone.com/users/horseshoe-tunica-cas62/>horseshoe tunica casino http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Y2FzaW5vK2dyYW5kK2NheW1lbg__>casino grand caymen http://www.videocodezone.com/users/free-offlinecasino94/>free offlinecasino http://www.videocodezone.com/users/casino-royale-hotel62/>casino royale hotel http://www.videocodezone.com/users/slots-in-las-vegas12/>slots in las vegas http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9YmVuZWZpdHMrb2YrY2FzaW5vK2dhbQ__>benefits of casino gam http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9cHJhaXJpZXNlZGdlY2FzaW5v>prairiesedgecasino http://www.videocodezone.com/users/the-casino-royale62/>the casino royale http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Y2FzaW5vK2FuZCtob3RlbCt0dW5pYw__>casino and hotel tunic http://www.videocodezone.com/users/gambling-in-davenpor6/>gambling in davenport iowa http://www.videocodezone.com/users/massachusetts-casino62/>massachusetts casinos http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Z2FtYmxpbmcrb25saW5lK2Nhc2lub3MrZ2V0K2ZyZQ__>gambling online casinos get fre http://www.videocodezone.com/users/free-multi-line-slot1/>free multi line slots http://www.videocodezone.com/users/borata-resort-casino6/>borata resort casino http://www.videocodezone.com/users/traversebaycasinos6/>traversebaycasinos http://www.videocodezone.com/users/trunp-plaza-casino62/>trunp plaza casino http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9c2xvdHMrZ2FtZXMrc29mdHdhcmU_>slots games software http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Y2FzaW5vK3Rlcm1pbm9sb2d5>casino terminology http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9YmxhY2tqYWNrK2FuZCtmdWxsK3NpemVkK2Nhc2lubytsYXlkb3ducw__>blackjack and full sized casino laydowns http://www.videocodezone.com/users/external-pci-slots57/>external pci slots http://www.videocodezone.com/users/las-vegas-sports-gam62/>las vegas sports gambling http://www.videocodezone.com/users/how-to-play-slots-an61/>how to play slots and win http://www.videocodezone.com/users/california-harrah-ca62/>california harrah casino http://www.videocodezone.com/users/seminolecasinos62/>seminolecasinos http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9aW5kaWFuY2FzaW5vK2NhbGlmb3JuaQ__>indiancasino californi http://www.videocodezone.com/users/gambling-probability94/>gambling probability http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9Z2FtYmxpbmcrY2FyYmVycnkrcm9iZQ__>gambling carberry robe http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9aG93K3RvK2JsYWNramFjaw__>how to blackjack http://www.videocodezone.com/users/gold-coast-casino-la6/>gold coast casino las vegas http://www.videocodezone.com/users/free-download-of-hoy82/>free download of hoyle blackjack http://www.videocodezone.com/users/pennsylvania-slots-b36/>pennsylvania slots benefits http://en.netlog.com/go/out/url=-aHR0cDovL25ld3Mub3JhbmdlcHVzc3kuY24vZ28ucGhwP3NpZD0yJnE9dmlkZW9zbWFya3NjYXNpbm8_>videosmarkscasino h
RE: Well HTTPS
Hi Ben, Thanks for your extraordinary post you really helped me out understand a lot about HTTPS ... i just wanted to ask >> what shall i do if i want a client (on a different machine) to access my restlet HTTPS configured Simple web server ?? please i need detailed steps/instructions on how to do it cuz i'm new to this ... shall i send him my .cer file ?? or only the public key ?? if so how can i retrieve it ? ... also what if want to make basic authentication to my resources using an encrypted username and password ? ... plz help and thanks in advance :) All the best Ben Johnson wrote: > > Hi > > I am new to Restlet and web programming, HTTP and SSL certificates in > general, but hopefully my recent experiences will help. I spent the last > several days trying to find a Restlet example using HTTPS (there isn't > one), and eventually pieced together the following (using Windows XP SP2 > with Java 6, Eclipse, Restlet 1.1.1): > > 1) Create your keys and certificate. I tried both 'keytool' and IBM's > KeyMan to do this (KeyMan is easier, but more work to obtain, as you need > to register, etc...). Using keytool from a command prompt you need to > enter two commands - the first one creates the keystore file with the > keys, the second certifies it (self-certification, ok for testing). The > most important thing is that the name of the machine you will be using the > certificate on matches what you specify (in the example below, my machine > is called 'serverX'): > > keytool -genkey -dname "CN=serverX, OU=IT, O=JPC, C=GB" -alias serverX > -keypass password -keystore serverX.cer -storepass password -keyalg "RSA" > -storetype "PKCS12" -provider sun.security.provider.Sun > > keytool -selfcert -alias serverX -keystore serverX.cer -storepass password > -storetype "PKCS12" > > The keystore file has now been created and self-certified: in this example > it is called 'serverX.cer' and was saved in the current directory. There > are two passwords: one for the keys and one to access the keystore. I set > them both to 'password' for testing. The name of the keystore file > ('serverX.cer') is not important, I just used that for consistency. > > 2) To prevent warnings in a browser, add the keystore to the 'Trusted Root > Certification Authorities' on your computer. In Windows XP, I just used > Internet Options (via IE7 or Control Panel - Internet Options). On the > 'Content' tab, click 'Certificates', then go to 'Trusted Root > Certification Authorities' tab, click 'Import...' and follow the steps to > import your keystore file (in my example, 'serverX.cer'). It will give > warnings about not being verified, which is ok for testing (but it must be > properly signed for production). > > 3) In order for Java security to recognise the certificate, it needs to be > added to \lib\security\cacerts, which is the Java certificates file. > This is important when you use a Restlet client to connect to the server > via HTTPS (but it did not seem to be needed by my browser - it needed the > IE options update described in point 2). On my system, 'cacerts' is > "C:\Program Files\Java\jre6\lib\security\cacerts". I had some trouble > adding my 'serverX' certificate to it, but the following keytool commands > work if you know the password for cacerts ('changeit' is the default I > believe): > > keytool -export -alias serverX -file serverX.jks -storetype "PKCS12" > -keystore serverX.cer -keypass password > keytool -import -alias serverX -file serverX.jks -noprompt -trustcacerts > -keystore "C:\Program Files\Java\jre6\lib\security\cacerts" > > The first command exports the certificate from PKCS12 format into X.509 > (JKS) format, which is what cacerts needs. In my case, I had to use > KeyMan to set the password for the 'cacerts' file (I set it back to the > default of 'changeit'), so when I ran 'keytool -import ...' I could enter > the correct password. There may be a better/easier way to do this. > > 4) In your Java Restlet server program, in addition to the standard > Restlet jar files, you also need jar files for HTTPS. The only HTTPS > connector I could get to work correctly was 'Simple', which uses these jar > files: > > lib/com.noelios.restlet.ext.simple_3.1.jar > lib/org.simpleframework_3.1/org.simpleframework.jar > lib/com.noelios.restlet.ext.ssl.jar > lib/org.jsslutils_0.5/org.jsslutils.jar > > (Grizzly compiled and ran, but gave inconsistent results - appeared to be > missing requests; Jetty threw an error saying it couldn't register > 'AjpServerHelper'). > > 5) Your Restlet server code should then look something like this: > > package com.jpc.samples; > > import org.restlet.Component; > import org.restlet.Server; > import org.restlet.data.Parameter; > import org.restlet.data.Protocol; > import org.restlet.util.Series; > > public class SampleServer { > > public static void main(String[] args) throws Exception { > // Create a new Component. > Component component = new Component();
RE: Re: Restlet firstResourceServlet example
Thierry Boileau: Thanks for your reply. I get more confused. I checked code, the uri was: http://localhost:8080/firstResourceServlet/items in the war file coming with tutorial. I don't know where http://localhost:8182/firstResource/items comes out in your response. Only the package was firstResource. thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=984684
Re: king 5 weather
Tigris really, really, REALLY needs to add a CAPTCHA to that form ... On Mon, Dec 15, 2008 at 6:52 PM, wrote: > spammity spam, o wonderful spam -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=984746