summaryrefslogtreecommitdiffstats
path: root/java/coldfusion
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-25 23:47:46 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-25 23:47:46 +0000
commit641a6af75a8e0befddc5414065042bd71c9a97ad (patch)
tree8084096b08577886b87dab70e57be6217ec005d4 /java/coldfusion
parentbec8672cc57d9afa3da88aa7bf0e251d3b274b5c (diff)
downloadlasso-641a6af75a8e0befddc5414065042bd71c9a97ad.tar.gz
lasso-641a6af75a8e0befddc5414065042bd71c9a97ad.tar.xz
lasso-641a6af75a8e0befddc5414065042bd71c9a97ad.zip
Bindings: remove all SWIG bindings and SWIG related files
Diffstat (limited to 'java/coldfusion')
-rw-r--r--java/coldfusion/.cvsignore1
-rw-r--r--java/coldfusion/Makefile518
-rw-r--r--java/coldfusion/src/CFLassoSingleLogout.java101
-rw-r--r--java/coldfusion/src/CFLassoSingleSignOn.java160
-rw-r--r--java/coldfusion/web/assertionConsumer.cfm48
-rw-r--r--java/coldfusion/web/singleLogout.cfm40
-rw-r--r--java/coldfusion/web/singleSignOn.cfm21
7 files changed, 0 insertions, 889 deletions
diff --git a/java/coldfusion/.cvsignore b/java/coldfusion/.cvsignore
deleted file mode 100644
index eb5a316c..00000000
--- a/java/coldfusion/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-target
diff --git a/java/coldfusion/Makefile b/java/coldfusion/Makefile
deleted file mode 100644
index 2ee70e95..00000000
--- a/java/coldfusion/Makefile
+++ /dev/null
@@ -1,518 +0,0 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
-# java/coldfusion/Makefile. Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-srcdir = .
-top_srcdir = ../..
-
-pkgdatadir = $(datadir)/lasso
-pkglibdir = $(libdir)/lasso
-pkgincludedir = $(includedir)/lasso
-top_builddir = ../..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = /usr/bin/install -c
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-host_triplet = i686-pc-mingw32
-subdir = java/coldfusion
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/lasso/lasso_config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-exec-recursive install-info-recursive \
- install-recursive installcheck-recursive installdirs-recursive \
- pdf-recursive ps-recursive uninstall-info-recursive \
- uninstall-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = aclocal
-AMDEP_FALSE = #
-AMDEP_TRUE =
-AMTAR = ${SHELL} /home/eo/lasso/missing --run tar
-AR = ar
-AS = as
-AUTOCONF = autoconf
-AUTOHEADER = ${SHELL} /home/eo/lasso/missing --run autoheader
-AUTOMAKE = automake
-AWK = gawk
-CC = gcc -mno-cygwin
-CCDEPMODE = depmode=gcc3
-CFLAGS = -D_MSC_VER -DIN_LASSO -DMINGW -DWIN32 -D_WIN32 -I/usr/local/include
-CHECK_CFLAGS =
-CHECK_LIBS =
-CPP = gcc -mno-cygwin -E
-CPPFLAGS =
-CXX = g++
-CXXCPP = g++ -E
-CXXDEPMODE = depmode=gcc3
-CXXFLAGS = -g -O2
-CYGPATH_W = cygpath -w
-DEFS = -DHAVE_CONFIG_H
-DEPDIR = .deps
-DLLTOOL = dlltool
-ECHO = echo
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
-EGREP = grep -E
-EXEEXT = .exe
-F77 = g77
-FFLAGS = -g -O2
-GTK_DOC_CFLAGS =
-GTK_DOC_LIBS =
-HTML_DIR = ${datadir}/gtk-doc/html
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL}
-INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
-JAR = jar
-JAVA = gij
-JAVAC = gcj
-JAVAC_FLAGS = -C
-JAVAH = gcjh
-JAVAH_FLAGS = -jni
-JAVA_VERSION = 3.3.1
-LASSO_APP_DEFINES =
-LASSO_CFLAGS = -I${prefix}/include/lasso -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/xmlsec
-LASSO_CORE_CFLAGS = -I${prefix}/include/lasso
-LASSO_CORE_LIBS = -llasso-0
-LASSO_DEFINES =
-LASSO_DOCDIR = $(datadir)/doc/lasso
-LASSO_LIBS = -L${exec_prefix}/lib -L/usr/local/lib -lgobject-2.0-0 -lglib-2.0-0 -lintl -lxmlsec-openssl -lxmlsec -lxslt -lxml2 -lz -liconv
-LASSO_STATIC_BINARIES =
-LASSO_VERSION_INFO = 0:0:0
-LDFLAGS = -L/usr/local/lib
-LIBOBJS =
-LIBS =
-LIBTOOL = $(SHELL) $(top_builddir)/libtool
-LIBTOOL_DEPS = ./ltmain.sh
-LN_S = ln -s
-LTLIBOBJS =
-MAINT = #
-MAINTAINER_MODE_FALSE =
-MAINTAINER_MODE_TRUE = #
-MAKEINFO = ${SHELL} /home/eo/lasso/missing --run makeinfo
-MINGW_FALSE = #
-MINGW_TRUE =
-OBJDUMP = objdump
-OBJEXT = o
-PACKAGE = lasso
-PACKAGE_BUGREPORT = lasso-devel@lists.labs.libre-entreprise.org
-PACKAGE_NAME = Liberty Alliance Single Sign On
-PACKAGE_STRING = Liberty Alliance Single Sign On 0.3.0
-PACKAGE_TARNAME = liberty-alliance-single-sign-on
-PACKAGE_VERSION = 0.3.0
-PATH_SEPARATOR = :
-PKG_CONFIG = pkg-config
-PYTHON = python
-PYTHON_VERSION = 2.3
-RANLIB = ranlib
-RC = windres
-SD_LANG = java
-SET_MAKE =
-SHELL = /bin/bash
-STRIP = strip
-SWIG = swig
-SWIG_PYTHON_ARGS = -noproxy
-TAR = tar
-U =
-VERSION = 0.3.0
-WITH_PYTHON_FALSE =
-WITH_PYTHON_TRUE = #
-WITH_TESTS_FALSE =
-WITH_TESTS_TRUE = #
-ac_ct_AR = ar
-ac_ct_AS = as
-ac_ct_CC =
-ac_ct_CXX = g++
-ac_ct_DLLTOOL = dlltool
-ac_ct_F77 = g77
-ac_ct_OBJDUMP = objdump
-ac_ct_RANLIB = ranlib
-ac_ct_RC = windres
-ac_ct_STRIP = strip
-am__fastdepCC_FALSE = #
-am__fastdepCC_TRUE =
-am__fastdepCXX_FALSE = #
-am__fastdepCXX_TRUE =
-am__include = include
-am__leading_dot = .
-am__quote =
-bindir = ${exec_prefix}/bin
-build = i686-pc-cygwin
-build_alias =
-build_cpu = i686
-build_os = cygwin
-build_vendor = pc
-datadir = ${prefix}/share
-exec_prefix = ${prefix}
-host = i686-pc-mingw32
-host_alias = i686-pc-mingw32
-host_cpu = i686
-host_os = mingw32
-host_vendor = pc
-includedir = ${prefix}/include
-infodir = ${prefix}/info
-install_sh = /home/eo/lasso/install-sh
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localstatedir = ${prefix}/var
-mandir = ${prefix}/man
-mkdir_p = mkdir -p -- .
-oldincludedir = /usr/include
-prefix = /usr/local
-program_transform_name = s,x,x,
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-sysconfdir = ${prefix}/etc
-target_alias =
-NULL =
-SUBDIRS =
-TARGET = target
-
-#JAVAC=/usr/lib/kaffe/bin/javac
-#JAVAH=/usr/lib/kaffe/bin/javah
-#JAVAH_CLASSPATH_PREFIX=/usr/share/kaffe/Klasses.jar:
-#JAR=/usr/lib/kaffe/bin/jar
-JAVA_BUILD_DIR = ${TARGET}/classes
-JAVA_SOURCE_DIR = src
-JAVA_SOURCE = ${wildcard ${JAVA_SOURCE_DIR}/*.java}
-JAVA_CLASSES = ${basename ${notdir ${JAVA_SOURCE}}}
-LASSO_JAR = ${TARGET}/CFLasso.jar
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu java/coldfusion/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu java/coldfusion/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: # $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive:
- @set fnord $$MAKEFLAGS; amf=$$2; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || mkdir "$(distdir)/$$subdir" \
- || exit 1; \
- (cd $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="../$(top_distdir)" \
- distdir="../$(distdir)/$$subdir" \
- distdir) \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool \
- distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-exec-am:
-
-install-info: install-info-recursive
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-info-am
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
- clean clean-generic clean-libtool clean-recursive ctags \
- ctags-recursive distclean distclean-generic distclean-libtool \
- distclean-recursive distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-exec install-exec-am install-info \
- install-info-am install-man install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic maintainer-clean-recursive \
- mostlyclean mostlyclean-generic mostlyclean-libtool \
- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-info-am
-
-
-.PHONY: clean all binary-java
-
-all: binary-java
-
-binary-java:
- mkdir -p ${JAVA_BUILD_DIR}
- ${JAVAC} -classpath ../target/lasso.jar -d ${JAVA_BUILD_DIR} ${JAVA_SOURCE}
- ${JAR} cf ${LASSO_JAR} -C ${JAVA_BUILD_DIR} CFLasso.class
-
-clean:
- rm -rf ${TARGET} *~ *.log
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/java/coldfusion/src/CFLassoSingleLogout.java b/java/coldfusion/src/CFLassoSingleLogout.java
deleted file mode 100644
index a2bea08b..00000000
--- a/java/coldfusion/src/CFLassoSingleLogout.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * ColdFusionLasso -- ColdFusion bindings for Lasso library
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-
-import com.entrouvert.lasso.Identity;
-import com.entrouvert.lasso.lassoConstants;
-import com.entrouvert.lasso.lasso;
-import com.entrouvert.lasso.Logout;
-import com.entrouvert.lasso.SamlNameIdentifier;
-import com.entrouvert.lasso.Server;
-import com.entrouvert.lasso.Session;
-
-
-public class CFLassoSingleLogout {
- /* A simple service provider single logout */
-
- protected Logout logout = null;
- protected Server server = null;
-
- public String idpProviderId = null;
-
- public void buildRequestMsg() {
- logout.buildRequestMsg();
- }
-
- public void configure(String metadataPath, String privateKeyPath, String idpProviderId,
- String idpMetadataPath, String idpPublicKeyPath) {
- server = new Server(metadataPath, privateKeyPath, null, null);
- this.idpProviderId = idpProviderId;
- server.addProvider(lasso.PROVIDER_ROLE_IDP, idpMetadataPath, idpPublicKeyPath, null);
- logout = new Logout(server);
- }
-
- public String getIdentityDump() {
- Identity identity = logout.getIdentity();
- if (identity != null)
- return identity.dump();
- else
- return null;
- }
-
- public String getMsgBody() {
- return logout.getMsgBody();
- }
-
- public String getMsgUrl() {
- return logout.getMsgUrl();
- }
-
- public String getNameIdentifier() {
- SamlNameIdentifier nameIdentifier = logout.getNameIdentifier();
- if (nameIdentifier == null)
- return null;
- else
- return nameIdentifier.getContent();
- }
-
- public String getSessionDump() {
- Session session = logout.getSession();
- if (session != null)
- return session.dump();
- else
- return null;
- }
-
- public void initRequest() {
- logout.initRequest(idpProviderId, lassoConstants.HTTP_METHOD_ANY);
- }
-
- public void processResponseMsg(String responseMsg) {
- logout.processResponseMsg(responseMsg);
- }
-
- public void setIdentityFromDump(String identityDump) {
- logout.setIdentityFromDump(identityDump);
- }
-
- public void setSessionFromDump(String sessionDump) {
- logout.setSessionFromDump(sessionDump);
- }
-}
diff --git a/java/coldfusion/src/CFLassoSingleSignOn.java b/java/coldfusion/src/CFLassoSingleSignOn.java
deleted file mode 100644
index 1f161305..00000000
--- a/java/coldfusion/src/CFLassoSingleSignOn.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- * ColdFusionLasso -- ColdFusion bindings for Lasso library
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-
-/*
- * Simple wrapper for JLasso, to ease its use by ColdFusion applications.
- *
- * To compile it:
- * $ javac -classpath ../../lasso.jar *.java
- *
- * To test it:
- * $ export LD_LIBRARY_PATH=../../.libs/
- * $ java -classpath ../../lasso.jar:. CFLassoSingleSignOn
-
- *
- * To use it:
- * $ jar cf CFLasso.jar *.class
- * edit ColdFusion file bin/jvm.config:
- * - Add libjlasso.so directory to java.library.path variable.
- * - Add lasso.jar & CFLasso.jar to java.class.path variable.
- */
-
-import com.entrouvert.lasso.LibAuthnRequest;
-import com.entrouvert.lasso.Identity;
-import com.entrouvert.lasso.lassoConstants;
-import com.entrouvert.lasso.lasso;
-import com.entrouvert.lasso.Login;
-import com.entrouvert.lasso.SamlNameIdentifier;
-import com.entrouvert.lasso.Server;
-import com.entrouvert.lasso.Session;
-
-
-public class CFLassoSingleSignOn {
- /* A simple service provider single sign-on */
-
- protected Login login = null;
- protected Server server = null;
-
- public String idpProviderId = null;
-
- public void acceptSso() {
- login.acceptSso();
- }
-
- public void buildAuthnRequestMsg() {
- login.buildAuthnRequestMsg();
- }
-
- public void buildRequestMsg() {
- login.buildRequestMsg();
- }
-
- public void configure(String metadataPath, String privateKeyPath, String idpProviderId,
- String idpMetadataPath, String idpPublicKeyPath) {
- server = new Server(metadataPath, privateKeyPath, null, null);
- this.idpProviderId = idpProviderId;
- server.addProvider(lasso.PROVIDER_ROLE_IDP, idpMetadataPath, idpPublicKeyPath, null);
- login = new Login(server);
- }
-
- public String getIdentityDump() {
- Identity identity = login.getIdentity();
- if (identity != null)
- return identity.dump();
- else
- return null;
- }
-
- public String getMsgBody() {
- return login.getMsgBody();
- }
-
- public String getMsgRelayState() {
- return login.getMsgRelayState();
- }
-
- public String getMsgUrl() {
- return login.getMsgUrl();
- }
-
- public String getNameIdentifier() {
- SamlNameIdentifier nameIdentifier = login.getNameIdentifier();
- if (nameIdentifier == null)
- return null;
- else
- return nameIdentifier.getContent();
- }
-
- public String getSessionDump() {
- Session session = login.getSession();
- if (session != null)
- return session.dump();
- else
- return null;
- }
-
- public void initAuthnRequest(String relayState) {
- LibAuthnRequest authnRequest;
- String authnRequestUrl;
-
- login.initAuthnRequest(idpProviderId, lassoConstants.HTTP_METHOD_REDIRECT);
- authnRequest = (LibAuthnRequest) login.getRequest();
- authnRequest.setIsPassive(false);
- authnRequest.setNameIdPolicy(lassoConstants.LIB_NAMEID_POLICY_TYPE_FEDERATED);
- authnRequest.setConsent(lassoConstants.LIB_CONSENT_OBTAINED);
- if (relayState != null)
- authnRequest.setRelayState(relayState);
- }
-
- public void initRequest(String queryString) {
- login.initRequest(queryString, lassoConstants.HTTP_METHOD_REDIRECT);
- }
-
- static public void main(String [] args) {
- CFLassoSingleSignOn lasso = new CFLassoSingleSignOn();
- lasso.configure("../../../tests/data/sp2-la/metadata.xml",
- "../../../tests/data/sp2-la/private-key-raw.pem",
- "https://idp2/metadata",
- "../../../tests/data/idp2-la/metadata.xml",
- "../../../tests/data/idp2-la/public-key.pem");
- lasso.initAuthnRequest("data-to-get-back");
- lasso.buildAuthnRequestMsg();
- String ssoUrl = lasso.getMsgUrl();
- System.out.println("Test");
- System.out.print("Identity provider single sign-on URL = ");
- System.out.println(ssoUrl);
- }
-
- public void processResponseMsg(String responseMsg) {
- login.processResponseMsg(responseMsg);
- }
-
- public void setIdentityFromDump(String identityDump) {
- login.setIdentityFromDump(identityDump);
- }
-
- public void setSessionFromDump(String sessionDump) {
- login.setSessionFromDump(sessionDump);
- }
-}
diff --git a/java/coldfusion/web/assertionConsumer.cfm b/java/coldfusion/web/assertionConsumer.cfm
deleted file mode 100644
index d942318e..00000000
--- a/java/coldfusion/web/assertionConsumer.cfm
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>
- <head>
- <title>Lasso Assertion Consumer</title>
- </head>
- <body>
- <h1>Lasso Assertion Consumer</h1>
-<!--
- <cfdump var="#QUERY_STRING#">
- <cfobject type="java" name="sys" class="java.lang.System" action="create">
- <cfset properties=sys.getProperties()>
- <cfdump var="#properties#">
--->
- <cfobject action="create" type="Java" class="CFLassoSingleSignOn" name="lasso">
- <cfset lasso.init()>
- <cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
- <cfset lasso.initRequest(#QUERY_STRING#)>
- <cfset lasso.buildRequestMsg()>
- <cfset soapUrl=lasso.getMsgUrl()>
- <cfset soapBody=lasso.getMsgBody()>
- <cfset relayState=lasso.getMsgRelayState()>
-<!--
- <cfdump var="#soapUrl#">
- <cfdump var="#soapBody#">
--->
- <cfhttp method="POST" url="#soapUrl#">
- <cfhttpparam type="XML" name="body" value="#soapBody#">
- </cfhttp>
-<!--
- <cfdump var="#cfhttp.statuscode#">
- <cfdump var="#cfhttp.header#">
- <cfdump var="#cfhttp.fileContent#">
--->
- <cfset lasso.processResponseMsg(#cfhttp.fileContent#)>
- <cfset nameIdentifier=lasso.getNameIdentifier()>
- <!-- TODO: Retrieve identity dump and session dump in your users and sessions databases,
- using nameIdentifier to retrieve user and session. -->
- <!-- cfset lasso.setIdentityFromDump(#identityDump#) -->
- <!-- cfset lasso.setSessionFromDump(#sessionDump#) -->
- <cfset lasso.acceptSso()>
- <cfset identityDump=lasso.getIdentityDump()>
- <cfset sessionDump=lasso.getSessionDump()>
- <!-- TODO: Store identity dump and session dump into your users and sessions databases. -->
- <cfoutput>
- <p>User is now logged. RelayState = #relayState#</p>
- </cfoutput>
- </body>
-</html>
-
diff --git a/java/coldfusion/web/singleLogout.cfm b/java/coldfusion/web/singleLogout.cfm
deleted file mode 100644
index f7928250..00000000
--- a/java/coldfusion/web/singleLogout.cfm
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
- <head>
- <title>Lasso Single Logout</title>
- </head>
- <body>
- <h1>Lasso Single Logout</h1>
- <cfobject action="create" type="Java" class="CFLassoSingleLogout" name="lasso">
- <cfset lasso.init()>
- <cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
- <!-- TODO: Retrieve identity dump and session dump in your users and sessions databases. -->
- <!-- cfset lasso.setIdentityFromDump(#identityDump#) -->
- <!-- cfset lasso.setSessionFromDump(#sessionDump#) -->
- <cfset lasso.initRequest()>
- <cfset lasso.buildRequestMsg()>
- <cfset soapUrl=lasso.getMsgUrl()>
- <cfset soapBody=lasso.getMsgBody()>
-<!--
- <cfdump var="#soapUrl#">
- <cfdump var="#soapBody#">
--->
- <cfhttp method="POST" url="#soapUrl#">
- <cfhttpparam type="XML" name="body" value="#soapBody#">
- </cfhttp>
-<!--
- <cfdump var="#cfhttp.statuscode#">
- <cfdump var="#cfhttp.header#">
- <cfdump var="#cfhttp.fileContent#">
--->
- <cfset lasso.processResponseMsg(#cfhttp.fileContent#)>
- <cfset nameIdentifier=lasso.getNameIdentifier()>
- <cfset identityDump=lasso.getIdentityDump()>
- <cfset sessionDump=lasso.getSessionDump()>
- <!-- TODO: Store identity dump in your users database and remove session dump from sessions
- database. -->
- <cfoutput>
- <p>User is now unlogged.</p>
- </cfoutput>
- </body>
-</html>
-
diff --git a/java/coldfusion/web/singleSignOn.cfm b/java/coldfusion/web/singleSignOn.cfm
deleted file mode 100644
index 12a3181f..00000000
--- a/java/coldfusion/web/singleSignOn.cfm
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
- <head>
- <title>Lasso Single Sign-On</title>
- </head>
- <body>
- <h1>Lasso Single Sign-On</h1>
-<!--
- <cfobject type="java" name="sys" class="java.lang.System" action="create">
- <cfset properties=sys.getProperties()>
- <cfdump var="#properties#">
--->
- <cfobject action="create" type="Java" class="CFLassoSingleSignOn" name="lasso">
- <cfset lasso.init()>
- <cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
- <cfset lasso.initAuthnRequest("important-string")>
- <cfset lasso.buildAuthnRequestMsg()>
- <cfset ssoUrl=lasso.getMsgUrl()>
- <cfoutput><p>Identity provider single sing-on URL to redirect to = #ssoUrl#</p></cfoutput>
- <cflocation url=#ssoUrl#>
- </body>
-</html>