Skip to content

Instantly share code, notes, and snippets.

Warren Strange wstrange

Block or report user

Report or block wstrange

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wstrange / oracle
Created Sep 7, 2011
Oracle startup script
View oracle
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
# chkconfig: 35 80 30
# description: Oracle Database startup script
# Source function library.
View proxypassexample
# Example Apache config to reverse proxy /ui to a back end app
# Also uses LDAP authentication on /ui and sets the REMOTE_USER header to the uid
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
wstrange /
Created Oct 20, 2011
Startup script for Weblogic Admin domain and managed servers
# Start up script for a weblogic admin domain and associated service domains
# This is meant for demos and interactive usage
# A new gnome-terminal will be launched to show the output. You need
# X running
# Usage: domain servers..
# Example: IDMDomain wls_oif1
wstrange /
Created Nov 4, 2011
Runs the fedlet configurator
# Configure the fedlet
# remove the target
rm -fr ~/fedlet.old
mv ~/fedlet ~/fedlet.old
rm -f /var/tmp/metadata*
# Get the IDP meta data fresh from OIF
wstrange / config.json
Created Nov 5, 2013
OpenIG Sample config.json showing Tomcat form login
View config.json
"_comment" : "Sample OpenIG config for tomcat form login. Assumes tomcat samples are deployed to instance localhost:48080",
wstrange / openam-setcookie.jsp
Created Dec 15, 2013
Small JSP that sets cookies passed as parameters - then redirects to /openam. This is hack (dont ever use this for production - the cookies should not be sent as a param). This is used to show how another program can get an OpenAM Session token using the REST API and use it to SSO to OpenAM. Deploy this sample in the same container (same cookie …
View openam-setcookie.jsp
<%@page import="javax.servlet.http.Cookie"%>
<%@ page import = "java.util.Map" %>
<title>Set Cookie and redirect to openam</title>
Map<String, String[]> parameters = request.getParameterMap();
View logstash.conf
input {
file {
type => idmRecon
start_position => beginning
path => "/opt/openidm/audit/recon.csv"
file {
type => idmActivity
start_position => beginning
path => "/opt/openidm/audit/activity.csv"
View apache conf for OIDC module
OIDCProviderTokenEndpointAuth client_secret_post
#OIDCPublicKeyFiles /etc/apache2/pub.pem
OIDCSSLValidateServer Off
View designer.html
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
wstrange / logstash for OpenIDM OpenAM OpenDJ
Created Jul 31, 2014
logstash tes - openidm openam opendj
View logstash for OpenIDM OpenAM OpenDJ
input {
file {
type => idmRecon
# start_position => beginning
path => "/opt/openidm/audit/recon.csv"
file {
type => idmActivity
# start_position => beginning
path => "/opt/openidm/audit/activity.csv"
You can’t perform that action at this time.