urlsigner Code
Brought to you by:
a_j_moran
File | Date | Author | Commit |
---|---|---|---|
lib | 2010-02-27 | a_j_moran | [r1] initial project import |
src | 2010-02-27 | a_j_moran | [r1] initial project import |
test | 2010-02-27 | a_j_moran | [r2] multiple dsa keys keystore |
AUTHORS | 2010-02-27 | a_j_moran | [r1] initial project import |
COPYING | 2010-02-27 | a_j_moran | [r1] initial project import |
ChangeLog | 2010-02-27 | a_j_moran | [r1] initial project import |
README | 2010-02-27 | a_j_moran | [r1] initial project import |
build.xml | 2010-02-27 | a_j_moran | [r1] initial project import |
/** * "URL Signer" is distributed under the terms of the BSD license. in brief this states that you can freely * use this code, that modification to source is permitted but that distribution with or without modification * is only allowed if the original copyright and disclaimer are included. in addition it states that the * name(s) of contributor(s) may not be used to endorse products derived from "URL Signer" without written * permission. See full text below for details. * * Copyright * * Copyright (c) 2010, Alan Moran. All rights reserved. * * Distribution Conditions * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of conditions and the * following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the * following disclaimer in the documentation and/or other materials provided with the distribution. * * Neither the name of the Alan Moran nor the names of its contributors may be used to endorse or promote * products derived from this software without specific prior written permission. * * Disclaimer * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ URL Signer is a lighweight security tool written in Java by Alan Moran that permits clients ("senders") issuing URL requests to servers ("recipients") to do so secure in the knowledge that the request was issued from a legitimate source. URL Signer is appropriate for HTTP based interfaces that require a simple security infrastructure (i.e., it merely requires that sender and recipient used the same URL Signer JAR and a common key.) URL Signer can be safely used over HTTP or a HTTPS channel if additional TLS/SSL services are required. URL Signer is superfluous in environments that employ two-way TLS/SSL together with PKI. URL Signer can be invoked on the command line (e.g., from within a shell script) or programmatically via the URL Signer API.