<resin:AdminAuthenticator path="WEB-INF/admin-users.xml"/>
The format of the static file is as follows: <users> <user name="h.potter" password="quidditch" roles="user,captain"/> ... </users>
<users> <user name="h.potter" password="quidditch" roles="user,captain"/> ... </users>
245246247248249250251252253254255
try { thread.setContextClassLoader(_system.getClassLoader()); cdiManager = InjectManager.create(); AdminAuthenticator auth = null; if (_management != null) auth = _management.getAdminAuthenticator(); if (auth != null) {
505152535455565758
* Adds a user */ public XmlAuthenticator.User createUser() { if (_auth == null) _auth = new AdminAuthenticator(); return _auth.createUser(); }
469470471472473474475476477478479
if (log.isLoggable(Level.FINEST)) log.log(Level.FINEST, e.toString(), e); else log.finer(e.toString()); _adminAuth = new AdminAuthenticator(); } finally { thread.setContextClassLoader(oldLoader); } }
1236123712381239124012411242124312441245124612471248
_lifecycle.toActive(); logModules(); AdminAuthenticator adminAuth = getAdminAuthenticator(); if (adminAuth != null) adminAuth.initStore(); } catch (RuntimeException e) { log.log(Level.WARNING, e.toString(), e); _lifecycle.toError();
106107108109110111112113114
} public XmlAuthenticator.User createUser() { if (_auth == null) _auth = new AdminAuthenticator(); return _auth.createUser(); }
652653654655656657658659660661662663
return _broker; } public String getAdminCookie() { AdminAuthenticator auth = getAdminAuthenticator(); if (auth != null) return auth.getHash(); else return null; }
676677678679680681682683684685686
222223224225226227228229230231232
try { thread.setContextClassLoader(_server.getClassLoader()); webBeans = InjectManager.create(); AdminAuthenticator auth = null; if (_management != null) auth = _management.getAdminAuthenticator(); if (auth != null) {