Skip to content

Instantly share code, notes, and snippets.

View gmazza's full-sized avatar

Glen Mazza gmazza

View GitHub Profile
@gmazza
gmazza / Roller51ThemeUpgrade.xsl
Created August 12, 2014 22:17
XSLT to update a Roller 4.0 or 5.0 theme descriptor (theme.xml) to Roller 5.1 format.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Converts a Roller 4.0/5.0 Theme Descriptor (theme.xml) to Roller 5.1 format.
Used for updating the many themes provided by roller-extras:
https://code.google.com/a/apache-extras.org/p/roller-extras/wiki/Themes
This stylesheet also removes empty <link/> tags, as they are not needed in 5.1.
If you have only a few themes, very easy to manually update instead of running XSLT,
// CXF WS-Trust calls using WS-SecureConversation between WSC and WSP instead of SAMLAssertion
// Results below via Wireshark (http://www.jroller.com/gmazza/entry/soap_calls_over_wireshark)
// Technical background : http://www.ibm.com/developerworks/java/library/j-jws15/index.html
// Tutorial: http://www.jroller.com/gmazza/entry/cxf_sts_tutorial
// First step, omitted here, is the WSC making a WSDL "GET" call on the STS, omitted here
// for brevity.)
// 1. SAML Token Request from WSC to STS
// Metro WS-Trust calls using WS-SecureConversation between WSC and WSP instead of SAMLAssertion
// Results below via Wireshark (http://www.jroller.com/gmazza/entry/soap_calls_over_wireshark)
// Technical background : http://www.ibm.com/developerworks/java/library/j-jws15/index.html
// Tutorial: http://www.jroller.com/gmazza/entry/metro_sts_tutorial
// First step is the Metadata-Exchange call to get the WSDL (omitted for brevity but see here:
https://gist.github.com/2790055#file_metro_wsc_metadata_request.xml for an example.)
// 1. SAML Token Request
@gmazza
gmazza / MyQuartzJobs.log
Last active June 25, 2017 17:50
Quartz Tutorial sample Quartz logging file
2017-06-25 13:46:35,271 [http-nio-8080-exec-11] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
2017-06-25 13:46:35,286 [http-nio-8080-exec-11] INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2017-06-25 13:46:35,286 [http-nio-8080-exec-11] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.3 created.
2017-06-25 13:46:35,287 [http-nio-8080-exec-11] INFO org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin - Registering Quartz Job Initialization Plug-in.
2017-06-25 13:46:35,288 [http-nio-8080-exec-11] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
2017-06-25 13:46:35,289 [http-nio-8080-exec-11] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'SOAPCallScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Num