public class GroovyAuthServiceImpl extends XWikiAuthServiceImpl
authenticators
Constructor and Description |
---|
GroovyAuthServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Principal |
authenticate(String username,
String password,
XWikiContext context) |
XWikiUser |
checkAuth(String username,
String password,
String rememberme,
XWikiContext context)
Method to authenticate and set the cookie from a username and password passed as parameters
|
XWikiUser |
checkAuth(XWikiContext context) |
XWikiAuthService |
getAuthService(XWikiContext context) |
protected String |
getParam(String name,
XWikiContext context) |
void |
showLogin(XWikiContext context) |
checkPassword, createUser, findUser, getAuthenticator, stripContextPathFromURL
authenticateSuperAdmin, isSuperAdmin
protected String getParam(String name, XWikiContext context)
getParam
in class XWikiAuthServiceImpl
public XWikiAuthService getAuthService(XWikiContext context)
public XWikiUser checkAuth(XWikiContext context) throws XWikiException
checkAuth
in interface XWikiAuthService
checkAuth
in class XWikiAuthServiceImpl
XWikiException
public XWikiUser checkAuth(String username, String password, String rememberme, XWikiContext context) throws XWikiException
XWikiAuthServiceImpl
checkAuth
in interface XWikiAuthService
checkAuth
in class XWikiAuthServiceImpl
username
- the user name for the user to authenticatepassword
- the password of the user to authenticatecontext
- the XWiki context objectXWikiException
- in case of authentication errorpublic void showLogin(XWikiContext context) throws XWikiException
showLogin
in interface XWikiAuthService
showLogin
in class XWikiAuthServiceImpl
XWikiException
public Principal authenticate(String username, String password, XWikiContext context) throws XWikiException
authenticate
in interface XWikiAuthService
authenticate
in class XWikiAuthServiceImpl
XWikiException
Copyright © 2004–2022 XWiki. All rights reserved.