//Get the chain from config
chain = new DefaultSAML2HandlerChain();
try
{
//Get the handlers
Handlers handlers = ConfigurationUtil.getHandlers(context.getResourceAsStream("/WEB-INF/jbid-handlers.xml"));
chain.addAll(HandlerUtil.getHandlers(handlers));
}
catch(Exception e)
{
throw new RuntimeException(e);