public abstract class AbstractXWikiAuthService extends Object implements XWikiAuthService
Constructor and Description |
---|
AbstractXWikiAuthService() |
Modifier and Type | Method and Description |
---|---|
protected Principal |
authenticateSuperAdmin(String password,
XWikiContext context) |
protected boolean |
isSuperAdmin(String username) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, checkAuth, checkAuth, showLogin
protected boolean isSuperAdmin(String username)
username
- the username to check for superadmin access. Examples: "xwiki:XWiki.superadmin",
"XWiki.superAdmin", "superadmin", etcprotected Principal authenticateSuperAdmin(String password, XWikiContext context)
password
- the superadmin password to check against the superadmin password located in XWiki's config filecontext
- the XWiki context object, allowing access to XWiki's configCopyright © 2004–2022 XWiki. All rights reserved.