<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
On Jan 23, 2015, at 12:17 PM, Tomaž Cerar &lt;<a href="mailto:tomaz.cerar@gmail.com" class="">tomaz.cerar@gmail.com</a>&gt; wrote:<br class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">Other option would be to write proper WildFly extension which is bit more work.<br class="">
</div>
take a look at <a href="https://docs.jboss.org/author/display/WFLY8/Extending&#43;WildFly&#43;8" class="">
https://docs.jboss.org/author/display/WFLY8/Extending&#43;WildFly&#43;8</a><br class="">
for how to do that.<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">Perhaps I wasn’t clear in my original message. &nbsp;I have written a proper Wildfly extension. &nbsp;It uses a DeploymentProcessor to observe deployments and participates and in the management model to create/configure the services needed for the authentication
 and authorization mechanisms I wish to support.</div>
<div class=""><br class="">
</div>
<div class="">I am using an Undertow ServletExtension so that I can augment the authentication mechanisms supported by Undertow with my own mechanism.</div>
<div class=""><br class="">
</div>
<div class="">What I’m unclear on how to accomplish is how to get a reference to the services I have created in my Wildfly extension from within the implementation of my Undertow authentication mechanism and associated identity manager.</div>
<div class=""><br class="">
</div>
<div class="">Thanks for any tips/advice.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">—</div>
<div class="">Carl Harris</div>
<div class="">Chief Technology Architect</div>
<div class="">Virginia Tech</div>
</body>
</html>