Package com.xpn.xwiki.user.impl.xwiki
Class AppServerTrustedKerberosAuthServiceImpl
- java.lang.Object
-
- com.xpn.xwiki.user.impl.xwiki.AbstractXWikiAuthService
-
- com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
-
- com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
-
- All Implemented Interfaces:
XWikiAuthService
public class AppServerTrustedKerberosAuthServiceImpl extends XWikiAuthServiceImpl
Specialized version of theAppServerTrustedAuthServiceImpl
that extract usernames out of Kerberos principals.- Since:
- 2.6.2
- Version:
- $Id: 340f1169c37a2bf336173f7c06482ebeea8fb952 $
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
authenticators
-
-
Constructor Summary
Constructors Constructor Description AppServerTrustedKerberosAuthServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XWikiUser
checkAuth(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-
Methods inherited from class com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
authenticate, checkPassword, createUser, findUser, getAuthenticator, getParam, showLogin, stripContextPathFromURL
-
Methods inherited from class com.xpn.xwiki.user.impl.xwiki.AbstractXWikiAuthService
authenticateSuperAdmin, isSuperAdmin
-
-
-
-
Method Detail
-
checkAuth
public XWikiUser checkAuth(XWikiContext context) throws XWikiException
- Specified by:
checkAuth
in interfaceXWikiAuthService
- Overrides:
checkAuth
in classXWikiAuthServiceImpl
- Throws:
XWikiException
-
checkAuth
public XWikiUser checkAuth(String username, String password, String rememberme, XWikiContext context) throws XWikiException
Description copied from class:XWikiAuthServiceImpl
Method to authenticate and set the cookie from a username and password passed as parameters- Specified by:
checkAuth
in interfaceXWikiAuthService
- Overrides:
checkAuth
in classXWikiAuthServiceImpl
- Parameters:
username
- the user name for the user to authenticatepassword
- the password of the user to authenticatecontext
- the XWiki context object- Returns:
- null if the user is not authenticated properly
- Throws:
XWikiException
- in case of authentication error
-
-