ritocchi finali

Signed-off-by: Luca Fulchir <luca@fulchir.it>
parent 13525036
......@@ -7,11 +7,14 @@ PACKAGE_NAME="utils.jar"
LIBRARY="httpcore-4.2.2.jar httpclient-4.2.3.jar commons-io-2.4.jar"
SRC=${CWD}/jolie/net/
all: java install
all: ${BUILDDIR}/jolie/net/utils/Hmac.class ${BUILDDIR}/jolie/net/utils/HTTP.class
java: ${SRC}/utils/Hmac.java ${SRC}/utils/HTTP.java
${BUILDDIR}/jolie/net/utils/Hmac.class: ${SRC}/utils/Hmac.java
- mkdir -p ${BUILDDIR} 2>/dev/null
${JAVAC} -cp ${JOLIEDIR}/jolie.jar:${JARDIR}/commons-codec-1.6.jar -d ${BUILDDIR} jolie/net/utils/Hmac.java
${BUILDDIR}/jolie/net/utils/HTTP.class: ${SRC}/utils/HTTP.java
- mkdir -p ${BUILDDIR} 2>/dev/null
${JAVAC} -cp ${JOLIEDIR}/jolie.jar:${JARDIR}/httpcore-4.2.2.jar:${JARDIR}/httpclient-4.2.3.jar:${JARDIR}/commons-io-2.4.jar:${JARDIR}/commons-codec-1.6.jar:${JOLIEDIR}/extensions/http.jar:${JOLIEDIR}/lib/json_simple.jar -d ${BUILDDIR} jolie/net/utils/HTTP.java
......
......@@ -256,6 +256,7 @@ scope (earlyreturn) {
<title>Jolie OAuth1 auth page test</title>
</head>
<body>
<p>User: OAuthuser<br>Pass: OAuthpass</p>
<form action=\"/authenticate\" method=\"GET\">
User: <input type=\"text\" name=\"username\"><br>
Pass: <input type=\"password\" name=\"password\"><br>
......
......@@ -143,6 +143,7 @@ scope (earlyreturn) {
<title>Jolie OAuth2 auth page test</title>
</head>
<body>
<p>User: OAuthuser<br>Pass: OAuthpass</p>
<form action=\"/authorize\" method=\"GET\">
User: <input type=\"text\" name=\"username\"><br>
Pass: <input type=\"password\" name=\"password\"><br>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment